Home > Community > Forums > Custom IC SKILL > hierarchial summary

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 hierarchial summary 

Last post Mon, Sep 3 2012 6:55 AM by Andrew Beckett. 5 replies.
Started by deep242003 05 May 2012 10:31 AM. Topic has 5 replies and 1755 views
Page 1 of 1 (6 items)
Sort Posts:
  • Sat, May 5 2012 10:31 AM

    • deep242003
    • Not Ranked
    • Joined on Wed, Sep 15 2010
    • banglore, Karnataka
    • Posts 13
    • Points 200
    hierarchial summary Reply

    I want to derive hirerchial summary of a layout(instance names and mosaics. dbGetTrueOverlaps() gives the data in form of layers(please correct if I am missing anything).

    while dbProduceOverlapIns() has no hierarchial option .

     

    Any suggestion or hint willl be of great help.

     

    • Post Points: 20
  • Sat, May 5 2012 3:18 PM

    Re: hierarchial summary Reply
    Are you trying to find the instances in a particular region of the layout, or in the complete layout? It just seemed a slightly odd requirement to find all the hierarchical instances in just a portion of the layout, so thought I'd better ask you to clarify.

    Andrew
    • Post Points: 20
  • Sat, May 5 2012 11:09 PM

    • deep242003
    • Not Ranked
    • Joined on Wed, Sep 15 2010
    • banglore, Karnataka
    • Posts 13
    • Points 200
    Re: hierarchial summary Reply
    i need for the whole layout.. even if i can make for small area,i can use ~>bBox to aply for whole layout. i m looking sth similar to lehisummary() but needs hierarchial dta rather than only current layout.
    • Post Points: 20
  • Sun, May 6 2012 3:32 PM

    Re: hierarchial summary Reply

    Using a region query is kind of overkill in that case. You could just write a recursive function to do this - there have been many examples of similar things on this forum before. Since you want instance information, something like:

    procedure(MyUntestedLayoutInfo(@optional (cv geGetEditCellView()) (depth 0))
      let((format)
        foreach(inst cv~>instances
          sprintf(format "%%%ds%%s %%s\n" depth)
          printf(format "" inst~>name inst~>cellName)
          MyUntestedLayoutInfo(inst~>master depth+1)
        )
        t
      )
    )

    Needs a bit of work to handle mosaics (and as the function name suggests, I wrote this off the top of my head and didn't test it)

    Hope that helps,

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Aug 28 2012 2:21 AM

    • nonyann
    • Not Ranked
    • Joined on Tue, Aug 28 2012
    • Posts 1
    • Points 20
    Re: hierarchial summary Reply

    Hello Andrew,

     I'm curious, how to save the hierarchical summary file into certain directory?

    Thanks,

    Nony

    • Post Points: 20
  • Mon, Sep 3 2012 6:55 AM

    Re: hierarchial summary Reply

    You'd need to use fprintf() instead of printf() in the code, and pass in an open file handle (as produced by outfile()).

    Andrew.

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by deep242003 at 05 May 2012 10:31 AM. Topic has 5 replies.