finding pin Types using Skill

K

kamal

Guest
Hi,

I have a symbol view of a design and I want to find the pin Type
associated with each pin using some skill function.
Its like if i am in the GUI mode , then just by clicking on a pin and
querying for properties , i can know whether its an output or input or
inout pin .
Can I find the same thing using some SKill Function ?

Thanks & Regards,
Kamal
 
Kamal, everything in cadence is kept in the database, and it is
relatively easy to pull it out with simple queries.

Open a symbol you want to know about:

type cv =geGetEditRep()

this returns the pointer to the cell

cv~>terminals

this returns the list of terminals

cv~>terminals~>?

this returns the list of next level items in the database

cv~>terminals~>direction

this returns the directions of the terminals in the cell

hope this helps

David

kamal wrote:
Hi,

I have a symbol view of a design and I want to find the pin Type
associated with each pin using some skill function.
Its like if i am in the GUI mode , then just by clicking on a pin and
querying for properties , i can know whether its an output or input or
inout pin .
Can I find the same thing using some SKill Function ?

Thanks & Regards,
Kamal
 

Welcome to EDABoard.com

Sponsor

Back
Top