Browse Source

Comment out non-ngspice compatible commands

Otherwise error messages would have beeen generated
pre-master-46
Holger Vogt 4 years ago
parent
commit
8bf28b5aee
  1. 13
      examples/adms/bsimcmg/gummel_n.sp
  2. 12
      examples/adms/bsimcmg/gummel_p.sp
  3. 11
      examples/adms/bsimcmg/idvdnmos.sp
  4. 9
      examples/adms/bsimcmg/idvdpmos.sp
  5. 8
      examples/adms/bsimcmg/idvgnmos.sp
  6. 8
      examples/adms/bsimcmg/idvgpmos.sp

13
examples/adms/bsimcmg/gummel_n.sp

@ -19,16 +19,17 @@ m1 drain gate source bulk 0 nmos1 TFIN=15n L=30n NFIN=10 NRS=1 NRD=1
* --- DC Analysis --- * --- DC Analysis ---
.dc vdrain -0.1 0.1 0.001 vgate 0.0 1.0 0.2 .dc vdrain -0.1 0.1 0.001 vgate 0.0 1.0 0.2
.probe dc ids=par'-i(vdrain)'
.probe dc gx=deriv(ids)
.probe dc gx2=deriv(gx)
.probe dc gx3=deriv(gx2)
.probe dc gx4=deriv(gx3)
.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
*.probe dc ids=par'-i(vdrain)'
*.probe dc gx=deriv(ids)
*.probe dc gx2=deriv(gx)
*.probe dc gx3=deriv(gx2)
*.probe dc gx4=deriv(gx3)
*.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
.control .control
save @m1[VDSSAT] save @m1[VDSSAT]
save @m1[GDS] save @m1[GDS]
save vdrain#branch
run run
show all show all
let ids = -i(vdrain) let ids = -i(vdrain)

12
examples/adms/bsimcmg/gummel_p.sp

@ -20,12 +20,12 @@ m1 drain gate source bulk 0 pmos1 TFIN=15n L=30n NFIN=10 NRS=1 NRD=1
* --- DC Analysis --- * --- DC Analysis ---
.dc vdrain -0.1 0.1 0.001 vgate 0.0 -1.0 -0.2 .dc vdrain -0.1 0.1 0.001 vgate 0.0 -1.0 -0.2
.probe dc ids=par'-i(vdrain)'
.probe dc gx=deriv(ids)
.probe dc gx2=deriv(gx)
.probe dc gx3=deriv(gx2)
.probe dc gx4=deriv(gx3)
.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
*.probe dc ids=par'-i(vdrain)'
*.probe dc gx=deriv(ids)
*.probe dc gx2=deriv(gx)
*.probe dc gx3=deriv(gx2)
*.probe dc gx4=deriv(gx3)
*.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
.control .control
run run

11
examples/adms/bsimcmg/idvdnmos.sp

@ -16,13 +16,15 @@ vbs bulk 0 dc=0.2
m1 drain gate 0 bulk 0 nmos1 TFIN=15n L=40n NFIN=10 NRS=1 NRD=1 D=40n m1 drain gate 0 bulk 0 nmos1 TFIN=15n L=40n NFIN=10 NRS=1 NRD=1 D=40n
* --- DC Analysis --- * --- DC Analysis ---
.dc vds 0 1 0.01 vgs 0 1.0 0.1
.probe dc ids=par`-i(vds)`
.probe dc gds=deriv(ids)
.print dc par'ids' par'gds'
.dc vds -0.1 1 0.01 vgs 0 1.0 0.1
*.probe dc ids=par`-i(vds)`
*.probe dc gds=deriv(ids)
*.print dc par'ids' par'gds'
.control .control
save @m1[gds] save @m1[gds]
save vds#branch
set temp = -55 set temp = -55
run run
let ids = -i(vds) let ids = -i(vds)
@ -31,7 +33,6 @@ plot ids
plot xgds plot xgds
plot @m1[gds] plot @m1[gds]
save @m1[gds]
set temp = 27 set temp = 27
run run
let ids = -i(vds) let ids = -i(vds)

9
examples/adms/bsimcmg/idvdpmos.sp

@ -17,14 +17,15 @@ m1 drain gate 0 bulk 0 pmos1 TFIN=15n L=40n NFIN=10 NRS=1 NRD=1
+ D = 40n + D = 40n
* --- DC Analysis --- * --- DC Analysis ---
.dc vds 0 -1 -0.01 vgs 0 -1.0 -0.1
.probe dc ids=par`i(vds)`
.probe dc gds=deriv(ids)
.print dc par'ids' par'-gds'
.dc vds 0.1 -1 -0.01 vgs 0 -1.0 -0.1
*.probe dc ids=par`i(vds)`
*.probe dc gds=deriv(ids)
*.print dc par'ids' par'-gds'
.control .control
save @m1[gds] save @m1[gds]
save vds#branch
set temp = 27 set temp = 27
run run

8
examples/adms/bsimcmg/idvgnmos.sp

@ -18,9 +18,11 @@ m1 supply gate 0 bulk t nmos1 TFIN=15n L=30n NFIN=10 NRS=1 NRD=1 D=40n
* --- DC Analysis --- * --- DC Analysis ---
.dc vgs -0.5 1.0 0.01 vds 0.05 1 0.95 .dc vgs -0.5 1.0 0.01 vds 0.05 1 0.95
.probe dc par'-i(vds)'
.probe dc par'-i(vbs)'
.print dc i(X1.d)
*.probe dc par'-i(vds)'
*.probe dc par'-i(vbs)'
*.print dc i(X1.d)
.save i(vds) i(vbs)
.control .control
set temp = 27 set temp = 27

8
examples/adms/bsimcmg/idvgpmos.sp

@ -18,13 +18,13 @@ m1 supply gate 0 bulk 0 pmos1 TFIN=15n L=30n NFIN=10 NRS=1 NRD=1
* --- DC Analysis --- * --- DC Analysis ---
.dc vgs 0.5 -1.0 -0.01 .dc vgs 0.5 -1.0 -0.01
.probe dc ids=par`i(vds)`
.probe dc gds=deriv(ids)
.print dc par'ids' par'-gds'
*.probe dc ids=par`i(vds)`
*.probe dc gds=deriv(ids)
*.print dc par'ids' par'-gds'
.control .control
save @m1[gm]
save @m1[gm] i(vds)
set temp = 27 set temp = 27
run run

Loading…
Cancel
Save