home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.cad.cadence
- Path: sparky!uunet!timbuk.cray.com!walter.cray.com!baritone!toma
- From: toma@baritone (Thomas Arneberg {66642 CF/DEV})
- Subject: Re: getting all cellviews
- Message-ID: <1993Jan12.162202.11747@walter.cray.com>
- Lines: 24
- Nntp-Posting-Host: baritone.cray.com
- Organization: Cray Research, Inc.
- References: <1993Jan12.172646.14372@venus.ic.cmc.ca>
- Date: 12 Jan 93 16:22:02 CST
-
- In article <1993Jan12.172646.14372@venus.ic.cmc.ca> pas@jupiter.ic.cmc.ca writes:
- >In Cadence 4.2 skill, how might one go about
- >getting a list of all cells in a library?
-
- I think the following should work. (I can't check for sure, 'cuz I can't
- get Cadence running right now [I'm in the middle of 4.2.1 upgrade].)
-
- ;### Print the names of all cells, given a library name:
- (procedure showcells(libname)
- (let ( libid cellid ) ; (let is faster than prog)
- libid = dbOpenLib(libname "" "" "r") ; open lib for reading
- (foreach cellid libid~>sortedCells
- printf("%s\n", cellid~>name)
- )
- )
- )
-
- - Tom A.
- ---------------------------------------------+------------------------------
- ;-) I'd rather be ____ Thomas R. Arneberg | Internet: toma@cray.com
- :-) singing in a |____| Senior IC Design Eng.| UUCP: ...!uunet!cray!toma
- :-) Barbershop _| _| Cray Research, Inc. | CLAIM TO FAME: Loni Anderson
- :-) Quartet! (_) (_) Chippewa Falls, Wisc.| went to my high school
- ---------------------------------------------+------------------------------
-