bsimcmg, polish two benchmark files, to show temp dependency and 'GDS'
This commit is contained in:
parent
8989eabee2
commit
1d0ff1391f
|
|
@ -3,7 +3,6 @@
|
|||
*Id-Vd Characteristics for NMOS (T = 27 C)
|
||||
|
||||
.option abstol=1e-6 reltol=1e-6 post ingold
|
||||
.temp -55
|
||||
|
||||
*.hdl "bsimcmg.va"
|
||||
.include "modelcard.nmos.1"
|
||||
|
|
@ -22,16 +21,28 @@ m1 drain gate 0 bulk 0 nmos1 TFIN=15n L=40n NFIN=10 NRS=1 NRD=1 D=40n
|
|||
.probe dc gds=deriv(ids)
|
||||
.print dc par'ids' par'gds'
|
||||
|
||||
.alter
|
||||
.temp 27
|
||||
|
||||
.alter
|
||||
.temp 100
|
||||
|
||||
.control
|
||||
save @m1[gds]
|
||||
set temp = -55
|
||||
run
|
||||
plot -i(vds)
|
||||
* fixme, second temperature, and nasty reset issues
|
||||
plot @m1[gds]
|
||||
|
||||
reset
|
||||
save @m1[gds]
|
||||
set temp = 27
|
||||
run
|
||||
plot -i(vds)
|
||||
plot @m1[gds]
|
||||
|
||||
reset
|
||||
set temp = 100
|
||||
run
|
||||
plot -i(vds)
|
||||
plot @m1[gds]
|
||||
|
||||
*show all
|
||||
|
||||
.endc
|
||||
|
||||
.end
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
*Id-Vg Characteristics for NMOS (T = 27 C)
|
||||
|
||||
.option abstol=1e-6 reltol=1e-6 post ingold
|
||||
.temp 27
|
||||
|
||||
*.hdl "bsimcmg.va"
|
||||
.include "modelcard.nmos.1"
|
||||
|
|
@ -23,17 +22,26 @@ m1 supply gate 0 bulk t nmos1 TFIN=15n L=30n NFIN=10 NRS=1 NRD=1 D=40n
|
|||
.probe dc par'-i(vbs)'
|
||||
.print dc i(X1.d)
|
||||
|
||||
.alter
|
||||
.temp -55
|
||||
|
||||
.alter
|
||||
.temp 100
|
||||
|
||||
.control
|
||||
set temp = 27
|
||||
run
|
||||
plot -i(vds)
|
||||
plot -i(vbs)
|
||||
* fixme, second temperature, and nasty reset issues
|
||||
|
||||
reset
|
||||
|
||||
set temp = -55
|
||||
run
|
||||
plot -i(vds)
|
||||
plot -i(vbs)
|
||||
|
||||
reset
|
||||
|
||||
set temp = 100
|
||||
run
|
||||
plot -i(vds)
|
||||
plot -i(vbs)
|
||||
|
||||
.endc
|
||||
|
||||
.end
|
||||
|
|
|
|||
Loading…
Reference in New Issue