Browse Source

small updates to example files

pre-master-46
Holger Vogt 4 years ago
parent
commit
45ceeee509
  1. 2
      examples/probe/555-timer-2.cir
  2. 7
      examples/probe/mos-test.cir

2
examples/probe/555-timer-2.cir

@ -73,7 +73,7 @@
R3 2 3 1k R3 2 3 1k
R4 3 4 5k R4 3 4 5k
C3 4 0 0.5u ; 0.15u C3 4 0 0.5u ; 0.15u
X2 4 1 res 6 4 3 2 ua555
XU2 4 1 res 6 4 3 2 ua555
* TR O R F TH D V * TR O R F TH D V
RA 2 17 1k ; 5k RA 2 17 1k ; 5k
RB 17 16 5k ; 3k RB 17 16 5k ; 3k

7
examples/probe/mos-test.cir

@ -14,9 +14,9 @@ mp1 out in dd dd pm
.tran 5n 500n .tran 5n 500n
* inputs o.k. * inputs o.k.
.probe i(mp1:s) i(mn1:s) v(in) v(out) vd(mn1:d:s) vd(mp1:1, mn1:1)
.probe i(mp1:s) i(mn1:s) v(in) v(out) vd(mn1:d:s) vd(mp1:1, mn1:1) vd(mn1:1:0)
* buggy inputs
* buggy inputs (to check the error messages)
.probe i(mn1:z) vd(mp1:0:0) vd(mp1:1:1) hhhh) i(:u) VD(z) i(()) vd(:0:0) i(:z) .probe i(mn1:z) vd(mp1:0:0) vd(mp1:1:1) hhhh) i(:u) VD(z) i(()) vd(:0:0) i(:z)
.save @mn1[id] .save @mn1[id]
@ -27,8 +27,9 @@ display
set xbrushwidth=2 set xbrushwidth=2
*plot commands o.k. *plot commands o.k.
plot i(mn1:s) i(mp1:s) plot i(mn1:s) i(mp1:s)
*buggy plot commands
*buggy plot command
plot i(mp1:8) plot i(mp1:8)
* plot o.k.
plot in out plot in out
plot @mn1[id] - i(mn1:s) plot @mn1[id] - i(mn1:s)
.endc .endc

Loading…
Cancel
Save