write instance pin connections to a file

R

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
 
Hi Rick,

I have put together an example in a previous thread:
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/f2b92ec3b1f9ad84/2d82eef5daafe296?q=instTerm+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.
 
On Sep 6, 2:04 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Rick,

I have put together an example in a previous thread:http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/...

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.
Hi Riad - Excellent routine!!!! Just curious, what search terms
did you use? ...I was not able to find anything

Thanks for the pointer!!!!

Rick
 
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.
 

Welcome to EDABoard.com

Sponsor

Back
Top