• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. how to retrieve the hierarchy tree from a design

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 17238
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to retrieve the hierarchy tree from a design

Derek WANG
Derek WANG over 10 years ago

Hi All

I am trying to right a skill script to record the hierarchy tree from a design, and also record the design version of every used instance view.

I have managed to do the second the part, but still struggle with the first one.

I have read the post from skillprogrammer and Andrew Bechkett

http://community.cadence.com/cadence_technology_forums/f/48/t/26647

The "CCSschTree.il" is a nice code, unfortunately, it is not what I want.

As in the output of "CCSschTree.il", the view type of every sub-blocks is "symbol"

this is reasonable, as the "symbol" of each sub-blocks is indeed used in the upper level schematic.

but on the other hand, this is not the cellview used for simulation.

In the GUI of cadence, the info I need is locates in the "config" cellview, and shown by the "Virtuoso Hierarchy Editor". mainly in the "View to Use" column.

I'd like to know, is there a good way to retrieve such info?


Thanks a lot.

Best Reards

Yi

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Hi Yi,

    Both CCSschTree() and CCShdbSchTree() do this already if you pass the ?displaySwitchedView t argument. For example:

    CCShdbSchTree(?libName "opamp090" ?cellName "adc" ?viewName "config" ?displaySwitchedView t)
     gpdk090 resm2 symbol R0 [schematic]
       gpdk090 primRes2 symbol R0 [spectre]
     opamp090 adc_64comparators symbol ADC_64COMPARATORS [schematic]
       opamp090 adc_comparator_array_actr symbol I8 [schematic]
         gpdk090 resnsppoly symbol R16 [schematic]
           gpdk090 primRes3 symbol R0 [spectre]
         gpdk090 resnsppoly symbol R17 [schematic]
           gpdk090 primRes3 symbol R0 [spectre]
         gpdk090 resnsppoly symbol R18 [schematic]
           gpdk090 primRes3 symbol R0 [spectre]
         gpdk090 resnsppoly symbol R19 [schematic]
           gpdk090 primRes3 symbol R0 [spectre]
         gpdk090 resnsppoly symbol R20 [schematic]
           gpdk090 primRes3 symbol R0 [spectre]
         gpdk090 resnsppoly symbol R21 [schematic]

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Derek WANG
    Derek WANG over 10 years ago

    Hi Andrew


    Thank you for the quick reply.

    I am sorry that I did not notice such characteristic of the CCSschTree() and CCShdbSchTree()

    it's really glad to know I can get the cellview of the simulation.

    I would continue my code based on CCSschTree() and CCShdbSchTree()

    Best Regards

    Yi

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information