techsan
Guest
Wed Nov 23, 2011 10:19 am
Hi guys...kindly help me with this..
I need a SKILL script to convert rectangular metal layers to path
across the layout block but condtion is that it
should not lose its existing netname after conversion.
mail: sandeep.v99_at_gmail.com
thx,
Sandeep
I-F AB
Guest
Fri Nov 25, 2011 9:01 am
Hi,
I don't have time for a complete solution but below is a script just
to create
path shapes in Virtuoso based on rectangular shapes.
I haven't found the command to remove shapes since I don't have time.
Also haven't had time to try net property creation.
Layer has to be specified beforehand.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;; specify layer first
LYR = "MET1"
CV = geGetEditCellView()
Rects = setof(x CV~>shapes x~>objType=="rect")
foreach( y Rects
;;;;;;;;;;;;;;;; get net property of 'y' here
;;;;;;;;;;;;;;;; maybe use 'NET = y~>net'
MIDY = 0.5*(topEdge(y)+bottomEdge(y))
W = topEdge(y)-bottomEdge(y)
PATH = dbCreatePath(CV LYR list( leftEdge(y):MIDY
rightEdge(y):MIDY ) W)
;;;;;;;;;;;;;;;;; set net of 'PATH' here
;;;;;;;;;;;;;;;; maybe use 'PATH~>net = y~>net'
;;;;;;;;;;;;;;;; delete 'y' object here
;;;;;;;;;;;;;;;; ???
) ;end foreach loop
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Best Regards,
I-FAB