Cleaning commit. Added tests for PD SOI device.

This commit is contained in:
pnenzi 2000-11-21 20:12:35 +00:00
parent 9606b353db
commit 4764a45ddf
7 changed files with 90 additions and 2 deletions

View File

@ -172,5 +172,5 @@ BSIM3SOI_PD - SOI model (partially depleted devices)
There is a bsim3soipd directory under the test
hierarchy. The tests come from the bsim3soi
web site at:
http://www-device.eecs.berkeley.edu/~bsim3soi
http://www-device.eecs.berkeley.edu/~bsimsoi

View File

@ -66,7 +66,6 @@ INP2M (void *ckt, INPtables * tab, card * current)
INPgetTok (&line, &nname5, 1); /* get 5th token */
thismodel = (INPmodel *) NULL;
INPgetMod (ckt, nname5, &thismodel, tab);
printf("Model=%x",thismodel);
if (thismodel == NULL)
{ /* 5th token is not a model in the table */
nodeflag = 1; /* now specify a 5 node device */

View File

@ -0,0 +1,16 @@
## Process this file with automake to produce Makefile.in
TESTS = \
t3.cir \
t4.cir \
t5.cir \
inv2.cir \
RampVg2.cir
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/../check.sh $(top_builddir)/src/ngspice
EXTRA_DIST = \
$(TESTS) \
$(TESTS:.cir=.out)
MAINTAINERCLEANFILES = Makefile.in

View File

@ -0,0 +1,19 @@
* BSIMSOI example
*
* SOI, Ramp Vg
Vd d 0 1.5
Vg g 0 0.0 PULSE 0V 2V .02n .1n .1n .2n .6n
Ve e 0 0.0
Vs s 0 0.0
Vb b 0 0.0
m1 d g s e n1 w=10u l=0.25u debug=-1
.option gmin=1e-20 itl1=200 itl2=200 abstol=1e-9
.tran 1p 1.0ns
.print m1#Vbs, V(g)/10
.include nmospd.mod
.end

17
tests/bsim3soipd/inv2.cir Normal file
View File

@ -0,0 +1,17 @@
* model = BSIMSOI
*
*
* SOI Inverter - floating body
vin in 0 dc 2.5
vdd dd 0 dc 2.5
vss ss 0 dc 0
ve e 0 dc 1.25
m1 out in dd e p1 w=20u l=0.25u
m2 out in ss e n1 w=10u l=0.25u
.option itl1=500 gmin=1e-25
.dc vin 0 2.5 0.01
.print v(in), v(out)
.include nmospd.mod
.include pmospd.mod

18
tests/bsim3soipd/t3.cir Normal file
View File

@ -0,0 +1,18 @@
*model = BSIMSOI
*Berkeley Spice Compatibility
*
* SOI NMOSFET, floating body simulation
vd d 0 dc 1.5
vs s 0 dc 0
ve e 0 dc 0
vg g 0 dc 3
m1 d g s e n1 w=10u l=0.25u
.option gmin=1e-25 itl1=500
.dc vd 0 3 0.01 vg 0.5 3 0.5
.print v(g), i(vs)
.include nmospd.mod

19
tests/bsim3soipd/t4.cir Normal file
View File

@ -0,0 +1,19 @@
*model = BSIMSOI
*Berkeley Spice Compatibility
*
* SOI NMOSFET, tied body simulation
vd d 0 dc 0.05
vs s 0 dc 0
ve e 0 dc 0
vg g 0 dc 3
vb b 0 dc 0
m1 d g s e b n1 w=10u l=0.25u
.option gmin=1e-25 itl1=500
.dc vg 0 1.5 0.01 vb -0.3 0.5 0.1
.include nmosfd.mod
* For PD, the command '.include nmosfd.mod ' should
* be replaced with '.include nmospd.mod'.