Holger Vogt
6c48657896
Make status report (MS Windows only) a little smarter.
3 years ago
Holger Vogt
bc41e48126
Change message from Circuit2 to Parse
3 years ago
Holger Vogt
ba2842b55a
Prevent a crash if p==NULL (due to buggy input)
3 years ago
Brian Taylor
f39f89ea9b
Add DEVmodDelete functions to reduce memoory leaks in Cider models. The model memory was not freed during remcirc or quit. In the future, some of the code duplication could be refactored. The cmosinv.cir is now down to just 1 memory leak.
3 years ago
Giles Atkinson
5f6a6a27d8
Further fix for PWL bugs introduced by 9c71db3 (Fix for Bug #607 ) and
partially fixed by 79c69e0 and 9c75367. This also fixes Bug #468 -
"Bugs in src/spicelib/devices/vsrc/vsrcacct.c for PWL source."
3 years ago
Holger Vogt
b0f2ab8764
Fix bug 637
Prevent crash when external current source is used.
3 years ago
Holger Vogt
90d8f7f34f
Prevent crash if EXTERNAL voltage source is used
Fixes
98763c0ad ("Note: ix: dc value used for op instead of transient time=0 value Former warning message or note only issued when dc value and value at transient time=0 differ.", 2022-09-20)
3 years ago
Holger Vogt
a28784d6d7
Prevent crash if *line == NULL
3 years ago
Holger Vogt
c7ebb7aabb
Error message up to now was strictly for command line interactive use only.
Improve error message when parsing .ac lines.
3 years ago
Holger Vogt
0c1f114dea
add comment
3 years ago
Holger Vogt
cb9cc7140d
Prevent crash if no or not enough coeffs are given.
r is then probably not the repeat coefficient.
3 years ago
Holger Vogt
3bb9cd738f
CIDER: Plug small memory leaks in INPparseNumMod()
3 years ago
Giles Atkinson
1fdf7dac51
Fix Bug #623 - "Parser warning for voltage source".
Do not warn when a single-element vector lacks parentheses.
3 years ago
Giles Atkinson
2db6b529f2
Fix Bug #630 - "pwl if r=last time, simulation never ends".
Allowing a PWL repeat to start at the last time-point makes no sense.
3 years ago
Giles Atkinson
f4f2f41940
Fix another error in 9c71db3a72.
3 years ago
Holger Vogt
ee7bcac256
Reduce excessive use of TREALLOC
3 years ago
Holger Vogt
fd24e5af7e
re-formatting the code
3 years ago
Holger Vogt
b24c613ce6
Safeguard against bad arguments (no crash upon NULL)
3 years ago
Holger Vogt
9b3146b1fb
Correct the warning message
3 years ago
Holger Vogt
8c9602574e
Improve error messages
3 years ago
Holger Vogt
6ea2882c3b
Plug a memory leak
3 years ago
Giles Atkinson
1a97e1097f
Fix error in previous fix for Bug #607 -
"DC Source with Pulse stops pulsing half way through simulation".
Non-periodic PWL waveforms reverted to zero on termination.
3 years ago
Holger Vogt
b6e9ba20b9
Add another error qualifier to decribe the current policy
when a doubling token exists (or is created) in the netlist.
3 years ago
Giles Atkinson
ad5bb9eb8d
Fix Bug #607 -
"DC Source with Pulse stops pulsing half way through simulation".
Do not require breakpoints to be hit almost exactly before scheduling
the next one. That may cause the next breakpoint to be lost.
3 years ago
Holger Vogt
972ff885d0
Suppress (rare) crashes during setiup
if device or model lists are missing.
3 years ago
Holger Vogt
0b73d95f13
Formatting
3 years ago
Holger Vogt
962d9d2998
Avoid user induced buffer overflows.
Check against NULL pointer.
3 years ago
Holger Vogt
d2177bbd69
Prevent reading from NULL
3 years ago
dwarning
5c32a3fb9c
prevent unitialized variables
3 years ago
Holger Vogt
a39052cd14
Make voltage ramp smooth around 0 and around end of ramp.
3 years ago
Holger Vogt
4231ad3f5f
Prevent reading from NULL when user input is something like .ic=v
3 years ago
dwarning
02109587ee
not to forget the overlap capacitances in AC
3 years ago
dwarning
56b5041266
selfheating only with rth>0
3 years ago
dwarning
2fff3e2bc0
use true vector size for memcpy
3 years ago
dwarning
de09636d1a
general update: fix temperature update, improve performance
3 years ago
dwarning
f33e899fda
white spaces
3 years ago
dwarning
d053fbda93
vbic: correct soa-check warning for C-S branch
3 years ago
dwarning
b5d5cfd543
vbic: selfheating switch selft has priority, but keep compatibility
3 years ago
Holger Vogt
d53acbed8e
Add noise capability to XSPICE code models
Coded according to acan., AC analysis
MIF_NOI is not yet supported by any code model, so
MIF_AC is used (code models behave like in ac mode,
they are noiseless.
3 years ago
Holger Vogt
3c41ab1190
Formatting with MSVC2022
3 years ago
Holger Vogt
ce38a768b5
typo
3 years ago
Holger Vogt
c30af55491
Add operating point information to SOA check,
using vbefwd, vbcfwd, and vsubfwd
Operating point heck is enabled by .options warn=2
3 years ago
Holger Vogt
443567dbaf
Add SOA-check for collector-substrate diode (model parameter bvsub)
3 years ago
Holger Vogt
ff77c583d7
Add model parameter selft, to switch on self-heating, default: off (selft=0)
3 years ago
Holger Vogt
82de3db8ad
VBIC: Add bvbe, bvbc, and bvce as redundant SOA parameters
3 years ago
Holger Vogt
2ce18ab184
Add VDMOS default junction cap IRF540 IRF9540
3 years ago
Holger Vogt
2a647f8462
Set default VDMOS model parameters to resemble IRF540, 9540
3 years ago
Holger Vogt
bcec3cb5e3
Updating links to ngspice web pages
3 years ago
Holger Vogt
4cc63494db
Improve error message
Typo
3 years ago
Giles Atkinson
ae6375c519
Prevent a crash when "portnum" is used in a voltage source without "z0".
3 years ago