Comment out non-ngspice compatible commands
Otherwise error messages would have beeen generated
This commit is contained in:
parent
697cd0528e
commit
9ad4a2a291
|
|
@ -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 ids=par'-i(vdrain)'
|
||||||
.probe dc gx=deriv(ids)
|
*.probe dc gx=deriv(ids)
|
||||||
.probe dc gx2=deriv(gx)
|
*.probe dc gx2=deriv(gx)
|
||||||
.probe dc gx3=deriv(gx2)
|
*.probe dc gx3=deriv(gx2)
|
||||||
.probe dc gx4=deriv(gx3)
|
*.probe dc gx4=deriv(gx3)
|
||||||
.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
|
*.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)
|
||||||
|
|
|
||||||
|
|
@ -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 ids=par'-i(vdrain)'
|
||||||
.probe dc gx=deriv(ids)
|
*.probe dc gx=deriv(ids)
|
||||||
.probe dc gx2=deriv(gx)
|
*.probe dc gx2=deriv(gx)
|
||||||
.probe dc gx3=deriv(gx2)
|
*.probe dc gx3=deriv(gx2)
|
||||||
.probe dc gx4=deriv(gx3)
|
*.probe dc gx4=deriv(gx3)
|
||||||
.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
|
*.print dc par'ids' par'gx' par'gx2' par'gx3' par 'gx4'
|
||||||
|
|
||||||
.control
|
.control
|
||||||
run
|
run
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,14 @@ 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 1 0.01 vgs 0 1.0 0.1
|
.dc vds -0.1 1 0.01 vgs 0 1.0 0.1
|
||||||
.probe dc ids=par`-i(vds)`
|
*.probe dc ids=par`-i(vds)`
|
||||||
.probe dc gds=deriv(ids)
|
*.probe dc gds=deriv(ids)
|
||||||
.print dc par'ids' par'gds'
|
*.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)
|
||||||
|
|
@ -32,7 +34,6 @@ plot xgds
|
||||||
plot @m1[gds]
|
plot @m1[gds]
|
||||||
plot xgds @m1[gds]
|
plot xgds @m1[gds]
|
||||||
|
|
||||||
save @m1[gds]
|
|
||||||
set temp = 27
|
set temp = 27
|
||||||
run
|
run
|
||||||
let ids = -i(vds)
|
let ids = -i(vds)
|
||||||
|
|
|
||||||
|
|
@ -18,13 +18,14 @@ m1 drain gate 0 bulk 0 pmos1 TFIN=15n L=40n NFIN=10 NRS=1 NRD=1
|
||||||
|
|
||||||
* --- DC Analysis ---
|
* --- DC Analysis ---
|
||||||
.dc vds 0.1 -1 -0.01 vgs 0 -1.0 -0.1
|
.dc vds 0.1 -1 -0.01 vgs 0 -1.0 -0.1
|
||||||
.probe dc ids=par`i(vds)`
|
*.probe dc ids=par`i(vds)`
|
||||||
.probe dc gds=deriv(ids)
|
*.probe dc gds=deriv(ids)
|
||||||
.print dc par'ids' par'-gds'
|
*.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
|
||||||
|
|
|
||||||
|
|
@ -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(vds)'
|
||||||
.probe dc par'-i(vbs)'
|
*.probe dc par'-i(vbs)'
|
||||||
.print dc i(X1.d)
|
*.print dc i(X1.d)
|
||||||
|
|
||||||
|
.save i(vds) i(vbs)
|
||||||
|
|
||||||
.control
|
.control
|
||||||
set temp = 27
|
set temp = 27
|
||||||
|
|
|
||||||
|
|
@ -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 ids=par`i(vds)`
|
||||||
.probe dc gds=deriv(ids)
|
*.probe dc gds=deriv(ids)
|
||||||
.print dc par'ids' par'-gds'
|
*.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…
Reference in New Issue