Tiny modifications of SEE examples
This commit is contained in:
parent
3fb1ea1c39
commit
d2ded9fa2c
|
|
@ -9,7 +9,7 @@
|
||||||
*.param tochar = 1e-13 ; tochar dependency on LET not yet defined
|
*.param tochar = 1e-13 ; tochar dependency on LET not yet defined
|
||||||
|
|
||||||
.param d = 1
|
.param d = 1
|
||||||
.param let = 12
|
.param let = 8
|
||||||
|
|
||||||
.param tochar = 1.035e-14 * let * d
|
.param tochar = 1.035e-14 * let * d
|
||||||
.csparam let = 'let' ; send param value to .control section
|
.csparam let = 'let' ; send param value to .control section
|
||||||
|
|
@ -71,7 +71,7 @@ repeat 5
|
||||||
print newlet
|
print newlet
|
||||||
run
|
run
|
||||||
plot xcell.n1 xcell.n2+2 wl+4 i(vm1)*10000+6 i(vm2)*10000+8 ylimit -1 10
|
plot xcell.n1 xcell.n2+2 wl+4 i(vm1)*10000+6 i(vm2)*10000+8 ylimit -1 10
|
||||||
let newlet = newlet - 1
|
let newlet = newlet + 1
|
||||||
alterparam let = $&newlet
|
alterparam let = $&newlet
|
||||||
reset
|
reset
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
* IHP Open PDK
|
* simple inverter, IHP Open PDK
|
||||||
* simple inverter
|
|
||||||
|
|
||||||
* Path to the PDK
|
* Path to the PDK
|
||||||
*.include "D:\Spice_general\skywater-pdk\libraries\sky130_fd_pr\latest\models\corners/tt.spice"
|
*.include "D:\Spice_general\skywater-pdk\libraries\sky130_fd_pr\latest\models\corners/tt.spice"
|
||||||
|
|
@ -11,7 +10,7 @@
|
||||||
|
|
||||||
* the voltage sources:
|
* the voltage sources:
|
||||||
Vdd vd gnd DC 'vdd'
|
Vdd vd gnd DC 'vdd'
|
||||||
V1 in gnd pulse(0 'vdd' 0p 200p 100p 5n 10n)
|
V1 in gnd pulse(0 'vdd' 0p 200p 100p 5n 10.1n)
|
||||||
|
|
||||||
* Eponential current source
|
* Eponential current source
|
||||||
Iset1 out1 0 EXP(0 250u 'deltat' 10p 'deltat' 500p)
|
Iset1 out1 0 EXP(0 250u 'deltat' 10p 'deltat' 500p)
|
||||||
|
|
@ -19,7 +18,7 @@ Iset2 out1 0 EXP(0 250u 'deltat2' 10p 'deltat2' 500p)
|
||||||
*Cset out 0 10f
|
*Cset out 0 10f
|
||||||
|
|
||||||
Xnot1 in vdd vss out1 not1
|
Xnot1 in vdd vss out1 not1
|
||||||
Xnot2 out1 vdd vss out not1
|
Xnot2 out1 vdd vss out2 not1
|
||||||
|
|
||||||
Vmeasvss vss 0 0
|
Vmeasvss vss 0 0
|
||||||
Vmeasvdd vd vdd 0
|
Vmeasvdd vd vdd 0
|
||||||
|
|
@ -42,7 +41,7 @@ rusage
|
||||||
*set nolegend
|
*set nolegend
|
||||||
set xbrushwidth=3
|
set xbrushwidth=3
|
||||||
plot i(Vmeasvss) i(Vmeasvdd)
|
plot i(Vmeasvss) i(Vmeasvdd)
|
||||||
plot in out1+2 out+4
|
plot in out1+2 out2+4
|
||||||
.endc
|
.endc
|
||||||
|
|
||||||
.end
|
.end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue