home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lsi / cad / 939 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.7 KB  |  68 lines

  1. Newsgroups: comp.lsi.cad
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!csus.edu!netcom.com!netcom!mjohnson
  3. From: mjohnson@netcom.Netcom.COM (Mark Johnson)
  4. Subject: Re: HSPICE to Berkeley SPICE Translator
  5. Message-ID: <MJOHNSON.92Sep8132155@netcom.Netcom.COM>
  6. Date: Tue, 08 Sep 92 21:21:55 GMT
  7. Organization: Netcom Online Communications Service
  8. In-Reply-To: kjm9e@csissun8.ee.Virginia.EDU's message of 8 Sep 92 17:45:24 GMT
  9. References: <1992Sep8.174524.212@murdoch.acc.Virginia.EDU>
  10. Distribution: usa
  11. Lines: 55
  12.  
  13. In article <1992Sep8.174524.212@murdoch.acc.Virginia.EDU> kjm9e@csissun8.ee.Virginia.EDU writes:
  14.    > Does anybody have a translator that converts HSPICE
  15.    > files to Berkeley SPICE files?
  16.  
  17.  
  18. In general it's a huge problem.  You probably need to
  19. select which subsets of the HSPICE realm you are interested
  20. in, and translate those.  While omitting the other features
  21. of HSPICE that are not present in UCB codes.
  22.  
  23. For example,
  24.  
  25.    (1)  HSPICE supports many more semiconductor device
  26.         models than UCB.  One of them (Level=28) is
  27.         quite good, and quite opaque.  If you have
  28.         "HSPICE models" for a fab technology, and those
  29.         models are level=28, and you want to use
  30.         Berkeley SPICE, you're up a stump.
  31.  
  32.    (2)  HSPICE has a macro-language facility via ".PARAM"
  33.         statements.  Parameters can be passed into subcircuits.
  34.         (you can define an RC filter subckt and pass in the
  35.         values of R and C from the subcircuit call).
  36.  
  37.    (3)  HSPICE has a facility called the ".DATA" statement,
  38.         which Berkeley spice doesn't have.  This allows
  39.         multiply nested re-simulations at user chosen
  40.         conditions.
  41.  
  42.    (4)  HSPICE has an optimization facility, Berkeley does
  43.         not.
  44.  
  45.    (5)  HSPICE will print out (the main diagonal of) the
  46.         capacitance table for your entire circuit, including
  47.         the nonlinear junction capacitances.  UCB won't.
  48.  
  49.    (6)  HSPICE has generalized dependent sources, intended
  50.         for macromodelling.  UCB doesn't.  Among the more
  51.         useful features are "MAX" and "MIN" ; these let
  52.         you make an opamp-like element that has gain of
  53.         2E6, but will not put out more than +15V or less
  54.         than -17V.
  55.  
  56.    (7)  HSPICE has tons of built-in models of electromagnetic
  57.         transmission lines, which take as their parameters
  58.         the physical geometry (rather than the electrical
  59.         quantities-per-unit-length).  UCB, doesn't.
  60.  
  61. There are more, but that's the general flavor.  A full
  62. translator that accepts any and every HSPICE valid input,
  63. producing a valid and correct UCB SPICE "deck", is intractably
  64. ugly.  So you need to pick and choose a minimal subset
  65. that makes your life easier if not pushbutton-automatic.
  66.  
  67.  -- MJ
  68.