write instance pin connections to a file

Discussion in 'Cadence' started by rick, Sep 4, 2009.

  1. rick

    rick Guest

    I need to dump the system query results which lists the pin
    connections of an instance. Is there a way to do this?

    Thanks
     
    rick, Sep 4, 2009
    #1
  2. rick

    Riad KACED Guest

    Hi Rick,

    I have put together an example in a previous thread:
    http://groups.google.com/group/comp...erm+author:Riad+author:Kaced#2d82eef5daafe296

    This is a snippet.

    procedure( RKconnectivityExample( libName cellName viewName "ttt" )
    let((cv)
    cv=dbOpenCellViewByType(libName cellName viewName)
    when(cv
    foreach( inst cv~>instances
    printf( "Instance %s:\n" inst~>name )
    foreach( instTerm inst~>instTerms
    printf( " -> instTerm \"%s\" connected to net \"%s\".\n"
    instTerm~>name instTerm~>net~>name
    )
    )
    )
    )
    t
    )
    )

    In order to print into a file, you just need to open a port using
    'outfile' and then use fprintf instead of printf.

    Assuming I have understood your question ...

    Cheers,
    Riad.
     
    Riad KACED, Sep 6, 2009
    #2
  3. rick

    rick Guest

    Hi Riad - Excellent routine!!!! Just curious, what search terms
    did you use? ...I was not able to find anything

    Thanks for the pointer!!!!

    Rick
     
    rick, Sep 8, 2009
    #3
  4. rick

    Riad KACED Guest

    Hi Rick,

    I'm using this usenet through the Google Groups.
    I usually use the Google Advanced search http://groups.google.com/advanced_search?q=&
    As shown in the link I have provided, I filled-in the following for
    the search as I knew I commented this a while back :
    instTerm+author:Riad+author:Kaced

    Cheers,
    Riad.
     
    Riad KACED, Sep 15, 2009
    #4
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.