Re: How to get a cell list of one library in skill?
- From: Suresh Jeevanandam <sureshj@xxxxxxxxxxxxxxxx>
- Date: Wed, 16 Aug 2006 15:47:31 +0530
Joffre,
Unless you have any special reason to have the list of cell names in the text file, It is easier to loop through all the cells in a library this way:
libName = "myLibName"
foreach(cellId ddGetObj(libName)->cells
foreach(viewId cellId->views
;Do processing here:
; cv = dbOpenCellViewByType(libName cellId->name viewId->name)
printf("Processing %s %s %s\n" libName cellId->name viewId->name)
)
)
regards,
Suresh
tech11 wrote:
Hi,.
I'm one novice to skill and wanna write one code to open the cells in some library one by one, but I don't know how to get a cell list.
Firstly I get all the cell name in one file 'a1' and keep every one a line. This's my code below:
inPort=infile("a1")
when(inPort
while(gets(oneline inPort)
cvId=deOpenCellView("lib1" oneline "schematic" "" list(0:0 700:800) "r")
hiCloseWindow(cvId1)
)
)
close(inPort)
My meaning is to open the cell one by one and check the warning to find the missing masters.
But I get some output:
*WARNING* ddGetObj: cell name 'test
' is not a legal cell name.
Maybe it recognize the whole line as one item while including spaces. How should I do to check all the cells in one library as one list? either how to check if one library is clean, that is, there's no any missing cells used by the library.
Have a good day!
B.R.
Joffre
- Prev by Date: Re: spectremdl and measuring in ac
- Next by Date: Re: How to have the IBM_PDK menu on the layout window
- Previous by thread: Re: Help ! How to modify a ROD MPP's subparts property(such as : layer) by SKILL ?
- Next by thread: how to extract pad coordinates and names
- Index(es):
Relevant Pages
|
|