Holger Vogt
b8dd14b102
script for making and installing ngspice shared lib,
...
tested under MS Windows using MSYS2 and gcc.
2018-05-19 17:18:19 +02:00
Holger Vogt
0f46bb688f
add comment and short README to ngspice shared
...
example for reading XSPICE data
2018-05-19 17:11:29 +02:00
Holger Vogt
404fd7f3b9
move example files
2018-05-19 16:56:57 +02:00
Holger Vogt
7ee0b14431
better zero after deaalocation
2018-05-19 16:53:50 +02:00
Holger Vogt
8f41257d87
enable 'temper' evaluation, if circuit is reloaded
2018-05-19 16:53:38 +02:00
Holger Vogt
9c5115cd00
add 64 bit capability
2018-05-19 16:53:29 +02:00
Holger Vogt
78643cbff7
fix paths to start app either by *.bat file
...
or directly from Visual Studio
2018-05-19 16:53:18 +02:00
Holger Vogt
cbe4b31d4b
do not delete symbols that have not been created here
2018-05-19 16:53:04 +02:00
Holger Vogt
d7f9768ed5
update to ngGet_Vec_Info()
2018-05-19 16:52:50 +02:00
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
2018-05-19 16:52:42 +02:00
Holger Vogt
8aff70036a
Put variable wantevtdata into the right place,
...
also available for standard executable, to be
modified in sharedspice.c only.
2018-05-19 16:52:08 +02:00
h_vogt
ce9f23f7af
outitf.c, restrict vector length to 1, the minimum needed
2018-05-19 16:51:57 +02:00
h_vogt
81bd6b7d17
example added (adder_mos.cir) to demonstrate 'save none'
2018-05-19 16:51:48 +02:00
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.
2018-05-19 16:51:42 +02:00
h_vogt
11bafd70ea
update to callback functions SendEvtData, SendInitEvtData
2018-05-19 16:46:16 +02:00
h_vogt
3958783010
example for using shared ngspice.dll with XSPICE
2018-05-19 16:45:28 +02:00
h_vogt
5b754cbb0e
dctran.c, exclude ipc_send_data_...
2018-05-19 16:45:09 +02:00
h_vogt
c890435383
clarify pointers to data structures for event nodes
2018-05-19 16:44:57 +02:00
h_vogt
b5f31ec2b1
version conflict rersolved in sharedspice.c
2018-05-19 16:44:46 +02:00
h_vogt
25a324ba6e
add parameter mode to EVTsharedsend_line()
...
last entry for the dictionary list is NULL
2018-05-19 16:44:27 +02:00
h_vogt
2a6f0658a8
EVTshareddump() modified to just sent the relevant event data
2018-05-19 16:44:14 +02:00
h_vogt
994d190de5
shared_send_dict(char* dictline) to sent the node list
2018-05-19 16:44:02 +02:00
h_vogt
e36b028cdb
add wantevtdata if event output should be sent to caller
2018-05-19 16:43:48 +02:00
h_vogt
3e52cdd8c1
evtdump.c, prepare data gathering for callbacks similar to sending data via the ancient ipc channel
2018-05-19 16:43:31 +02:00
h_vogt
b621875abf
sharedspice.h, .c, prepare adding callback functions: new ngSpice_Init_Evt() and function pointers
2018-05-19 16:43:19 +02:00
h_vogt
df4136a93d
evtprint.c, update to edisplay command now showing node name, node type and number of events per node
2018-05-19 16:43:09 +02:00
h_vogt
72fd154571
evtshared.c, add delete function, remove bug in creating struct
2018-05-19 16:42:29 +02:00
h_vogt
fc42cef878
New functions for XSPICE event node data exported from shared ngspice: ngGet_Evt_NodeInfo(char*) and ngSpice_AllEvtNodes(void)
2018-05-19 16:42:18 +02:00
h_vogt
20f6727e29
evtshared.c, prepare node data for transfer via shared ngspice interface
2018-05-19 16:42:01 +02:00
Holger Vogt
bea6fba788
prevent false reads in multi-threaded ngshared
2018-05-19 16:39:16 +02:00
Holger Vogt
74584c94ee
prevent false reading after copying an empty file
2018-05-19 15:40:30 +02:00
rlar
1a39d3f59d
spicelib/parser, support instance parameter defaults on .model lines
2018-05-19 15:40:20 +02:00
Holger Vogt
7363532d11
search for user's initialization files has been
...
optimized away because of an empty if clause.
A simple rewrite firstly asks for .spiceinit, then for spice.rc
2018-05-19 14:41:06 +02:00
Holger Vogt
d311fb10cf
add a new vector type "temperature"
2018-05-19 14:40:55 +02:00
Holger Vogt
5b18732af2
plug some memory leaks
2018-05-19 14:40:50 +02:00
Holger Vogt
a191697bd6
safeguard opening of file for debug output:
...
may be not allowed if caller is not started
in admin mode.
2018-05-19 14:40:41 +02:00
Holger Vogt
57156e16f6
remove tiny memory leaks in inp_compat()
2018-05-19 14:40:33 +02:00
Holger Vogt
5f5eacc48e
move skipping white spaces to fcn create_circbyline() now ' .end' is acknowledged
2018-05-19 14:40:23 +02:00
rlar
55b2a0218e
noise for behavioural resistor
2018-05-19 14:40:12 +02:00
Holger Vogt
1426f66967
use global variable inp_compat_mode
2018-05-18 18:39:15 +02:00
Holger Vogt
65181ff5c3
enable token 'table' to occur at any place in e source line
2018-05-18 18:37:24 +02:00
Holger Vogt
ffb3800e34
Bug fix: B source pwl lines don't get special handling,
...
but standard numparam handling of {} tokens
2018-05-18 18:36:26 +02:00
Holger Vogt
c879294a8b
add comment
2018-05-18 18:27:49 +02:00
Holger Vogt
7188605ef2
bugfix: re-enable loading deck from circarray, if intfile
2018-05-18 18:22:41 +02:00
Holger Vogt
04059e5426
enable '-' as valid character in a subcircuit name
2018-05-18 17:35:05 +02:00
h_vogt
c8cd763314
gnuplot.c, add 'noretraceplot' to prevent retracing of the graph if plotting against a vector which is not the original scale vector ('plot vec1 vs vec2')
2018-05-18 17:25:48 +02:00
h_vogt
d4adb027d2
avoid retrace in output graph by adding label 'noretraceplot'
...
to the plot command, that creates a lin plot trying to avoid retracing
2018-05-18 17:08:27 +02:00
rlar
611596c916
PTpower
2018-05-18 17:06:14 +02:00
rlar
6ef2a5f81b
fix code to fit the derivation
2018-05-18 17:05:44 +02:00
rlar
e36ded8122
fix derivations in comments
2018-05-18 17:05:08 +02:00