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