ngspice/test_cases/test-bsimbulk/netlist_mod.sp

30 lines
588 B
SourcePawn

OSDI BSIMBULK NMOS Test
*.options abstol=1e-15
* one voltage source per MOS terminal:
VD dd 0 1
VG gg 0 1
VS ss 0 0
VB bb 0 0
* model definitions:
*.model BSIMBULK_osdi_N bsimbulk type=1
.include Modelcards/model.l
*OSDI BSIMBULK:
* Where to put instance parameters channel width and length?
N1 dd gg ss bb BSIMBULK_osdi_N W=5e-6 L=0.5e-6
.control
pre_osdi test_osdi_win/bsimbulk107.osdi
set xbrushwidth=3
* a DC sweep: drain, gate
dc Vd 1.8 0 -0.01 VG 0.2 1.8 0.2 ; Kennlinie nicht o.k.
*dc Vd 0 1.6 0.01 VG 0.2 1.6 0.2 ; gar nicht o.k.
* plot source current
plot i(VS)
.endc
.end