getting the list of cellviews in hierarchy

R

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
 
On Tue, 28 Mar 2006 09:12:16 +0530, Rajeswaran M
<m_rajeswaran@DELETETHISyahoo.com> wrote:

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

Welcome to EDABoard.com

Sponsor

Back
Top