Holger Vogt
39defa3fa7
XSPICE d_source: prevent a crash when the input file is not found
2021-09-24 14:08:47 +02:00
Holger Vogt
b24be62bf0
prevent crash if info.node_table has not been defined,
...
caused by some preceding error.
2021-09-22 16:19:37 +02:00
Holger Vogt
fd8ec3977b
Make 'speedcheck' also available in batch mode simulation.
2021-09-19 23:02:00 +02:00
Holger Vogt
a77377f6c1
command listing: add option r (runable)
...
listing r > $inputdir/mycirc_runable.cir
will save the expanded netlist without line numbers,
ready to be sourced again and run in ngspice.
2021-09-18 14:57:22 +02:00
Keno Fischer
0654a78681
Add missing rule for ngicon.rc
2021-09-17 16:29:57 +02:00
Holger Vogt
6b12971fc6
Revert "Reading CIDER "Device Cross Section" failed if written in ASCII."
...
This reverts commit 4a907749a6 .
2021-09-17 15:00:48 +02:00
Brian Taylor
2ebed3f747
Use the current point number as the single digit index for Cider 2D ascii save files. This conforms to the normal usage with other types of ascii rawfile. The numd parser table entry for ic.file now has the correct IF_STRING type.
2021-09-17 14:59:54 +02:00
Holger Vogt
a93bed0f4b
Fix bug #557
...
Revise memory allocation for different analysis types
2021-09-17 12:10:35 +02:00
Holger Vogt
e0e9cc72f0
revert according to
...
adc1546e5 ("Revert ".control and `B' parser,
fix precedence of '-' versus '^'"", 2021-09-14)
2021-09-15 16:25:43 +02:00
Holger Vogt
372bd64f34
Check V and I lines for dc and ac.
...
Allow ac without parameters, a default is set to ac ( 1 0 )
2021-09-14 17:15:25 +02:00
Holger Vogt
adc1546e59
Revert ".control and `B' parser, fix precedence of '-' versus '^'"
...
This reverts commit b32ae9f79b .
2021-09-14 14:14:29 +02:00
Brian Taylor
d6c88b0e9a
Retaining the mixed case of Cider quoted string valued parameters. Limit searches for ic.file to D*, M*, and Q* device instantiation lines. Cider model (numos, numd, nbjt) detection is limited to .model lines. Continuation lines which do contain these tokens are not checked, but this should rarely happen. All of the examples/cider circuits meet these assumptions. Memory errors have been removed.
2021-09-10 11:50:22 +02:00
Holger Vogt
f0ffff2dc0
re-enable lower-casing of tokens beginning with 'cd',
...
except for command 'cd' which is usually followed by a space.
2021-09-07 12:42:20 +02:00
Holger Vogt
532eddde54
make PTparse error message more verbose:
...
include point in a line where parsing failed.
2021-09-07 12:41:18 +02:00
Holger Vogt
4a907749a6
Reading CIDER "Device Cross Section" failed if written in ASCII.
...
Second point count flag enabled (for CIDER 2D only).
2021-09-06 23:00:10 +02:00
Holger Vogt
5a8621bd08
No oscillation: Add a starting pulse
2021-09-05 12:21:13 +02:00
Brian Taylor
64686132ad
Don't search for ic.file within comments.
2021-09-05 11:28:27 +02:00
Brian Taylor
5a8f07a292
Do not use non-portable strcasestr.
2021-09-05 11:27:56 +02:00
Brian Taylor
43520d9b8a
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-05 11:27:01 +02:00
Holger Vogt
5cd919ebc1
Add resistance sweep error message for failing optran
2021-09-03 15:01:53 +02:00
Holger Vogt
c61b95f1e7
Optran may throw an error message while in temp sweep
...
and optran fails: message added (in addition prevent a crash)
2021-09-03 10:18:58 +02:00
Holger Vogt
a262525ebf
add potran to spinit d
2021-09-03 10:17:34 +02:00
Holger Vogt
bb23520bd4
errno needs to be nulled in Linux.
...
Its previous value will be returned after checking.
2021-09-01 23:16:58 +02:00
Holger Vogt
04cdfb6bb9
'Option interp' and command 'stop' have been incompatible.
...
Allow both in a run.
Issue note (however not checked) that stop time data have to fit
the inpolated times.
2021-09-01 12:26:49 +02:00
Holger Vogt
ce0559b458
prevent a crash, e.g. when incompatible 'option interp'
...
is set and 'stop' is called.
2021-09-01 10:57:27 +02:00
Holger Vogt
b9c5873606
command 'wrnodev'
...
Write current node voltages to file in format .ic=value
The file may be used to set initial conditions for another simulation,
e.g. ac at a specific time step of a transient simulation.
2021-08-30 14:47:10 +02:00
Holger Vogt
7d13fe8214
Add a line feed to make message more readable.
2021-08-29 14:28:27 +02:00
Holger Vogt
6e7993b289
ASRC (B-Source) error message is cryptic, as it does not tell
...
which B-Source failed.
Add a hint to the ASRC error message on the name of the
B-Source instance.
2021-08-29 14:27:56 +02:00
Holger Vogt
d9d4b86219
Adapt gtkwave plotting to the various OSs.
...
macOS still needs some improvement.
2021-08-28 17:04:37 +02:00
Holger Vogt
e99ca82476
Revert "Adapt gtkwave plotting to the various OSs."
...
This reverts commit 1b1d4f412f .
2021-08-28 17:02:02 +02:00
Holger Vogt
1b1d4f412f
Adapt gtkwave plotting to the various OSs.
...
macOS still needs some improvement.
2021-08-28 16:19:43 +02:00
Holger Vogt
de1024a75b
Prevent a crash if command 'save n1' has been given on a digital node n1.
...
Improved error message.
2021-08-28 15:09:51 +02:00
Holger Vogt
8e9a14678c
Revise the SOA and add new parameters:
...
pd_max id_max idr_max te_max rth_ext derating
rth_ext is currently not used
2021-08-27 18:20:16 +02:00
Holger Vogt
79ebf219fe
Add a check for sys/sysctrl.h, which has been declared deprecated,
...
and which may not be available (in the future) on some systems.
2021-08-25 11:48:21 +02:00
Holger Vogt
1b17c5cc59
VDMOS, prepare SOA with new parameters
...
Model parameters pd_max, id_max, idr_max, and te_max
(power dissipated, drain current, drain reverse current, temperature)
2021-08-24 17:52:33 +02:00
Holger Vogt
6cfe98ce43
Update to the optran circuit examples:
...
TLV9002-test.cir: Rely on optran from spinit
TLV6001-test.cir: Override optran from spinit
2021-08-24 17:50:18 +02:00
Holger Vogt
5758d58349
spinit: add optran to the standard inits
2021-08-24 17:48:17 +02:00
Holger Vogt
2936b11764
Add MOS model cards
2021-08-24 16:16:07 +02:00
Holger Vogt
c8d76014b9
SOA for bipolar
...
Replace pow_max by pd_max
2021-08-24 16:15:46 +02:00
Holger Vogt
10b2f96ed1
Enable command 'optran' in spinit or .spiceinit,
...
when the circuit is not yet loaded.
Then the optran data are stored in static variables,
until optran is called again with arg NULL from inp.c,
to set the data in ft_curckt->ci_defTask.
2021-08-24 15:53:31 +02:00
Holger Vogt
0f46f9b228
List definition needs spaces between ( and next token,
...
and between token and )
Update to comment.
2021-08-24 15:51:09 +02:00
Holger Vogt
b43b4023eb
Add short description of the new examples
2021-08-20 20:28:10 +02:00
Holger Vogt
3c3c039515
Linux line endings (LF only)
2021-08-20 20:24:55 +02:00
Holger Vogt
152be62ae3
Example OpAmp which converge for op only with optran:
...
TLV6001 and TLV9002
2021-08-20 20:22:12 +02:00
Holger Vogt
15dc796656
remove old files
2021-08-20 20:19:03 +02:00
Holger Vogt
4ff37a9fb1
Example file with three dual opamp filters.
...
Different opamps: TL072, OPA1656, OPA1612
2021-08-20 20:18:41 +02:00
Holger Vogt
c83f441bb2
Three OpAmp Example for optran
2021-08-20 20:04:54 +02:00
Holger Vogt
1368fba469
line endings LF (Linux)
2021-08-20 20:03:58 +02:00
Holger Vogt
a3973c7fe0
optran is only selected when the 'optran' command has been processed.
...
If not, the call to the OPtran() function returns the previous
'converged' value.
2021-08-20 18:46:50 +02:00
Holger Vogt
034f8a4959
Don't do optran, if command optran is not given.
2021-08-20 17:09:20 +02:00