Holger Vogt
417dbfef72
undo the previous commits dealing with snprintf,
use the C99 compliant function also with MS Visual Studio
8 years ago
Holger Vogt
92dd6e48d0
make up description comment for pspice_compat()
8 years ago
Holger Vogt
7153891293
raise buffer size by 1 to retain previous resolution
8 years ago
Holger Vogt
3b4640dee4
_snprintf in Windows 7 does not automatically put a '\0'
to the end of the buffer, only if there is space available.
That will change in the future if Snprintf is used.
8 years ago
Holger Vogt
1d9ab3eb5c
PSÜICE compatibility:
R n1 n2 val TC=xx1,xx2 --> R n1 n2 val TC1=xx1 TC2=xx2
8 years ago
Holger Vogt
22b7fa77b5
fix a bug with switches, when no subcircuit is involved
8 years ago
Holger Vogt
e5652cd745
safeguard fclose
8 years ago
Holger Vogt
2f56feea4a
do not lower-case command 'set sourcepath = XXX'
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
Holger Vogt
2e0b8b3e34
plug a small memory leak
8 years ago
Holger Vogt
a40ba9ec4e
add a comment
8 years ago
Holger Vogt
ae81481229
white spaces
8 years ago
Holger Vogt
7b6cd86a62
re-write vswitch transformation code:
first scan: check for each .model with vswitch
second scan: check for switch instances
(s lines) using the models
8 years ago
Holger Vogt
f9b11cd619
update to function pspice_compat(), concerning the VSWITCH replacement
only one .model replacement even for several s instances
firstly search in subcircuit at same level, then in top level
8 years ago
Holger Vogt
f4f389dabb
internal help: it is only available when --enable-oldapps is given
ngnutmeg is only made when --enable-oldapps is given during ./configure
8 years ago
Holger Vogt
0cb71b21bb
move ngspice_compat_mode(void) to inpcom.c and make it static
8 years ago
Holger Vogt
fa3badf2bd
correct typo
8 years ago
Holger Vogt
d991bbc470
ngconfig.sh is no more available
8 years ago
Holger Vogt
3145716163
new --enable-oldapps: ngsconvert ngproc2mod ngmultidec ngmakeidx are made only per user request
8 years ago
Holger Vogt
8324b0f646
prepare ngspice-28
8 years ago
Holger Vogt
406f812db5
distribute only adms/admst, not the whole adms
8 years ago
Holger Vogt
697b9da074
prevent endless loop if factor finally equals 1
8 years ago
h_vogt
e47ab87385
inpcom.c, multiplier 'm' in subcircuits: exclude all devices not supporting multiplier 'm'
9 years ago
h_vogt
8762f6551d
main.c free argv after its use (Win GUI only)
10 years ago
h_vogt
d89eab99d5
add dicoS->linecount to safely delete dynrefptr[i],
linecount may change if circuits are changed or deleted.
10 years ago
h_vogt
1066bf0a7b
Store the numparam dicoS structure for each circuit in a list.
Functions to add, remove, retrive dicoS from the list
and to update dicoS, if the circuit has been changed.
Keeping dicoS is necessary because it may be used by measure.
This patch prevents (huge) memory leaks by overwriting
dicoS if multiple calls to the 'source' command are executed.
10 years ago
h_vogt
4a3f02e979
runcoms.c, add variable 'sim_status' to indicate if a simulation has been aborted
10 years ago
h_vogt
2ece845f59
inpcom.c, responding to bug report 275 by Dominique Michel: commands plot, hardcopy: no lower case letters in tokens following xlabel, ylabel, title
10 years ago
h_vogt
7198056a41
patch no. 16 by Thomy add a function cm_get_circuit to allow accessing the circuit structure ckt from within an XSPICE code model. This is a change to the interface and requires recopiling all code models!
10 years ago
Holger Vogt
7ee0b14431
better zero after deaalocation
8 years ago
Holger Vogt
8f41257d87
enable 'temper' evaluation, if circuit is reloaded
8 years ago
Holger Vogt
cbe4b31d4b
do not delete symbols that have not been created here
8 years ago
Holger Vogt
710e98a22c
Fcn ngGet_Vec_Info(): copy the vector pointer into a static pointer
infovec only if it is derived from event data (checked by a
scale vector with name "step"). Upon next call to fcn
ngGet_Vec_Info() first free the vector pointed to by infovec.
resolve merge conflict
8 years ago
Holger Vogt
8aff70036a
Put variable wantevtdata into the right place,
also available for standard executable, to be
modified in sharedspice.c only.
9 years ago
h_vogt
ce9f23f7af
outitf.c, restrict vector length to 1, the minimum needed
9 years ago
h_vogt
a393c47ec8
outitf.c, add flag 'save none' for shared ngspice. Output data will not be stored, but are available via callback function ng_data.
9 years ago
h_vogt
11bafd70ea
update to callback functions SendEvtData, SendInitEvtData
9 years ago
h_vogt
5b754cbb0e
dctran.c, exclude ipc_send_data_...
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
994d190de5
shared_send_dict(char* dictline) to sent the node list
9 years ago
h_vogt
e36b028cdb
add wantevtdata if event output should be sent to caller
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
b621875abf
sharedspice.h, .c, prepare adding callback functions: new ngSpice_Init_Evt() and function pointers
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