Home > Community > Forums > Custom IC SKILL > How to copy those cellname in lower level to top level ?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to copy those cellname in lower level to top level ? 

Last post Thu, Mar 27 2014 8:50 PM by Charley Chen. 2 replies.
Started by Charley Chen 26 Mar 2014 11:23 PM. Topic has 2 replies and 838 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Mar 26 2014 11:23 PM

    How to copy those cellname in lower level to top level ? Reply

    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 

    • Post Points: 20
  • Thu, Mar 27 2014 8:18 PM

    • tweeks
    • Top 50 Contributor
    • Joined on Fri, Jun 3 2011
    • Irvine, CA
    • Posts 181
    • Points 2,790
    Re: How to copy those cellname in lower level to top level ? Reply

    Charley Chen:
    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

    • Post Points: 20
  • Thu, Mar 27 2014 8:50 PM

    Re: How to copy those cellname in lower level to top level ? Reply

    Tom , 

     Thank you for good hits , I will try it.

    Charley 

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Charley Chen at 26 Mar 2014 11:23 PM. Topic has 2 replies.