home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lsi / cad / 1242 < prev    next >
Encoding:
Text File  |  1992-12-22  |  3.0 KB  |  71 lines

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