summaryrefslogtreecommitdiff
path: root/Windows/spice/tests/mesa/mesa-12.cir
blob: 69eef9bac5fd82f48ae8f10c0d18c9c409f4053f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* MESA1 transient test - 
* Taken from macspice3f4
*
* This netlist shows convergence problems in ngspice.
* Paolo Nenzi (rework-14)

rd 1 3 10k
z1 3 2 0 mesa1 l=1u w=20u
vgs 2 0 dc 0 pulse(-3 0 0 0.5n 0.5n 2n 4n)
vdd  1 0 5v
.model mesa1 nmf(level=2 rd=31 rs=31)

.options noacct

.dc vgs -2 0 0.02
.tran 0.1n 5n
.print v(3) v(2)
.end

.control
run
plot v(2) v(3)
.endc