Commit Graph

9474 Commits

Author SHA1 Message Date
dwarning 93443b988e decrease iteration count for low base biasing 2023-08-04 21:45:12 +02:00
dwarning 2a1ecefc28 better low Ic range covering 2023-08-04 21:45:12 +02:00
Holger Vogt aecf5cdcba Fix comment on old-style .lib 2023-08-04 20:11:39 +02:00
dwarning 0b6a937537 no need for extra run 2023-08-04 15:00:36 +02:00
Brian Taylor ea685d3c64 For d0_eff, d0_gff timing models specify the 1.0e-12 minimum Xspice delay valuesrather than defaulting to 1ns. 2023-08-04 11:29:20 +02:00
Brian Taylor 04b5abfa14 For d0_eff, d0_gff timing models specify the 1.0e-12 minimum Xspice delay valuesrather than defaulting to 1ns. 2023-08-01 14:37:20 -07:00
Brian Taylor 7b2e382ec6 Merge branch 'pre-master' into bt_dev 2023-08-01 10:31:25 -07:00
Holger Vogt 75ce3c95e3 eprvcd [-a] [-t timescale] node node ...
timescale is now given by minimum 1fs, maximum 1s.
2023-07-31 14:30:53 +02:00
Holger Vogt 79c46b0c44 'current time' instead of 'actual time' 2023-07-31 14:30:45 +02:00
Holger Vogt 8bd3c87be1 better visibility 2023-07-31 14:30:37 +02:00
Holger Vogt 7c0bbcd9b2 Remove vs2022 linker warning (ctx potentially uninitialized) 2023-07-31 14:30:29 +02:00
Holger Vogt da3dda3269 replace exp10() by pow(10, ...),
exp10 not available in VS2022
2023-07-31 14:30:21 +02:00
Holger Vogt dc5291fa91 fopen_with_path enable path search (directory of recent inputs or
NGSPICE_INPUT_DIR)
2023-07-31 14:30:13 +02:00
Giles Atkinson 5fe236290f Add example of reading S-parameters from a Touchstone file. 2023-07-31 14:30:02 +02:00
Giles Atkinson f632da5f7f Add a comment to say that LT/PSPICE compatability is needed. 2023-07-31 14:29:50 +02:00
Giles Atkinson 4df2e69009 Fix Bug #629 - "XSPICE d_osc failures". The old code has been completely
replaced by a new design that is faster, more reliable and does not
usually insert analog breakpoints.
2023-07-31 14:29:36 +02:00
Giles Atkinson 6b0ab44f1e Add code in ivars.c to look for a SPICE_ROOT environment variable
that gives the location of the ngspice installation.  That allows
binaries to be installed in a different directory to the one
compiled in.  The spinit startup file is made location-independent
by passing a variable giving the location of loadable modules,
so this fixes Bug #615 -
"spinit contains arch dependent paths, but is installed as noarch DATA".
2023-07-31 14:29:23 +02:00
Giles Atkinson 4cc0ac846d Add an option for parameters to the xfer code model to be provided
in a Touchstone-format file instead of as a model parameter.
The change to mif_inp2.c allows the "table" parameter to be omitted.
2023-07-31 14:28:40 +02:00
Giles Atkinson 84821a4cf5 Add support for including analog node changes in VCD file output,
and an option to explicitly set the VCD timestep.  Correct the
output value for high-impedance nodes.
2023-07-31 14:28:29 +02:00
Brian Taylor 68f1015075 Example for 7490a Pspice subckt. This exercises jkff, logicexp, and pindly conversions to XSPICE. 2023-07-31 14:27:59 +02:00
Holger Vogt 3adfa89cfc Prevent crash when number of parameter dependencies increases beyond
limit. Raise the limit from 100 to 200.
2023-07-31 14:27:49 +02:00
Holger Vogt 18911b06b6 re-enable rcheck debug output with WINGUI 2023-07-31 14:27:35 +02:00
Holger Vogt aa10f9344e Add variable "csnumprec" to allow setting the precision of vectors
and variables as arguments to functions listet in manual chapter 17.5.
Default is 6, as has been standard up to now.
2023-07-31 14:27:23 +02:00
Holger Vogt 6c48657896 Make status report (MS Windows only) a little smarter. 2023-07-31 14:27:13 +02:00
Holger Vogt fe3222a118 Add an option nginfo to enable a status report during simulation
(currently available only with MS Windows GUI version).
2023-07-31 14:26:40 +02:00
Holger Vogt c66f9faaab Remove compiler warnings (VS2022) 2023-07-31 14:26:23 +02:00
Brian Taylor b79eca646b Prevent crashes in udevices.c when malformed U* instances are present. This would happen with incorrectly written U* gates, ff, latches which do not conform to the PSpice specs. Instead, ERROR messages are output which, hopefully, will help a user to debug their subckt. 2023-07-31 14:26:01 +02:00
Giles Atkinson 480e269102 Allow netlist lines to grow during parameter substitution,
removing a 25-character limit on the size of string parameters.
2023-07-31 14:25:51 +02:00
Giles Atkinson 576f218945 Fix the NAND and NOR variants of XSPICE code model multi_input_pwl
and add an example of its use with the E-source NAND variant.
2023-07-31 14:25:40 +02:00
Giles Atkinson 3a260fd4d9 Fix Bug 584 - "XSPICE dac_bridge model shows incorrect output timing."
Remove reliance on exact breakpoint timing and tidy code.
2023-07-31 14:25:31 +02:00
Holger Vogt bc41e48126 Change message from Circuit2 to Parse 2023-07-31 14:25:23 +02:00
Holger Vogt 4246b31126 Revert "Marcel Hendrix's fix for Bug #324 -"
This reverts commit d3a8634afe.
2023-07-30 16:01:15 +02:00
Holger Vogt f548e8400a eprvcd [-a] [-t timescale] node node ...
timescale is now given by minimum 1fs, maximum 1s.
2023-07-30 14:44:07 +02:00
Holger Vogt adea3dca5e 'current time' instead of 'actual time' 2023-07-30 14:42:09 +02:00
Holger Vogt f4711676a5 better visibility 2023-07-30 08:41:54 +02:00
Holger Vogt 7e91a23804 Remove vs2022 linker warning (ctx potentially uninitialized) 2023-07-30 08:40:57 +02:00
Holger Vogt b6585c8e14 replace exp10() by pow(10, ...),
exp10 not available in VS2022
2023-07-30 08:39:47 +02:00
Holger Vogt 2e3af2658a fopen_with_path enable path search (directory of recent inputs or
NGSPICE_INPUT_DIR)
2023-07-30 08:37:55 +02:00
Giles Atkinson 22af06585e Add example of reading S-parameters from a Touchstone file. 2023-07-29 10:36:36 +01:00
Giles Atkinson e0f618b5db Add a comment to say that LT/PSPICE compatability is needed. 2023-07-29 09:42:06 +01:00
Giles Atkinson c61543a4f3 Fix Bug #629 - "XSPICE d_osc failures". The old code has been completely
replaced by a new design that is faster, more reliable and does not
usually insert analog breakpoints.
2023-07-29 09:41:13 +01:00
Giles Atkinson 54b8171c53 Add code in ivars.c to look for a SPICE_ROOT environment variable
that gives the location of the ngspice installation.  That allows
binaries to be installed in a different directory to the one
compiled in.  The spinit startup file is made location-independent
by passing a variable giving the location of loadable modules,
so this fixes Bug #615 -
"spinit contains arch dependent paths, but is installed as noarch DATA".
2023-07-29 09:37:57 +01:00
Giles Atkinson bead3e3249 Add an option for parameters to the xfer code model to be provided
in a Touchstone-format file instead of as a model parameter.
The change to mif_inp2.c allows the "table" parameter to be omitted.
2023-07-29 09:34:12 +01:00
Giles Atkinson d3a8634afe Marcel Hendrix's fix for Bug #324 -
Difference between file and line input for '];'
2023-07-29 09:30:51 +01:00
Giles Atkinson e9386155a6 Add support for including analog node changes in VCD file output,
and an option to explicitly set the VCD timestep.  Correct the
output value for high-impedance nodes.
2023-07-29 09:16:01 +01:00
Brian Taylor 8f3c83f776 Example for 7490a Pspice subckt. This exercises jkff, logicexp, and pindly conversions to XSPICE. 2023-07-25 17:32:26 +02:00
Holger Vogt c9548c10c9 Prevent crash when number of parameter dependencies increases beyond
limit. Raise the limit from 100 to 200.
2023-07-25 15:18:02 +02:00
Holger Vogt a5535d18d0 re-enable rcheck debug output with WINGUI 2023-07-25 15:16:33 +02:00
Brian Taylor 2c6434aec9 Example for 7490a Pspice subckt. This exercises jkff, logicexp, and pindly conversions to XSPICE. 2023-07-24 11:00:32 -07:00
Holger Vogt d1187e9a34 Add variable "csnumprec" to allow setting the precision of vectors
and variables as arguments to functions listet in manual chapter 17.5.
Default is 6, as has been standard up to now.
2023-07-24 14:18:05 +02:00