HSPICE level 49 model in LTSPICE

...Jim Thompson

--
|  James E.Thompson, P.E.                           |    mens     |
|  Analog Innovations, Inc.                         |     et      |
|  Analog/Mixed-Signal ASIC\'s and Discrete Systems  |    manus    |
|  Phoenix, Arizona            Voice:(480)460-2350  |             |
|  E-mail Address at Website     Fax:(480)460-2142  |  Brass Rat  |
|       http://www.analog-innovations.com           |    1962     |
             
I love to cook with wine.      Sometimes I even put it in the food.
Reply to
Jim Thompson
Loading thread data ...

HI, I have a level 49 MOSFET model for HSPICE and I want to use it in LSPICE. How I do it, step by step? I mean I'm new in LTSPICE and I've no idea how to modify mos parameters. Thank you very much, this is the model:

T2AL SPICE BSIM3 VERSION 3.1 PARAMETERS

SPICE 3f5 Level 8, Star-HSPICE Level 49, UTMOST Level 8

  • DATE: Dec 24/02
  • LOT: T2AL WAF: 9097
  • Temperature_parameters=Default .MODEL CMOSN NMOS ( LEVEL = 49
+VERSION = 3.1 TNOM = 27 TOX = 5.7E-9 +XJ = 1E-7 NCH = 2.3549E17 VTH0 = 0.3629974 +K1 = 0.4575801 K2 = 3.777103E-3 K3 = 1E-3 +K3B = 2.1285077 W0 = 1E-7 NLX = 2.566772E-7 +DVT0W = 0 DVT1W = 0 DVT2W = 0 +DVT0 = 0.4410745 DVT1 = 0.5607111 DVT2 = -0.5 +U0 = 283.7466924 UA = -1.512942E-9 UB = 2.828199E-18 +UC = 4.052586E-11 VSAT = 1.712274E5 A0 = 1.802127 +AGS = 0.3383318 B0 = -4.355263E-8 B1 = 2.940336E-7 +KETA = -8.525889E-3 A1 = 3.839165E-4 A2 = 0.3783843 +RDSW = 116 PRWG = 0.5 PRWB = -0.2 +WR = 1 WINT = 0 LINT = 7.857463E-9 +XL = 3E-8 XW = -4E-8 DWG = -1.151403E-8 +DWB = 2.244996E-9 VOFF = -0.0961811 NFACTOR = 1.6310941 +CIT = 0 CDSC = 2.4E-4 CDSCD = 0 +CDSCB = 0 ETA0 = 4.759601E-3 ETAB = 5.691679E-4 +DSUB = 0.0250141 PCLM = 1.7583943 PDIBLC1 = 1 +PDIBLC2 = 2.632885E-3 PDIBLCB = -0.0949444 DROUT = 0.864547 +PSCBE1 = 4.980812E8 PSCBE2 = 5.390143E-9 PVAG = 0 +DELTA = 0.01 RSH = 4.5 MOBMOD = 1 +PRT = 0 UTE = -1.5 KT1 = -0.11 +KT1L = 0 KT2 = 0.022 UA1 = 4.31E-9 +UB1 = -7.61E-18 UC1 = -5.6E-11 AT = 3.3E4 +WL = 0 WLN = 1 WW = 0 +WWN = 1 WWL = 0 LL = 0 +LLN = 1 LW = 0 LWN = 1 +LWL = 0 CAPMOD = 2 XPART = 0.5 +CGDO = 5.8E-10 CGSO = 5.8E-10 CGBO = 1E-12 +CJ = 1.734041E-3 PB = 0.9831575 MJ = 0.4564239 +CJSW = 3.534854E-10 PBSW = 0.99 MJSW = 0.3271049 +CJSWG = 3.29E-10 PBSWG = 0.99 MJSWG = 0.3271049 +CF = 0 PVTH0 = -0.01 PRDSW = -10 +PK2 = 3.209664E-3 WKETA = 3.06252E-3 LKETA = -0.0100074 ) *

This message was sent using the sci.electronics.design web interface on

formatting link

Reply to
le_chiffre

er... In Spice3/XSpice its level=8.

Kevin Aylward snipped-for-privacy@anasoft.co.uk

formatting link
SuperSpice, a very affordable Mixed-Mode Windows Simulator with Schematic Capture, Waveform Display, FFT's and Filter Design.

