finding pin Types using Skill

Discussion in 'Cadence' started by kamal, Jul 5, 2006.

  1. kamal

    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, Jul 5, 2006
    #1
  2. kamal

    DReynolds Guest

    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
     
    DReynolds, Jul 7, 2006
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.