Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-003
/
slot-016
/
e3f0e95059ec211f89c901035131681920b7122e
/
.
/
xschem
/
src
/
behavior_mdl
/
switch.spice
blob: 30758adf93f099f48fd3bffac9b2a4951e61b751 [
file
] [
log
] [
blame
]
.
subckt
switch
n1 n2 vcp vcn
.
model switch1 sw vt
=
0
vh
=
0.1
ron
=
0.1
roff
=
10MEG
*
threshold
=
0.9V
,
hysteresis
=
0.1V
,
ron
=
0.1ohm
,
roff
=
10meg
s1 n1 n2 vcp vcn switch1 OFF
*
the
switch
is
off during the period of hysteresis
.
ends