Giles Atkinson
dbf4c16bc0
Fix XSPICE memory leaks found by valgrind.
4 years ago
Holger Vogt
7130097710
Prevent crash when no simulation has been run and
asking for plotting an event node
4 years ago
Giles Atkinson
16f586b65e
Respect the "tstart" parameter when saving event node data (XSPICE).
Fixes Support Request #47 : "XSpice memory usage (TRAN TSTART effect)".
4 years ago
Holger Vogt
f0e9a35eb6
Add 'esave' command to save only specific event nodes.
Add a prompt for esave/eprint/eprvcd.
4 years ago
Holger Vogt
9308c6b077
Reuse memory for queued events.
Patch #109 - 2 provided by Giles Atkinson
4 years ago
Holger Vogt
8263e2a4da
The AD and DA hybrid XSPICE bridges consume a lot of
memory (one state per time step added). Memory of
previous time steps is not recovered.
Patch #109 by Giles Atkinson reduces memory consumption
dramatically (> factor of 10).
4 years ago
Holger Vogt
9be9f46f96
Remove unused function Evt_Data_destroy()
4 years ago
Holger Vogt
2f98a5b305
evtprint: prevent a crash when eprint has been called
but there is no simulation run.
4 years ago
Holger Vogt
d4c559421e
prevent crash if info.node_table has not been defined,
caused by some preceding error.
5 years ago
Holger Vogt
6d9876229c
Fixes bug #331
Bug detected and analysed by Arsen Liash
Patch provided by Yurii Demchyna
5 years ago
dwarning
5f7f54d961
cleaning prototypes
6 years ago
Holger Vogt
cc5369816b
XSPICE is in the public domain.
Update to the license information.
6 years ago
Holger Vogt
050cea146e
correct zeroing of allnodes array
6 years ago
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
6 years ago
Holger Vogt
ae2d207344
don't forget to free jobs->statistics[i]
6 years ago
Holger Vogt
3b5c272096
free mor data in jobs struct. Avoid memory leak upon 'quit' command.
6 years ago
Holger Vogt
bc0cef9371
remove all data enlisted in the jobs structure
6 years ago
Holger Vogt
bbb0007466
add function EVTswitch_plot() to switch the event data
according tothe (analog) plot. Called from plot_setcur()
in vetors.c, when command 'setplot xxx' is given.
6 years ago
Holger Vogt
d72b4c415f
get the plot name into the event job
6 years ago
Holger Vogt
b356b00014
Fixes bugs 476, 486: Reset code model init flag,
required when any run is called a second time.
6 years ago
Holger Vogt
96976ee49d
prevent non-English characters (e.g. Umlaute),
which gtkwave does not understand
6 years ago
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
6 years ago
Holger Vogt
39ce1f77d2
patch provided by Vito (see
https://sourceforge.net/p/ngspice/discussion/133842/thread/31aa24261e/ )
6 years ago
Holger Vogt
2f396187fa
Better indentation of message
7 years ago
Holger Vogt
0575481206
Better info in case of error
Initited by a patch from Bohdan Tkhir
7 years ago
Holger Vogt
88008af088
remove memory leaks
7 years ago
Holger Vogt
c2db1d5547
Bug 385 enable variable numdgt for printout
7 years ago
Holger Vogt
824ac4fbc9
make functions static or add function prototypes
8 years ago
Holger Vogt
42a86d0ff2
patch provided by Uros Platise: timeunit selection
for printing vcd file is now based on tstep instead of tstop
8 years ago
h_vogt
11bafd70ea
update to callback functions SendEvtData, SendInitEvtData
9 years ago
h_vogt
c890435383
clarify pointers to data structures for event nodes
9 years ago
h_vogt
b5f31ec2b1
version conflict rersolved in sharedspice.c
9 years ago
h_vogt
25a324ba6e
add parameter mode to EVTsharedsend_line()
last entry for the dictionary list is NULL
9 years ago
h_vogt
2a6f0658a8
EVTshareddump() modified to just sent the relevant event data
9 years ago
h_vogt
3e52cdd8c1
evtdump.c, prepare data gathering for callbacks similar to sending data via the ancient ipc channel
9 years ago
h_vogt
df4136a93d
evtprint.c, update to edisplay command now showing node name, node type and number of events per node
9 years ago
h_vogt
72fd154571
evtshared.c, add delete function, remove bug in creating struct
9 years ago
h_vogt
fc42cef878
New functions for XSPICE event node data exported from shared ngspice: ngGet_Evt_NodeInfo(char*) and ngSpice_AllEvtNodes(void)
9 years ago
h_vogt
20f6727e29
evtshared.c, prepare node data for transfer via shared ngspice interface
9 years ago
rlar
2dcb79d09c
GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch
8 years ago
rlar
58874cc65e
xspice, implement "CALLBACK"
Allow to register a callback function in the cfunc.mod files,
which will be invoked in MIFdestroy.
Usefull to "free" memory which has been allocated locally in a cfunc.mod file.
9 years ago
h_vogt
bbd7edad72
xspice, two new commands, edisplay and eprvcd
'edisplay' will show a list of all event nodes
'eprvcd' will print all event nodes in vcd format
usage: eprvcd a0 a1 a2 b0 b1 b2 clk > myvcd.vcd
10 years ago
rlar
4c60783e4d
xspice, implement EVTdest() to fix xspice memory leaks
10 years ago
rlar
97cc400efb
ngspice/evt.h, ngspice/enh.t, reduce scope of these include files
10 years ago
h_vogt
a162ecec9f
src/xspice/evt/evtprint.c, bug fix, avoid segfault
print an error message if no circuit has been loaded
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
fdae9b7c06
dvec abstraction, #7/11, emphasise `v_scale = NULL' initialisation
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
ea7372efe7
rewrite, useing IFerrorf()
OUTerror() and IFerror() are no more used,
but kept for compatibility
12 years ago