Holger Vogt
aaaad70991
Previous AM was buggy in V(I)SRC: Update to amplitude modulation
with corrected equation.
2 years ago
Holger Vogt
88d0727d3f
In PS compat mode we only have 2 nodes in a diode,
but still allow self heating diode with ngspice syntax.
2 years ago
Holger Vogt
ace932e1b9
Patches provided by Carsten Schoenert: Misspellings, File access
2 years ago
Holger Vogt
88844ba74d
Prevent vectors carrying the E POLY source current from being disaggregated
2 years ago
Holger Vogt
dd7b9ff273
Avoid memory crash when reading old VDMOS models.
Enable both old and current model format.
2 years ago
Holger Vogt
ace235da04
Remove ADMS from build process
2 years ago
Holger Vogt
797af31e52
Remove ADMS, add KLU
2 years ago
Holger Vogt
ee531ae3bd
Remove as it is oild and redundant
2 years ago
Holger Vogt
1ad639d90a
Add d_cosim to MS project file
2 years ago
Holger Vogt
f99a137eb3
Patch for snprintf provided by Marco Atzeri
2 years ago
Holger Vogt
902a62d2f4
win_time.c as extra distribution, used only by MSVC
2 years ago
Holger Vogt
f8e77d08d0
More headers distributed
2 years ago
Holger Vogt
f4c560ba71
Add more KLU headers to enable their distribution
2 years ago
Holger Vogt
a08f1046e4
Add KLU headers to enable their distribution
2 years ago
Holger Vogt
009249eafe
Short title
2 years ago
Holger Vogt
c1effe3b33
Just a hack to avoid a crash during sensitivity analysis:
Exclude parameter RCO from sens code, if not given,
as sens sets mods->BJTintCollResistGiven to TRUE, which fails due to
missing memory allocation for the extra nodes.
2 years ago
Holger Vogt
ca7c6cce71
Avoid crash, when sensitivity analysis is called
2 years ago
Holger Vogt
f307586d89
Formatting
2 years ago
Holger Vogt
db5e5b08eb
Don't switch display to "op", if called from a dc simulation.
2 years ago
Holger Vogt
03905433bb
If compatmode hs is set, don't run an extra iteration with
differing mode settings, but go directly to CKTop().
If other or none compat modes, keep existing behavior, as
for example CIDER example may otherwise slow down significantly.
This is to keep dc sim in accordance with other simulators.
2 years ago
Holger Vogt
37944bd7c4
Preliminary fix to bug 650
Don't omit replacement, when independent nested subcircuit has been checked.
FIXME: Better use the cards level parameter.
2 years ago
Holger Vogt
4671b588b6
Update comment
2 years ago
Holger Vogt
5154fd3fd7
Allways export function ngCM_Input_Path, independently from XSPICE
Update comment
2 years ago
Holger Vogt
d1abc8f6c7
typo
2 years ago
Holger Vogt
c53b32ffa8
Plug a potential memory leak
2 years ago
Brian Taylor
8f52a67786
Fix set but not used warning.
2 years ago
Giles Atkinson
af31904f99
The previous fix for Bug #467 - ".OPTION INTERP has accuracy issue"
(359e3d46 ) updated variable timeold inside a loop so that
all interpolations after the first caused division by zero.
That caused the xspice/delta-sigma example to fail.
Set the variable once at the end of the function.
2 years ago
Giles Atkinson
81351555da
Mention the vlnggen script and Verilog-controlled XSPICE models.
2 years ago
Giles Atkinson
ffcf3b24d9
Improve efficiency and irreversible CM support in EVTcall_hybrids() by
halting calls to code models as soon as the timestep is chenged.
This should have been included in 508fad0f55 .
2 years ago
Holger Vogt
c46866d688
Fix some typos.
Thanks to Brian for checking.
2 years ago
Holger Vogt
9a50f8b749
typo
2 years ago
Holger Vogt
ce8f6c5017
prepare ngspice-42
2 years ago
Holger Vogt
2e56f3a063
Add short description of the new interface functions
ngSpice_LockRealloc(void) ad ngSpice_UnlockRealloc(void)
2 years ago
Holger Vogt
7f30055f22
Prevent crash if port number is less than 1.
2 years ago
Holger Vogt
45850c07dc
Don't silently accept wrong user input (missing nodes, values).
Check for at leat 4 tokens (name, n1, n2, val/model/...).
If the instance has not been set up correctly, bail out, prevent crash.
2 years ago
Holger Vogt
7cd4f003ff
typo
2 years ago
Holger Vogt
6459fed460
Don't prescribe a different resistance value if the user has given one > 0.
2 years ago
Holger Vogt
b76c3203f7
prepare ngspice-42
2 years ago
Holger Vogt
732c12c93f
Remove another potential crash if buggy user input
2 years ago
Holger Vogt
c69018fe82
Enable measurements with ?-sweep (v, i, temp, or res).
Improve error messages.
Prevent crash is compüdata is not available.
Add to examples for measure failures.
2 years ago
dwarning
6ad0a6ad38
hisim2: allow compile w/o NEWCONV defined
2 years ago
dwarning
a98cfcd8cb
allow compile w/o NEWCONV defined
2 years ago
Holger Vogt
7e83526d81
Prepare ngspice-42
2 years ago
Brian Taylor
1adee64224
Add scripts for running the paranoia tests in parallel on Linux with valgrind.
2 years ago
Giles Atkinson
3cf8fe8c41
Stop after last data point, preventing read overrun of nscale.
2 years ago
Holger Vogt
7175a39448
Add files com_fileio.c, .h to shared and fftw ngspice
2 years ago
Giles Atkinson
d82f948832
Fix a crash found by Brian Taylor: when .plot attempts to plot digital
node history, interpolation may produce an infinite value at digital edges.
Remove vertical edges when interpolating and make some other improvements:
do not calculate a polynomial approximation for unused frames;
center the target x-value in the frame; and do not propogate a reduction
in degree to later frames.
2 years ago
Giles Atkinson
c18447f9f5
Add the support files for co-simulation with Verilog code
compiled by Verilator. Also add script files to Visual Studio builds
that are already installed by the Makefile builds.
2 years ago
Giles Atkinson
a92c569b72
Prevent some strings being mis-recognised by strstr(), including
one that causes a false error message from the vlnggen script.
2 years ago
Giles Atkinson
597268cc26
Treat input files names passed a start-up the same as those entered
as commands or called as scripts: search for them using $sourcepath.
2 years ago