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
61f7188ef0
Slightly improve error handling and warning message
2023-05-22 15:18:39 +02:00
Holger Vogt
3071cdd2d5
.csparam: Add some safeguarding against wrong input and crash,
...
allow multiple parameters in a .csparam row (like .param).
2023-05-22 14:46:17 +02:00
Holger Vogt
ba2facc718
remove unused header file
2023-05-21 12:16:33 +02:00
Holger Vogt
8f2d311062
More info
2023-05-21 12:16:13 +02:00
Holger Vogt
edf2c625e1
Safeguard against bad arguments (no crash upon NULL)
2023-05-17 10:08:38 +02:00
Holger Vogt
b271b6d9e3
safeguard against crash upon buggy input
2023-05-17 09:32:23 +02:00
Holger Vogt
2206956bc1
Make error message more verbose and useful
2023-05-13 23:43:44 +02:00
Holger Vogt
73e3e7f952
Correct the warning message
2023-05-12 20:02:31 +02:00
Holger Vogt
b97c273805
Prevent a crash when number of nodes differs in subckt and X call.
2023-05-12 17:00:08 +02:00
Holger Vogt
8b8200df88
Improve error messages
2023-05-12 16:59:27 +02:00
Holger Vogt
4356a631be
Add rusage to measure simulation time.
2023-05-10 14:06:07 +02:00
Holger Vogt
1f58cd7618
Plug a memory leak
2023-05-08 20:18:55 +02:00
Holger Vogt
465a64661c
Add vto model parameter (the default has changed!), add .ic
...
to ease op and immediately start oscillation.
2023-05-08 10:56:10 +02:00
Holger Vogt
5047a19112
Enable history substitution of interactive commands only when variable 'histsubst' is set.
...
This feature is in conflict with ! (logic inversion)
in .control language logic expressions.
2023-05-07 15:48:06 +02:00
Pascal Kuthe
48668c7d6e
make accessible
2023-05-07 15:07:08 +02:00
Holger Vogt
d4d576d695
Example input file for 'iplot -w' option
2023-05-02 18:15:22 +02:00
Giles Atkinson
fdb8ee3806
Add a "-w" option to the iplot command. It sets a width for the
...
window (in the current scale units) so that it does not re-scale
on overflow, but instead plots recently-generated data on a fixed scale.
2023-05-02 13:13:02 +01:00
Giles Atkinson
81e07e8ece
In graf.c change local function set() to do what you might expect,
...
rather than the opposite. Also fix a debug message.
2023-05-02 12:52:45 +01: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
675b9e6fa2
Prevent crash (seg fault), if measure statement is incomplete
2023-04-26 17:06:39 +02:00
Holger Vogt
783c432467
typo
2023-04-26 15:33:07 +02:00
Holger Vogt
d72d07beae
Update to ngspice-40, remove adms, recoomend using compile_linux.sh,
...
hints for Centos, compile scripts for macOS.
2023-04-26 15:20:37 +02:00
Holger Vogt
7e4f420788
Remove obsolete adms, add OSDI
2023-04-26 15:09:48 +02:00
Holger Vogt
dfb53459dc
.libsave: don't save the command itself, improve messaging
2023-04-26 11:26:11 +02:00
Holger Vogt
ff9ff26613
.libsave: Print to file the expanded library read by .lib
2023-04-26 11:26:04 +02: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
Holger Vogt
28a3413dd2
Send 'refernce value' to stdout, not to stderr
2023-04-25 14:34:51 +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
5bd0346b64
Line concatenation: use dstring instead of tprintf:
...
Parsing time of Skywater libs reduced by more than 35%.
2023-04-22 14:55:23 +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
ee238b1632
Remove linker warnings in MSVC
2023-04-17 15:03:53 +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
7fc90a332a
get the right place for variable declaration
2023-04-15 17:42:20 +02:00
dwarning
4fed4bafa1
few cleanings to prevent compiler warnings
2023-04-15 16:57:33 +02:00
dwarning
77afc678dd
prevent unitialized variables
2023-04-15 13:50:05 +02:00
Brian Taylor
601d4bf57d
Allocate compound gate connectors where needed.
2023-04-15 11:35:39 +02:00
Brian Taylor
9f2192e711
Create correct translations of degenerate compound gates with $d_hi/$d_lo inputs.
2023-04-15 11:35:24 +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
c8a7f07ac1
A preliminary fix to reduce the amount of missing pulses considerably.
...
Probably not yet the final solution.
2023-04-15 10:52:59 +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
fc97e658b0
more realistic self-heating example
2023-04-08 21:20:26 +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