Reply to
Kevin Aylward

----- Original Message ----- From: "le_chiffre" Newsgroups: sci.electronics.design Sent: Wednesday, September 28, 2005 3:26 PM Subject: HSPICE level 49 model in LTSPICE

Hello,

This model will never run in any SPICE. The model-statement has to start with a period "." . .MODEL CMOSN NMOS ( ....

It's done like in any SPICE. Include the model in your circuit. Name the transistor CMOSN like your model's name and add a length and width parameter to your transistor.

Which parameter do you want to change?

LTspice accepts the model as it is! You have to change nothing on this model.

Below is a netlist from my test circuit.

There is a user group for LTspice with hundreds of examples.

formatting link

Best regards, Helmut

PS: Has "le_chiffre" at least a first name?

  • F:\Programme\Ltc\SwCADIII\Draft37.asc M1 N001 N001 0 0 CMOSN l=.2u w=2u V1 N001 0 2 .model NMOS NMOS .model PMOS PMOS .lib F:\PROGRAMME\LTC\SWCADIII\lib\cmp\standard.mos
  • DATE: Dec 24/02
  • LOT: T2AL WAF: 9097
  • Temperature_parameters=Default .MODEL CMOSN NMOS ( LEVEL = 49
+VERSION = 3.1 TNOM = 27 TOX = 5.7E-9 +XJ = 1E-7 NCH = 2.3549E17 VTH0 = 0.3629974 +K1 = 0.4575801 K2 = 3.777103E-3 K3 = 1E-3 +K3B = 2.1285077 W0 = 1E-7 NLX = 2.566772E-7 +DVT0W = 0 DVT1W = 0 DVT2W = 0 +DVT0 = 0.4410745 DVT1 = 0.5607111 DVT2 = -0.5 +U0 = 283.7466924 UA = -1.512942E-9 UB = 2.828199E-18 +UC = 4.052586E-11 VSAT = 1.712274E5 A0 = 1.802127 +AGS = 0.3383318 B0 = -4.355263E-8 B1 = 2.940336E-7 +KETA = -8.525889E-3 A1 = 3.839165E-4 A2 = 0.3783843 +RDSW = 116 PRWG = 0.5 PRWB = -0.2 +WR = 1 WINT = 0 LINT = 7.857463E-9 +XL = 3E-8 XW = -4E-8 DWG = -1.151403E-8 +DWB = 2.244996E-9 VOFF = -0.0961811 NFACTOR = 1.6310941 +CIT = 0 CDSC = 2.4E-4 CDSCD = 0 +CDSCB = 0 ETA0 = 4.759601E-3 ETAB = 5.691679E-4 +DSUB = 0.0250141 PCLM = 1.7583943 PDIBLC1 = 1 +PDIBLC2 = 2.632885E-3 PDIBLCB = -0.0949444 DROUT = 0.864547 +PSCBE1 = 4.980812E8 PSCBE2 = 5.390143E-9 PVAG = 0 +DELTA = 0.01 RSH = 4.5 MOBMOD = 1 +PRT = 0 UTE = -1.5 KT1 = -0.11 +KT1L = 0 KT2 = 0.022 UA1 = 4.31E-9 +UB1 = -7.61E-18 UC1 = -5.6E-11 AT = 3.3E4 +WL = 0 WLN = 1 WW = 0 +WWN = 1 WWL = 0 LL = 0 +LLN = 1 LW = 0 LWN = 1 +LWL = 0 CAPMOD = 2 XPART = 0.5 +CGDO = 5.8E-10 CGSO = 5.8E-10 CGBO = 1E-12 +CJ = 1.734041E-3 PB = 0.9831575 MJ = 0.4564239 +CJSW = 3.534854E-10 PBSW = 0.99 MJSW = 0.3271049 +CJSWG = 3.29E-10 PBSWG = 0.99 MJSWG = 0.3271049 +CF = 0 PVTH0 = -0.01 PRDSW = -10 +PK2 = 3.209664E-3 WKETA = 3.06252E-3 LKETA = -0.0100074 +)
  • .dc V1 0 2 .01 .backanno .end
Reply to
Helmut Sennewald

Thank You Helmut, but I have a few more questions :

That's my question! How I include the model??? I tried opening standard.mos and pasting the model at the end, but I'm not sure if this is the right way.

How can I do that?

Yes, of course he has. It's Iñaki. Do you know how to pronnunciate it?

PS: Excuse my poor english This message was sent using the sci.electronics.design web interface on

formatting link

Reply to
le_chiffre

Hello Inaki,

Here are the instructions to use a MOS-model in LTspice.

Don't add models to standard.mos.

Using MOS-models in LTspice

---------------------------

  1. Add symbol "nmos4" to your schematic.

  1. RightMouseClick on the text NMOS and change it to your model´name, e.g. CMOSN.

  2. RighMouseClick on the symbol body, a dialog appears to enter L, W and other parameters.

  1. Ctrl--RightMouseClick on the symbol body allows to make parameters visible on the schematic.

  2. Add a SPICE-directive to include your model file. .include cmos200.lib

Ignore the very few warnings about parameters.

I have attached the schematic file "cmosn_test2.asc" and the model file "cmos200.lib". Keep both files in the same directory.

Best regards, Helmut

Save this text in a file named cmosn_test2.asc

Version 4 SHEET 1 1180 1236 WIRE 16 -48 16 -112 WIRE 16 96 16 32 WIRE 176 -112 16 -112 WIRE 176 16 176 -112 WIRE 224 16 176 16 WIRE 272 -64 272 -112 WIRE 272 48 272 32 WIRE 272 96 272 48 WIRE 304 -16 272 -16 WIRE 304 48 272 48 WIRE 304 48 304 -16 WIRE 512 -112 272 -112 WIRE 512 -48 512 -112 WIRE 512 96 512 32 FLAG 16 96 0 FLAG 512 96 0 FLAG 272 96 0 SYMBOL nmos4 224 -64 R0 WINDOW 3 98 72 Left 0 WINDOW 123 98 100 Left 0 SYMATTR Value CMOSN SYMATTR Value2 l=.2u w=2u SYMATTR InstName M1 SYMBOL voltage 16 -64 R0 SYMATTR InstName V1 SYMATTR Value 1 SYMBOL voltage 512 -64 R0 SYMATTR InstName V2 SYMATTR Value 2 TEXT 14 -188 Left 0 !.dc V1 0 2 .01 TEXT 16 -248 Left 0 !.include cmos200.lib TEXT 24 -328 Left 0 ;Using MOS-models in LTspice

Save this text in a file named cmos200.lib

  • DATE: Dec 24/02
  • LOT: T2AL WAF: 9097
  • Temperature_parameters=Default .MODEL CMOSN NMOS ( LEVEL = 49
+VERSION = 3.1 TNOM = 27 TOX = 5.7E-9 +XJ = 1E-7 NCH = 2.3549E17 VTH0 = 0.3629974 +K1 = 0.4575801 K2 = 3.777103E-3 K3 = 1E-3 +K3B = 2.1285077 W0 = 1E-7 NLX = 2.566772E-7 +DVT0W = 0 DVT1 = 0 DVT2W = 0 +DVT0 = 0.4410745 DVT1 = 0.5607111 DVT2 = -0.5 +U0 = 283.7466924 UA = -1.512942E-9 UB = 2.828199E-18 +UC = 4.052586E-11 VSA = 1.712274E5 A0 = 1.802127 +AGS = 0.3383318 B0 = -4.355263E-8 B1 = 2.940336E-7 +KETA = -8.525889E-3 A = 3.839165E-4 A2 = 0.3783843 +RDSW = 116 PRWG = 0.5 PRWB = -0.2 +WR = 1 WINT = 0 LINT = 7.857463E-9 +XL = 3E-8 XW = -4E-8 DWG = -1.151403E-8 +DWB = 2.244996E-9 VOFF = -0.0961811 NFACTOR = 1.6310941 +CIT = 0 CDSC = 2.4E-4 CDSCD = 0 +CDSCB = 0 ETA0 = 4.759601E-3 ETAB = 5.691679E-4 +DSUB = 0.0250141 PCL = 1.7583943 PDIBLC1 = 1 +PDIBLC2 = 2.632885E-3 PDIBLC = -0.0949444 DROUT = 0.864547 +PSCBE1 = 4.980812E8 PSCBE2 = 5.390143E-9 PVAG = 0 +DELTA = 0.01 RSH = 4.5 MOBMOD = 1 +PRT = 0 UTE = -1.5 KT1 = -0.11 +KT1L = 0 KT2 = 0.022 UA1 = 4.31E-9 +UB1 = -7.61E-18 UC1 = -5.6E-11 AT = 3.3E4 +WL = 0 WLN = 1 WW = 0 +WWN = 1 WWL = 0 LL = 0 +LLN = 1 LW = 0 LWN = 1 +LWL = 0 CAPMOD = 2 XPART = 0.5 +CGDO = 5.8E-10 CGSO = 5.8E-10 CGBO = 1E-12 +CJ = 1.734041E-3 PB = 0.9831575 MJ = 0.4564239 +CJSW = 3.534854E-10 PBSW = 0.99 MJSW = 0.3271049 +CJSWG = 3.29E-10 PBSWG = 0.99 MJSWG = 0.3271049 +CF = 0 PVTH0 = -0.01 PRDSW = -10 +PK2 = 3.209664E-3 WKETA = 3.06252E-3 LKETA = -0.0100074) *
Reply to
Helmut Sennewald

Hello Inaki,

It seems I made a mistake when I edited my previously posted model file. I have added the correct version.

Save this text in a file named cmos200.lib

  • Temperature_parameters=Default .MODEL CMOSN NMOS ( LEVEL = 49
+VERSION = 3.1 TNOM = 27 TOX = 5.7E-9 +XJ = 1E-7 NCH = 2.3549E17 VTH0 = 0.3629974 +K1 = 0.4575801 K2 = 3.777103E-3 K3 = 1E-3 +K3B = 2.1285077 W0 = 1E-7 NLX = 2.566772E-7 +DVT0W = 0 DVT1W = 0 DVT2W = 0 +DVT0 = 0.4410745 DVT1 = 0.5607111 DVT2 = -0.5 +U0 = 283.7466924 UA = -1.512942E-9 UB = 2.828199E-18 +UC = 4.052586E-11 VSAT = 1.712274E5 A0 = 1.802127 +AGS = 0.3383318 B0 = -4.355263E-8 B1 = 2.940336E-7 +KETA = -8.525889E-3 A1 = 3.839165E-4 A2 = 0.3783843 +RDSW = 116 PRWG = 0.5 PRWB = -0.2 +WR = 1 WINT = 0 LINT = 7.857463E-9 +XL = 3E-8 XW = -4E-8 DWG = -1.151403E-8 +DWB = 2.244996E-9 VOFF = -0.0961811 NFACTOR = 1.6310941 +CIT = 0 CDSC = 2.4E-4 CDSCD = 0 +CDSCB = 0 ETA0 = 4.759601E-3 ETAB = 5.691679E-4 +DSUB = 0.0250141 PCLM = 1.7583943 PDIBLC1 = 1 +PDIBLC2 = 2.632885E-3 PDIBLCB = -0.0949444 DROUT = 0.864547 +PSCBE1 = 4.980812E8 PSCBE2 = 5.390143E-9 PVAG = 0 +DELTA = 0.01 RSH = 4.5 MOBMOD = 1 +PRT = 0 UTE = -1.5 KT1 = -0.11 +KT1L = 0 KT2 = 0.022 UA1 = 4.31E-9 +UB1 = -7.61E-18 UC1 = -5.6E-11 AT = 3.3E4 +WL = 0 WLN = 1 WW = 0 +WWN = 1 WWL = 0 LL = 0 +LLN = 1 LW = 0 LWN = 1 +LWL = 0 CAPMOD = 2 XPART = 0.5 +CGDO = 5.8E-10 CGSO = 5.8E-10 CGBO = 1E-12 +CJ = 1.734041E-3 PB = 0.9831575 MJ = 0.4564239 +CJSW = 3.534854E-10 PBSW = 0.99 MJSW = 0.3271049 +CJSWG = 3.29E-10 PBSWG = 0.99 MJSWG = 0.3271049 +CF = 0 PVTH0 = -0.01 PRDSW = -10 +PK2 = 3.209664E-3 WKETA = 3.06252E-3 LKETA = -0.0100074) *

"Helmut Sennewald" schrieb im Newsbeitrag news:dhhha6$c3s$00$ snipped-for-privacy@news.t-online.com...

Reply to
Helmut Sennewald

Thank you very much Helmut, it ran smooth & fine... Now I can finally do my homework!

Best regards, Iñaki This message was sent using the sci.electronics.design web interface on

formatting link

Reply to
le_chiffre

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.