ngspice/examples/cider/diode
Brian Taylor f66573883f Fix typo in the diode/README file. 2021-12-13 21:43:09 +01:00
..
README Fix typo in the diode/README file. 2021-12-13 21:43:09 +01:00
diode.cir Fix NAN error in numd2 area report and crashes when a doping file is missing. Update examples/cider so that the test circuits all run; add case sensitivity tests for rootfile and ic.file parameter strings enclosed in a single pair of double quotes. 2021-09-29 20:22:56 +02:00
diotran.cir Fix NAN error in numd2 area report and crashes when a doping file is missing. Update examples/cider so that the test circuits all run; add case sensitivity tests for rootfile and ic.file parameter strings enclosed in a single pair of double quotes. 2021-09-29 20:22:56 +02:00
pd1.cir Fix NAN error in numd2 area report and crashes when a doping file is missing. Update examples/cider so that the test circuits all run; add case sensitivity tests for rootfile and ic.file parameter strings enclosed in a single pair of double quotes. 2021-09-29 20:22:56 +02:00
pindiode.cir Fix NAN error in numd2 area report and crashes when a doping file is missing. Update examples/cider so that the test circuits all run; add case sensitivity tests for rootfile and ic.file parameter strings enclosed in a single pair of double quotes. 2021-09-29 20:22:56 +02:00

README

Run:

    ngspice -b pd1.cir

This will generate the operating point file 'Pre-Pin-Diode-OP.0.d1', which
is read as the ic.file (initial condition file) for 'pindiode.cir'.
Note that if there is no output line in the .model section of 'pd1.cir',
the generated file will be named 'OP.0.d1'. In this case the ic.file value
in 'pindiode.cir' would need to be changed to match it.

Then:

    ngspice -b pindiode.cir

can be run which will input 'Pre-Pin-Diode-OP.0.d1'. If you do not run
'pd1.cir' first, the 'pindiode.cir' simulation will run OK but tell you it
cannot find the iinitial condition file.