getting the list of cellviews in hierarchy

Discussion in 'Cadence' started by Rajeswaran M, Mar 28, 2006.

  1. Rajeswaran M

    Rajeswaran M Guest

    Hi,

    I have seen the functions which would hierarchically traverse, and get
    the list of cell views. But is there any function to traverse through
    the pcell also. I have a pcell which will not have any instances when it
    was created, but based on the input parameters it will choose the
    required cell. None of the existing of hier traverse functions, is able
    to get these cells. However it is possible to access from the top cell,
    using the following method,

    TOPCELL~>instances~>master~>instances

    Regards
    Rajeswaran
     
    Rajeswaran M, Mar 28, 2006
    #1
  2. I'm not sure why hierarchy traversal functions couldn't do this, unless they
    were specifically re-opening the cellView (and so would get the supermaster
    rather than the submaster).

    Something like:

    procedure(MyGetAllCellViews(cellView @optional cvList))
    unless(member(cellView cvList)
    cvList=cons(cellView cvList)
    foreach(master cellView~>instanceMasters
    cvList=MyGetAllCellViews(master cvList)
    )
    )
    cvList
    )

    That was written off the top of my head, whilst off-line, so I couldn't easily
    check that the code is OK.

    Andrew.
     
    Andrew Beckett, Mar 31, 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.