• 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. Flattening a design

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 145
  • Views 15813
  • 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

Flattening a design

thomas1000
thomas1000 over 12 years ago

I want to flatten a design COMPLETELY.  I am using the  leFlattenInst(...) routine to do the flattening with 31 levels and flattening the instances and mosaics so that should be enough to get them all but to be safe, but do I need to go back and somehow check to see if everything is flattened and then I somehow need make the routine recursive or does leFlattenInst(...) do that for me?

 If it needs to be recursive, how can I check to see if I am done?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I can't see why it would not flatten everything or why you'd need to make it recursive. Of course, I'm assuming you're telling it to flatten pcells too - but assuming that, it should work. You could always check with cvId~>instances to see if there are any remaining, but I can't see why you would need to.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • thomas1000
    thomas1000 over 12 years ago

    Thanks, that was the answer I had hoped for.  Yes, I am telling it to flatten pcells too.  Just wanted to be sure it was covered. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 12 years ago

     Dear Andrew,

    Just add to one more query to thi post:-

    Is it possible to flatten an instance/pcell and do some checking and then revert back to the original one ( non-flattened one i.e. to bring the inst/pcell to its original condition) in SKILL.

    Kind Regards,

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I probably wouldn't do this - but maybe you can do an hiUndo to undo the change?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Why do you need to flatten it in order to do some checks? Can't you do the checks by looking at the contents of the pcell (i.e. the instId~>master)?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • theopaone
    theopaone over 12 years ago

    Can you enlighten us with what you are trying to do? Flattening may not be the best solution for your actual problem. Especially if you have to un-flatten after your check.

     Ted

    • 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