Re: SKILL Q: Given a Name, How to Select a Pin in LE?
by Suresh Jeevanandam <sureshj@[EMAIL PROTECTED]
>
Apr 24, 2008 at 11:39 AM
Edward wrote:
> Hi All,
>
> I have a (lengthy) list of pins I want to select in the layout
> editor. But rather than finding and clicking each one or trying to
> find the correct regex with the Search command, I'd like to use some
> SKILL to select each layout pin by name.
>
> I imagine it has something to do with the dbFindTermByName command.
> But I can't seem to find the magic that leads me to the corresponding
> pin-geometry object in layout.
>
> Edward
Edward,
term = dbFindTermByName(cv "AVSS")
pins = term~>pins
figs = term~>pins~>fig
This must be faster than going through every shape in the cellview.
If you want to use regular expression or any other conditional selection
of pins:
terms = setof( term cv~>terminals rexMatchp("PATTERN" term~>name))
foreach(term terms
pins = term~>pins
figs = term~>pins~>fig
; something here
)
Regards,
Suresh