From 6bdd6610f6ebd03ec2793ddc1d2816a129dd9cb0 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 1 Jun 2020 16:05:14 +0200 Subject: [PATCH] add tran simulation --- examples/optran/script-optran.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/optran/script-optran.txt b/examples/optran/script-optran.txt index d7876d107..274b43c13 100644 --- a/examples/optran/script-optran.txt +++ b/examples/optran/script-optran.txt @@ -38,8 +38,16 @@ let rth1 = (v("net-_d3a1-pad1_") - v("net-_r11-pad1_")) / (@b.xth1.brtherm[i] + let rth2 = (v("net-_d1a1-pad2_") - v("net-_r12-pad1_")) / (@b.xth2.brtherm[i] + 1n) settype impedance rth1 rth2 plot rth1 rth2 ylimit 0 5k + ac dec 10 1 1Meg plot db(out) plot cph(out) + +tran 1u 100m +fft out +set xbrushwidth=4 +set color0=white +plot mag(out) xlimit 0 10k ylimit 0 30m + end .endc \ No newline at end of file