Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

locating all layout pins via skill

1,071 views
Skip to first unread message

danmc

unread,
Oct 20, 2010, 11:20:30 AM10/20/10
to
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

Andrew Beckett

unread,
Nov 7, 2010, 7:09:05 AM11/7/10
to
danmc wrote, on 10/20/10 16:20:

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: ne...@netfront.net ---

0 new messages