• 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 Design
  3. How to flatten layout cells and preserve pin names when...

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 126
  • Views 19732
  • 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 flatten layout cells and preserve pin names when pin names from different cells are the same

twen
twen over 9 years ago

I am using virtuoso version 6.1.6-64b 12/07/2015 20:18 (sjfbm186) .

Suppose I have a top level cell T, and T contains two cells A and B, and there are a pin called P in both A and B. When I flatten cells A and B by gui (Preserve pins, preserve ROD Objects) to by foreach(s list(dbA dbB) dbFlattenInst(s 1 t t t t t t t)), the pin P in cell A is brought up into cell T without any problem. However, the label on pin P in cell B is renamed to something like dbNet032. I see this can be useful in certain cases, but it is not what I want.

Is there anyway that I can flatten A and B and brought up the pin P to cell T and keep both pins' label as it was?

Thanks in advance,

TJ

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

    The problem is that you passed "" as the fifth argument to abFlattenInst. That will break the code completely, because it means that it tries to rename each net to the same name it is already - the whole point is that it temporarily renames the nets with a suffix (default called "_abFlatTmp") to avoid a clash, flattens, and then merges them back afterwards. The temporary name no longer exists at the end - so you should not have to specify this at all except in the unlikely event that you already have nets/terms with the suffix "_abFlatTmp".

    The comments at the top of the code also suggest you can ignore the suffix comment.

    By specifying the suffix as "", nothing gets renamed, and hence you end up with the clash still every time it tries to flatten.

    I ran:

    foreach(sel geGetSelSet() abFlattenInst(sel 1 t t))

    and that worked fine.

    Regards,

    Andrew.

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

    The problem is that you passed "" as the fifth argument to abFlattenInst. That will break the code completely, because it means that it tries to rename each net to the same name it is already - the whole point is that it temporarily renames the nets with a suffix (default called "_abFlatTmp") to avoid a clash, flattens, and then merges them back afterwards. The temporary name no longer exists at the end - so you should not have to specify this at all except in the unlikely event that you already have nets/terms with the suffix "_abFlatTmp".

    The comments at the top of the code also suggest you can ignore the suffix comment.

    By specifying the suffix as "", nothing gets renamed, and hence you end up with the clash still every time it tries to flatten.

    I ran:

    foreach(sel geGetSelSet() abFlattenInst(sel 1 t t))

    and that worked fine.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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