|
From: David F. <fa...@cs...> - 2005-04-22 01:03:33
|
Hi all, I'm trying to get a simple ring-oscillator example to work with ngspice on Mac OS X. (2005-04-21 CVS snapshot compiled and installed cleanly, incidentally, with the tips from earlier posts.) ngspice is having trouble reading a model file with MOSFET parameters that I've supplied. In particular, it's dying on "unrecognized parameters (level)", which I expected was a standard parameter. In the example snippet: "ring/ring.spice" includes "018.mod". Is there something elementary I've missed in the setup? I'm almost certain it's something simple... am I just using the wrong format? Let me know if there's more you need to know about my setup. Any help would be greatly appreciated, thanks! David ============ EXCERPT of "018.mod" MODEL PARAMETER FILE =================== * T44E SPICE BSIM3 VERSION 3.1 PARAMETERS * SPICE 3f5 Level 8, Star-HSPICE Level 49, UTMOST Level 8 * DATE: Jun 15/04 * LOT: T44E WAF: 3009 * Temperature_parameters=Default .MODEL CMOSN NMOS ( LEVEL = 49 +VERSION = 3.1 TNOM = 27 TOX = 4.1E-9 +XJ = 1E-7 NCH = 2.3549E17 VTH0 = 0.3725327 +K1 = 0.5933684 K2 = 2.050755E-3 K3 = 1E-3 -------------% snip %----------- <<< similar .model for CMOSP PMOS follows >>> ====================== PARTIAL TERMINAL TRANSCRIPT ======================= fang@macmac 1> ngspice ring/ring.spice Got 1 devices. Added device: spice2poly Got 0 udns. Got 17 devices. Added device: climit Added device: divide <<< etc... >>> -----------------------% snip %-------------------------- ****** ** ngspice-15 : Circuit level simulation program ** The U. C. Berkeley CAD Group ** Copyright 1985-1994, Regents of the University of California. ** Please submit bug-reports to: ngs...@li... ** Creation Date: Thu Apr 21 14:47:30 EDT 2005 ****** Circuit: * temperature file MIF: unrecognized parameter (level) - ignored MIF: unrecognized parameter (49) - ignored MIF: unrecognized parameter (xl) - ignored MIF: unrecognized parameter (0) - ignored MIF: unrecognized parameter (xw) - ignored MIF: unrecognized parameter (-1e-8) - ignored MIF: unrecognized parameter (level) - ignored MIF: unrecognized parameter (49) - ignored MIF: unrecognized parameter (xl) - ignored MIF: unrecognized parameter (0) - ignored MIF: unrecognized parameter (xw) - ignored MIF: unrecognized parameter (-1e-8) - ignored Error on line 18 : .model cmosn nmos ( level = 49 version = 3.1 tnom = 27 tox = 4.1e-9 xj = 1e-7 nch = 2.3549e17 vth0 = 0.3725327 k1 = 0.5933684 k2 = 2.050755e-3 k3 = 1e-3 k3b = 4.5116437 w0 = 1e-7 nlx = 1.870758e-7 dvt0w = 0 dvt1w = 0 dvt2w = 0 dvt0 = 1.3621338 dvt1 = 0.3845146 dvt2 = 0.0577255 u0 = < etc... > -----------------------% snip %-------------------------- 1.002968e-4 pketa = -2.906037e-3 ) <<< more errors follow for cmosp ... >>> |