home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lsi.cad
- Path: sparky!uunet!deshaw.com!christos
- From: christos@deshaw.com (Christos Zoulas)
- Subject: Re: Parallel transistors in irsim
- Message-ID: <BznDwt.8sz@deshaw.com>
- Sender: usenet@deshaw.com
- Nntp-Posting-Host: prefect
- Organization: D. E. Shaw & Co.
- References: <9212211416.PN26316@LL.MIT.EDU> <1992Dec22.023221.1664@cs.cornell.edu>
- Date: Tue, 22 Dec 1992 06:26:52 GMT
- Lines: 58
-
- In article <1992Dec22.023221.1664@cs.cornell.edu> cchase@cs.cornell.edu (Craig Chase) writes:
- >killoran@ll.mit.edu (Mike Killoran) writes:
- >>We are trying to simulate a large chip (~700,000 transistors) with
- >>irsim. There are many (almost 7,000) parallel transistors making
- >>up the clock distribution cell. When simulating this chip, irsim
- >>gives the following complaint about all of the parallel transistors:
- >
- >>No problem, just edit conn_list.c, increase MAX_PARALLEL to 7000.
- >>Do the same in globals.h and then recompile. No problem. Right?
- >
- >We had the problem with parallel transistors as well and fixed it by
- >dynamically allocating the array and increasing its size as needed. What
- >follows is a context diff. The first diff (to cad_dir.c) Is not really
- >to your problem, but I include it anyway. (BTW, these fixes were done
- >by Christos Zoulas a couple years ago).
- >
- >Good luck,
- >mark linderman (linder@ee.cornell.edu)
- >
-
- Since I was mentioned in this posting :-), I have to say that I did
- send this fix to Arturo Salz two years ago and it never made it to the
- irsim distribution. I think that the patch Mark posted is backwards
- [patch will say that you need to apply -R]. It is missing a very
- important part. In net.h you'll need to change n_par to something
- larger than a character, otherwise you'll be indexing random values
- when the number of parallel transistors goes above 127. Here's a
- forward patch to that...
-
- I don't know if this is the latest version of irsim, maybe Mark can
- give us a clue about which version of irsim these patches are for, and
- the author can tell us which version of irsim he is running?
-
- Mark should also recompile irsim in the cad account :-)....
-
- G'night,
-
- christos
-
- *** net.h.orig Thu Sep 13 16:39:48 1990
- --- net.h Tue Dec 22 01:19:12 1992
- ***************
- *** 156,162 ****
- char ttype; /* type of transistor */
- char state; /* cache to remember current state */
- char tflags; /* transistor flags */
- ! char n_par; /* index into parallel list */
- Resists r; /* transistor resistances */
- long x, y; /* position in the layout (optional) */
- tptr tlink; /* next txtor in position hash table */
- --- 156,162 ----
- char ttype; /* type of transistor */
- char state; /* cache to remember current state */
- char tflags; /* transistor flags */
- ! unsigned short n_par; /* index into parallel list */
- Resists r; /* transistor resistances */
- long x, y; /* position in the layout (optional) */
- tptr tlink; /* next txtor in position hash table */
-