[SI-LIST] Re: SPICE model extensions

  • From: "Lynne D. Green" <lgreen22@xxxxxxxxxxxxxx>
  • To: "'Mohamad Haghtalab'" <mohaghtalab@xxxxxxxxx>, <si-list@xxxxxxxxxxxxx>
  • Date: Mon, 1 Sep 2008 16:01:01 -0700

Hello, Mohamad,

INC files are included as lines in the SPICE file.  In other words, the
entire INC file replaces the one INC line.  The file extension is typically
inc or mod, as in "include1.inc" or "include2.mod".  The LIB statement works
the same way; model library files often have an extension of .lib.

The other extensions you list apply to SPICE netlist files.  A tool's
"standard" extension can be left off when sending the file to simulation.
As you noted, one can use "hspice x.sp" or "hspice x" with the same results.
Other SPICE flavors use .cir, .spc, or other extensions in the same way.

If one uses a personal preferred extension, such as cir, with a tool such as
HSPICE,, the only requirement is to submit it with the full file name, such
as "hspice x.cir".  (Of course, one should also double-check that the model
parameters and parameter names are correct for the selected simulator.)

"Model" is used for many things.  A "macromodel" is a model built from other
components.  Also, "model" can refer to an "element" provided with the
simulator, or the parameters and equations that define that model, or the
parameter values for a specific component.  Circuit designers sometimes call
a circuit netlist a model.  (NOTE: model parameters and parameter values are
generally NOT portable between SPICE flavors.)

Regards,
Lynne


"IBIS training when you need it, where you need it."
Next public IBIS seminar is Oct 9-10 in Fremont, CA.

Dr. Lynne Green
Green Streak Programs
http://www.greenstreakprograms.com
425-788-0412
lgreen22@xxxxxxxxxxxxxx



-----Original Message-----
From: si-list-bounce@xxxxxxxxxxxxx [mailto:si-list-bounce@xxxxxxxxxxxxx] On
Behalf Of Mohamad Haghtalab
Sent: Monday, September 01, 2008 7:32 AM
To: si-list@xxxxxxxxxxxxx
Subject: [SI-LIST] SPICE model extensions

Hi all
 
I have many files that are called Spice model files,*.sp
(HSPICE),*.cir,*.spc,*.inc .....
 
What's the differece between them?,for example between spice macro model and
other type of spice models?
 
what's the application of each type?
 
Thanks and Regards 
  

------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

or to administer your membership from a web page, go to:
//www.freelists.org/webpage/si-list

For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field


List technical documents are available at:
                http://www.si-list.net

List archives are viewable at:     
                //www.freelists.org/archives/si-list
or at our remote archives:
                http://groups.yahoo.com/group/si-list/messages
Old (prior to June 6, 2001) list archives are viewable at:
                http://www.qsl.net/wb6tpu
  

Other related posts: