• 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 copy those cellname in lower level to top level ...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 13438
  • 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 copy those cellname in lower level to top level ?

Charley Chen
Charley Chen over 11 years ago

Dear All , 

I have a large layout design , it contains more than 600 thousands cells in different 4 libraries,

I want to search some  cellname and want to copy those cellname  to the top level.

I know the cellname list , How to write the code ? 

 

Thank you for help.

Charley 

  • Cancel
Parents
  • tweeks
    tweeks over 11 years ago

    Charley Chen said:
    How to write the code ?

    Why, using the SKILL IDE of course! :)

     

    But seriously though...  Here's one strategy that, while not particularly efficient, has the virtue of being relatively straightforward to implement:

    1. Use dbProduceOverlapInst() on the layout cellview bBox to find all instances and their hierarchical paths.

    2. Filter out the instances you are interested in by examining their cellnames.

    3. Use dbCopyFig() in conjunction with dbGetHierPathTransform() to copy the instances to the top level.

    If dbProduceOverlapInst() consumes too much memory, it's not really difficult to just walk the hierarchy and make a list of only the instances you want to bring up, along with their hierPaths--or don't even bother making a list at all: just copy them up as you find them!

      --tom

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tweeks
    tweeks over 11 years ago

    Charley Chen said:
    How to write the code ?

    Why, using the SKILL IDE of course! :)

     

    But seriously though...  Here's one strategy that, while not particularly efficient, has the virtue of being relatively straightforward to implement:

    1. Use dbProduceOverlapInst() on the layout cellview bBox to find all instances and their hierarchical paths.

    2. Filter out the instances you are interested in by examining their cellnames.

    3. Use dbCopyFig() in conjunction with dbGetHierPathTransform() to copy the instances to the top level.

    If dbProduceOverlapInst() consumes too much memory, it's not really difficult to just walk the hierarchy and make a list of only the instances you want to bring up, along with their hierPaths--or don't even bother making a list at all: just copy them up as you find them!

      --tom

    • 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