Jnanapurushothama
09/21/2024, 5:44 PMStefan Schippers
09/22/2024, 9:33 AM.control
option temp=30
save all
op
write cmos_example_ngspice.raw
set appendwrite
dc vminus 2.3 2.7 0.001
remzerovec
write cmos_example_ngspice.raw
tran 0.5n 5u
remzerovec
write cmos_example_ngspice.raw
ac dec 10 1 1G
remzerovec
write cmos_example_ngspice.raw
option temp=-40
save all
dc vminus 2.4 2.6 0.001
remzerovec
write cmos_example_ngspice.raw
tran 0.5n 5u
remzerovec
write cmos_example_ngspice.raw
ac dec 10 1 1G
remzerovec
write cmos_example_ngspice.raw
option temp=125
save all
dc vminus 2.3 2.7 0.001
remzerovec
write cmos_example_ngspice.raw
tran 0.5n 5u
remzerovec
write cmos_example_ngspice.raw
ac dec 10 1 1G
remzerovec
write cmos_example_ngspice.raw
.endc
To my knowledge there is no way to change the process corner in a single ngspice run. You can however repeat the simulation changing the process corner and appending results to the same raw file by setting set appendwrite
on following runs, (but clearing this setting on the first run!).
For pole zero analysis this is more a ngspice question. Please see the .pz
command in ngspice manual:
11.3.6 .PZ: Pole-Zero AnalysisDiarmuid Collins
09/22/2024, 8:58 PMAhmed Reda
09/23/2024, 7:40 AM<https://cace.readthedocs.io/en/latest/tutorial/index.html>
Jnanapurushothama
09/23/2024, 7:54 AM