|
From: Paul Z. <pau...@gm...> - 2014-07-08 01:20:18
|
Check the following code in inpdomod.c (ngspice version 25)
-------------------------------------------------
case 8: case 49:
err = INPfindVer(line, ver);
if ( strcmp(ver, "3.0") == 0 ) {
type = INPtypelook("BSIM3v0");
}
if ( strcmp(ver, "3.1") == 0 ) {
type = INPtypelook("BSIM3v1");
}
if ( prefix("3.2", ver)) { /* version string ver has to start with 3.2
*/
type = INPtypelook("BSIM3v32");
}
if ( (strstr(ver, "default")) || (prefix("3.3", ver)) ) {
type = INPtypelook("BSIM3");
}
if (type < 0) {
err = TMALLOC(char, 60 + strlen(ver));
sprintf(err,"Device type BSIM3 version %s not available in this
binary\n",ver);
}
break;
------------------------------------------------
%----------------------------------------------------------------------------------------------
Lining Zhang, Research Associate,
Dept. of ECE, The Hong Kong University of Science and Technology,
Clear Water Bay, Kowloon, Hong Kong
Email: ln...@ie...
Tel: +852-23588842, Mobile: +852-51362419
On Tue, Jul 8, 2014 at 1:14 AM, Marco Atzeri <mar...@gm...> wrote:
> On 07/07/2014 18:43, Marco Atzeri wrote:
> > Hi,
> > I am currently trying to port a Mosfet model, through several simulators
> > PSPICE, NGSPICE, LTSPICE
> >
> > -------------- original PSPICE -----------
> > .MODEL Bsim3 NMOS (LEVEL=7 VERSION=3.1 MOBMOD=3 CAPMOD=2 paramchk=1
> > NQSMOD=0
> > + TOX=740e-10
> > + XJ=0.2e-6
> > + NCH=1.9e17
> > + U0=800 VSAT=500000 DROUT=1.2
> > + DELTA=0.23 PSCBE2=0 RSH=0.232e-3
> > + VTH0=2.48
> > + VOFF=-0.1 NFACTOR=1.1
> > + LINT=0.155e-6 DLC=0.155e-6
> > + CGSO=160e-12 CGSL=0 CGDO=8e-12 CGDL=105e-12
> > + CJ=0 CF=0 CKAPPA=1
> > + KT1=-1.7 KT2=0 UA1=6e-9
> > + NJ=10)
> > -------------------------------------------
> >
> > moving to NGSPICE was easy,I just changed level from 7 to 49,
> > and the basic simulation matches. Level 8 does not match.
> >
> > However on LTSPICE the only BSIM model is 8 that should be BSIM 3v3.
> >
> > Question, what are the difference in NGSPICE between levels 8 and 49 ?
> > I found no hint in the documentation.
> >
> >
> > Regards
> > Marco
>
> found a partial explanation on the parser ChangeLog
> ----------------------------------------------------------
> 2000-01-17 Paolo Nenzi <p....@ie...>
>
> * inp2m.c, inpdomod.c: Inserted code to dupport BSIM3V1 model as
> level 49.
>
> 2000-01-15 Paolo Nenzi <p....@ie...>
>
> * inp2m.c, inpdomod.c: Inserted code to support BSIM3V2 model as
> level 50.
> ----------------------------------------------------------
>
> However a model 50 seems to not exist anymore, and the code is not
> really crystal clear.
> I assume level 8 is BSIM3.3, but what are the levels for BSIM3.0 and
> BSIM3.2x ? Just side curiosity.
>
> MArco
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Ngspice-users mailing list
> Ngs...@li...
> https://lists.sourceforge.net/lists/listinfo/ngspice-users
>
|