Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadence > Re: SKILL Q: Gi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 3969 of 4373
Post > Topic >>

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
 




 4 Posts in Topic:
SKILL Q: Given a Name, How to Select a Pin in LE?
Edward <edward.dodge@[  2008-04-23 16:04:45 
Re: SKILL Q: Given a Name, How to Select a Pin in LE?
Riad KACED <riad.kaced  2008-04-23 17:02:16 
Re: SKILL Q: Given a Name, How to Select a Pin in LE?
Edward <edward.dodge@[  2008-04-23 18:40:01 
Re: SKILL Q: Given a Name, How to Select a Pin in LE?
Suresh Jeevanandam <su  2008-04-24 11:39:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 20:58:38 CST 2008.