Holger Vogt
5ba0177f21
CIDER: Plug small memory leaks in INPparseNumMod()
2023-06-02 19:43:47 +02:00
Giles Atkinson
37453db34d
Fix Bug #623 - "Parser warning for voltage source".
...
Do not warn when a single-element vector lacks parentheses.
2023-05-29 09:47:44 +01:00
Giles Atkinson
0616965a67
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.
2023-05-29 09:19:18 +01:00
Giles Atkinson
9c75367cfb
Fix another error in 9c71db3a72.
2023-05-29 09:19:18 +01:00
Holger Vogt
1cd15e382e
Reduce excessive use of TREALLOC
2023-05-27 16:44:30 +02:00
Holger Vogt
a56b8b2190
Revert "Reduce excessive use of TREALLOC"
...
This reverts commit 6c64d463c8 .
2023-05-27 16:17:23 +02:00
Holger Vogt
6c64d463c8
Reduce excessive use of TREALLOC
2023-05-26 13:31:08 +02:00
Holger Vogt
5f39fd80fb
re-formatting the code
2023-05-26 12:16:55 +02:00
Holger Vogt
edf2c625e1
Safeguard against bad arguments (no crash upon NULL)
2023-05-17 10:08:38 +02:00
Holger Vogt
73e3e7f952
Correct the warning message
2023-05-12 20:02:31 +02:00
Holger Vogt
8b8200df88
Improve error messages
2023-05-12 16:59:27 +02:00
Holger Vogt
1f58cd7618
Plug a memory leak
2023-05-08 20:18:55 +02:00
Giles Atkinson
79c69e0644
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.
2023-04-26 21:38:25 +01:00
Holger Vogt
81012de4d0
Add another error qualifier to decribe the current policy
...
when a doubling token exists (or is created) in the netlist.
2023-04-25 14:37:00 +02:00
Giles Atkinson
9c71db3a72
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.
2023-04-22 14:56:01 +02:00
Holger Vogt
f5279c0ef5
Suppress (rare) crashes during setiup
...
if device or model lists are missing.
2023-04-18 10:48:08 +02:00
Holger Vogt
9bc9d94244
Formatting
2023-04-17 15:00:28 +02:00
Holger Vogt
c179b01734
Avoid user induced buffer overflows.
...
Check against NULL pointer.
2023-04-17 13:53:37 +02:00
Holger Vogt
200cff4bdc
Prevent reading from NULL
2023-04-17 11:54:25 +02:00
dwarning
77afc678dd
prevent unitialized variables
2023-04-15 13:50:05 +02:00
Holger Vogt
4e51598562
Make voltage ramp smooth around 0 and around end of ramp.
2023-04-15 11:10:25 +02:00
Holger Vogt
3d0fab9c55
Prevent reading from NULL when user input is something like .ic=v
2023-04-12 13:40:05 +02:00
dwarning
add9b1d77f
not to forget the overlap capacitances in AC
2023-04-10 11:36:20 +02:00
dwarning
af1963fc39
selfheating only with rth>0
2023-04-08 20:44:19 +02:00
dwarning
db9711daf4
use true vector size for memcpy
2023-04-08 17:29:25 +02:00
dwarning
c6a66c4c5e
general update: fix temperature update, improve performance
2023-04-08 17:10:04 +02:00
dwarning
03d5f5f1e1
white spaces
2023-04-08 17:00:02 +02:00
dwarning
51802b8df2
vbic: correct soa-check warning for C-S branch
2023-04-03 11:30:16 +02:00
Holger Vogt
d4f49f1273
Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master
2023-04-02 22:57:55 +02:00
dwarning
a3bc6ae744
vbic: selfheating switch selft has priority, but keep compatibility
2023-04-02 17:22:52 +02:00
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.
2023-04-02 15:06:28 +02:00
Holger Vogt
3c41ab1190
Formatting with MSVC2022
2023-04-02 15:06:23 +02:00
Holger Vogt
ce38a768b5
typo
2023-03-24 22:10:12 +01:00
Holger Vogt
c30af55491
Add operating point information to SOA check,
...
using vbefwd, vbcfwd, and vsubfwd
Operating point heck is enabled by .options warn=2
2023-03-24 22:10:07 +01:00
Holger Vogt
443567dbaf
Add SOA-check for collector-substrate diode (model parameter bvsub)
2023-03-24 22:09:55 +01:00
Holger Vogt
ff77c583d7
Add model parameter selft, to switch on self-heating, default: off (selft=0)
2023-03-24 22:09:42 +01:00
Holger Vogt
82de3db8ad
VBIC: Add bvbe, bvbc, and bvce as redundant SOA parameters
2023-03-22 14:30:01 +01:00
Holger Vogt
2ce18ab184
Add VDMOS default junction cap IRF540 IRF9540
2023-03-22 14:29:37 +01:00
Holger Vogt
2a647f8462
Set default VDMOS model parameters to resemble IRF540, 9540
2023-03-22 14:29:22 +01:00
Holger Vogt
bcec3cb5e3
Updating links to ngspice web pages
2023-03-18 14:37:02 +01:00
Holger Vogt
4cc63494db
Improve error message
...
Typo
2023-03-18 14:36:55 +01:00
Giles Atkinson
ae6375c519
Prevent a crash when "portnum" is used in a voltage source without "z0".
2023-03-18 14:35:51 +01:00
dwarning
845dfbd830
diode recombination current emission coefficient default to 2
2023-03-18 14:31:53 +01:00
Holger Vogt
3ff9643f49
Add a scale factor 'a' (atto, 1e-18)
2023-03-18 14:30:03 +01:00
Holger Vogt
b68f2617c7
Preliminary bug-617 fix:
...
Don't set temperature to a step beyond the sweep boundaries.
2023-01-29 17:05:56 +01:00
dwarning
33a2637530
correct header entry
2023-01-24 15:17:14 +01:00
dwarning
9c26206a68
bsim4 version update from 4.8.1 to 4.8.2
2023-01-24 15:16:55 +01:00
Holger Vogt
31b0b640de
For memcpy in PREDICTOR
2023-01-09 16:32:16 +01:00
holger
97e0c0f37e
Prevent memory leak while "PREDICTOR" is selected
2023-01-09 16:27:55 +01:00
dwarning
26e73c09b3
add instance parameter mulu0 for mobility reduction bsim4.5 and 4.6
2022-12-27 14:20:20 +01:00