From 4e8e4cea20df0f2a101c92a7175422a572c087f9 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Tue, 13 Jul 2021 18:37:01 +0200 Subject: [PATCH] poweramp.sch fixes in sim commands --- scconfig/src/scripts/find_welltype.c | 2 +- xschem_library/examples/poweramp.sch | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scconfig/src/scripts/find_welltype.c b/scconfig/src/scripts/find_welltype.c index 9708dc75..8821b0c8 100644 --- a/scconfig/src/scripts/find_welltype.c +++ b/scconfig/src/scripts/find_welltype.c @@ -35,7 +35,7 @@ static int accept_wt_res(char *ver) { char *next; - if (!strncmp(ver, "OK ", 3) == 0) + if (strncmp(ver, "OK ", 3) == 0) return 0; ver += 3; diff --git a/xschem_library/examples/poweramp.sch b/xschem_library/examples/poweramp.sch index 68bad97a..0b306e1e 100644 --- a/xschem_library/examples/poweramp.sch +++ b/xschem_library/examples/poweramp.sch @@ -129,15 +129,14 @@ vvss vss 0 dc 0 ** referenced file in simulation directory. .include \\"models_poweramp.txt\\" .control -save all -op -write poweramp.raw -tran 6e-7 0.06 uic +* op +tran 6e-7 0.03 uic * .FOUR 20k v(outm,outp) * .probe i(*) plot outp outm save all save p(r*) p(v*) +write poweramp.raw .endc "} C {vsource.sym} 150 -1170 0 0 {name=V1 value="dc 50 pwl 0 0 1m 50"}