summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/measure/rc-meas-ac.sp
diff options
context:
space:
mode:
authorrahulp132021-01-07 07:55:48 +0530
committerrahulp132021-01-07 07:55:48 +0530
commit088203b088a02eabb4606dc734e901b81f237b11 (patch)
treeebe9109661a149c82fc66599a6ce8103637d0b4a /Windows/spice/examples/measure/rc-meas-ac.sp
parentac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff)
downloadeSim-088203b088a02eabb4606dc734e901b81f237b11.tar.gz
eSim-088203b088a02eabb4606dc734e901b81f237b11.tar.bz2
eSim-088203b088a02eabb4606dc734e901b81f237b11.zip
removed outdated dependencies
Diffstat (limited to 'Windows/spice/examples/measure/rc-meas-ac.sp')
-rw-r--r--Windows/spice/examples/measure/rc-meas-ac.sp54
1 files changed, 0 insertions, 54 deletions
diff --git a/Windows/spice/examples/measure/rc-meas-ac.sp b/Windows/spice/examples/measure/rc-meas-ac.sp
deleted file mode 100644
index 2d464ba5..00000000
--- a/Windows/spice/examples/measure/rc-meas-ac.sp
+++ /dev/null
@@ -1,54 +0,0 @@
-RC band pass example circuit
-* This netlist demonstrates the following:
-* global nodes (vdd, gnd)
-
-* .measure statements for delay and an example ternary operator
-
-* You can run the example circuit with this command:
-*
-* ngspice rc-meas-ac.sp
-
-
-* global nodes
-.global vdd gnd
-
-* autostop -- stop simulation early if .measure statements done
-*.option autostop
-
-vin in gnd dc 0 ac 1
-
-R1 in mid1 1k
-c1 mid1 gnd 1n
-C2 mid1 out 500p
-R2 out gnd 1k
-
-.ac DEC 10 1k 10MEG
-
-.meas ac vout_at FIND v(out) AT=1MEG
-.meas ac vout_atr FIND vr(out) AT=1MEG
-.meas ac vout_ati FIND vi(out) AT=1MEG
-.meas ac vout_atm FIND vm(out) AT=1MEG
-.meas ac vout_atp FIND vp(out) AT=1MEG
-.meas ac vout_atd FIND vdb(out) AT=1MEG
-.meas ac vout_max max v(out) from=1k to=10MEG
-.meas ac freq_at when v(out)=0.1
-.meas ac vout_diff trig v(out) val=0.1 rise=1 targ v(out) val=0.1 fall=1
-.meas ac fixed_diff trig AT = 10k targ v(out) val=0.1 rise=1
-.meas ac vout_avg avg v(out) from=10k to=1MEG
-.meas ac vout_integ integ v(out) from=20k to=500k
-.meas ac freq_at2 when v(out)=0.1 fall=LAST
-.meas ac bw_chk param='(vout_diff < 100k) ? 1 : 0'
-.meas ac bw_chk2 param='(vout_diff > 500k) ? 1 : 0'
-.meas ac vout_rms rms v(out) from=10 to=1G
-
-.control
-run
-*rusage all
-plot v(out)
-plot ph(v(out))
-plot mag(v(out))
-plot db(v(out))
-.endc
-
-.end
-