Home > Community > Forums > Custom IC SKILL > SKILL code to change text/net name in extract mode

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: *

 SKILL code to change text/net name in extract mode 

Last post Sun, Feb 24 2013 9:30 AM by Venky20. 2 replies.
Started by Lior D 18 Dec 2011 08:45 AM. Topic has 2 replies and 2135 views
Page 1 of 1 (3 items)
Sort Posts:
  • Sun, Dec 18 2011 8:45 AM

    • Lior D
    • Not Ranked
    • Joined on Sun, Feb 27 2011
    • Posts 5
    • Points 70
    SKILL code to change text/net name in extract mode Reply

    Hello all.

    I've got extract view (for generating netlist from layout) generated by Synopsys StarRC.

    There is a problem, which causes certain net names to be uppercase (when in the layout and in the subcircuit interface are lowercase).

    I want to find all net names in the extract view, and workaround the problem (by changing them to lowercase, via a certain flow).

    Trying to find labels, as done in layout view yielded 0 matches (using setof).

    I am using IC 6.1.5 500.7

    Any feedback is more than welcome.

    -Lior

    • Post Points: 20
  • Tue, Dec 20 2011 3:57 AM

    Re: SKILL code to change text/net name in extract mode Reply

    Lior,

    You could do something along these lines (completely untested, but shows the principles maybe):

    foreach(net cv~>nets
      newNet=dbMakeNet(cv lowerCase(net~>name)
      dbMergeNet(newNet net)
    )
    dbSetConnCurrent(cv)

    Note there is no checks in here to see if the new net exists already - so if you're creating shorts (might want to use dbCreateNet instead of dbMakeNet).

    Also, I suspect the problem is really that you need the terminals to be renamed, not the nets. Terminals are more straightforward, as you can just change the names of the terminals directly:

    foreach(term cv~>terminals term~>name=lowerCase(term~>name))
    dbSetConnCurrent(cv)

    Regards,

    Andrew.

     

    • Post Points: 20
  • Sun, Feb 24 2013 9:30 AM

    • Venky20
    • Not Ranked
    • Joined on Sun, Feb 24 2013
    • Toronto, Ontario
    • Posts 1
    • Points 5
    Re: SKILL code to change text/net name in extract mode Reply
    Hi Andrew,

    I am  a new SKILL user and would appreciate some help with regards to a problem i have. Basically i wanted to change all terminal names to lower case in all levels of my design, and i did try the above code snippet and it worked great for the cellview which was open. Could you kindly advise on how it can be done for all levels of a design, just by opening the top-level schematic view? A code snippet would be great.


    Thanks,
    Venkatesh
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Lior D at 18 Dec 2011 08:45 AM. Topic has 2 replies.