• 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. map instance hierarchy to cellname hierarchy

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 14467
  • 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

map instance hierarchy to cellname hierarchy

Pirate King
Pirate King over 5 years ago

Hello, I have successfully written a skill script to extract operating point data from all MOS from psf dcOp results over sweeps;

  It has columns of Device Vsat_marg Vds Vdd temperature <other sweeps>

The Device column is a instance hierarchy such as; /I74/I15/M6  and so on

I want to be able to filter out rows in this table for any MOS instances belonging to inverters, standard logic and cmos switches by grep ing out the selection but I don't know the cellnames these instances belong to. I would also like to know the MOS instance cellname

How do i map the instance hierarchy to a cellname hierarchy? This can be an extra column used for the filtering

Thanks

L

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    I think you'd have to open the top design and then find the instance at that level, switch into the view below, and repeat for each level. The info won't be in the simulation results or mapping data anywhere. If it's a simple view-switching, this shouldn't be too hard - it's a bit trickier if you've got a config, because the binding may be quite complicated to follow at each level (not impossible, but quite a bit of code).

    I don't think I have anything that does all this efficiently (and I'm sure it would benefit from caching some info along the way to avoid repeatedly starting from the top for each and every hierarchical path).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    I think you'd have to open the top design and then find the instance at that level, switch into the view below, and repeat for each level. The info won't be in the simulation results or mapping data anywhere. If it's a simple view-switching, this shouldn't be too hard - it's a bit trickier if you've got a config, because the binding may be quite complicated to follow at each level (not impossible, but quite a bit of code).

    I don't think I have anything that does all this efficiently (and I'm sure it would benefit from caching some info along the way to avoid repeatedly starting from the top for each and every hierarchical path).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • dragank
    dragank over 3 years ago in reply to Andrew Beckett

    This "view switching" is some kind similar to what I likely have to do.

    Is there some example available?

    Best regards,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to dragank

    Again, a duplicate question. See here.

    • 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