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.
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)
In reply to Andrew Beckett: