locating all layout pins via skill

D

danmc

Guest
Is there a simple way with skill to locate and determine the bounding
box for all layout pins in virtuoso? I'm mostly interested in
locating shape pins but would like to be able to also locate symbolic
pins.

Can this be done in a PDK-independent way or would I need to somehow
get the list of PDK symbolic pins into the skill code?

Thanks
-Dan
 
danmc wrote, on 10/20/10 16:20:
Is there a simple way with skill to locate and determine the bounding
box for all layout pins in virtuoso? I'm mostly interested in
locating shape pins but would like to be able to also locate symbolic
pins.

Can this be done in a PDK-independent way or would I need to somehow
get the list of PDK symbolic pins into the skill code?

Thanks
-Dan
Dan,

cv=geGetEditCellView()
foreach(term cv~>terminals
foreach(pin term~>pins
; below makes sure it works with both IC5141 and IC61
; because in IC61 you can have multiple figures on the pin figure:
foreach(fig pin~>figs || list(pin~>fig)
printf("Term: %L BBOX: %L\n" term~>name fig~>bBox)
)
)
)

Note this is not thoroughly tested - but this should work with both symbolic and
shape pins (because the fig can be an instance or a shape, both of which will
have a bBox attribute).

Regards,

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
 

Welcome to EDABoard.com

Sponsor

Back
Top