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"}