Holger Vogt
930ef32c83
path to library is the actual directory
2018-06-01 20:56:46 +02:00
Holger Vogt
06e669fdf7
add alter-1.cir to allow the regression test
2018-05-31 19:07:01 +02:00
Holger Vogt
417dbfef72
undo the previous commits dealing with snprintf,
...
use the C99 compliant function also with MS Visual Studio
2018-05-31 11:37:51 +02:00
Holger Vogt
92dd6e48d0
make up description comment for pspice_compat()
2018-05-31 10:59:20 +02:00
Holger Vogt
7153891293
raise buffer size by 1 to retain previous resolution
2018-05-31 10:58:52 +02:00
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.
2018-05-31 10:24:09 +02:00
Holger Vogt
732c684756
update to the example, safeguard return value of ngSpice_GVI_handle
2018-05-30 22:12:06 +02:00
Holger Vogt
1d9ab3eb5c
PSÜICE compatibility:
...
R n1 n2 val TC=xx1,xx2 --> R n1 n2 val TC1=xx1 TC2=xx2
2018-05-29 23:55:23 +02:00
Holger Vogt
22b7fa77b5
fix a bug with switches, when no subcircuit is involved
2018-05-28 23:59:55 +02:00
Holger Vogt
186d3f1e75
add same new files to EXTRA_DIST
2018-05-27 23:35:48 +02:00
Holger Vogt
1504aba152
test file is now suited for Linux and VS
2018-05-27 21:39:49 +02:00
Holger Vogt
e5652cd745
safeguard fclose
2018-05-27 21:37:03 +02:00
Holger Vogt
387e69c781
prepare for ngspice-28
2018-05-27 17:27:18 +02:00
Holger Vogt
e0da064f3b
compile script for Linux
2018-05-27 14:44:22 +02:00
Holger Vogt
80362d3b79
Update on the ADMS README
2018-05-27 12:40:54 +02:00
Holger Vogt
2f56feea4a
do not lower-case command 'set sourcepath = XXX'
2018-05-27 07:56:40 +02:00
Holger Vogt
ad2047844f
Due to licencing: show only the modified VDMOS models.
...
All others may be downloaded from the address given in the header.
2018-05-26 18:05:49 +02:00
Holger Vogt
5a825ffabf
Monte-Carlo examples using new features: command 'mc_source',
...
variable 'sim_status' etc.
2018-05-26 15:41:32 +02:00
Holger Vogt
42a86d0ff2
patch provided by Uros Platise: timeunit selection
...
for printing vcd file is now based on tstep instead of tstop
2018-05-26 15:00:37 +02:00
Holger Vogt
7de54b4819
rename evt node handle
2018-05-24 21:21:45 +02:00
Holger Vogt
4d10ddc6c0
preprocessor flag XSPICE also for release version
2018-05-24 21:21:16 +02:00
Holger Vogt
2e0b8b3e34
plug a small memory leak
2018-05-23 23:08:44 +02:00
Holger Vogt
a40ba9ec4e
add a comment
2018-05-22 21:18:53 +02:00
Holger Vogt
ae81481229
white spaces
2018-05-22 20:34:44 +02:00
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
2018-05-22 20:19:50 +02:00
Holger Vogt
210345c78a
example for mixed vswitch, standard switch circuit
2018-05-21 23:37:50 +02:00
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
2018-05-21 23:34:36 +02:00
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
2018-05-21 01:09:21 +02:00
Holger Vogt
0cb71b21bb
move ngspice_compat_mode(void) to inpcom.c and make it static
2018-05-21 01:09:13 +02:00
Holger Vogt
fa3badf2bd
correct typo
2018-05-21 01:09:06 +02:00
Holger Vogt
d991bbc470
ngconfig.sh is no more available
2018-05-20 12:48:31 +02:00
Holger Vogt
eb70e40481
simplify the previous approach to make old apps only on demand
2018-05-20 11:37:15 +02:00
Holger Vogt
3145716163
new --enable-oldapps: ngsconvert ngproc2mod ngmultidec ngmakeidx are made only per user request
2018-05-19 23:49:17 +02:00
Holger Vogt
831f75d8cc
update to ngspice-28
2018-05-19 23:03:02 +02:00
Holger Vogt
b90c16f9c6
VDMOS added
2018-05-19 22:29:28 +02:00
Holger Vogt
09e3e76c71
update on licenses for ngspice-28
2018-05-19 22:28:10 +02:00
Holger Vogt
9698c3943c
old and outdated doc removed
2018-05-19 22:16:45 +02:00
Holger Vogt
8324b0f646
prepare ngspice-28
2018-05-19 22:15:41 +02:00
Ignacio Martinez Vazquez
b6c4f85602
Add pkg-config file
2018-05-19 20:54:27 +02:00
Holger Vogt
406f812db5
distribute only adms/admst, not the whole adms
2018-05-19 20:25:42 +02:00
Holger Vogt
410345cf82
Check for *.va files, exit if adms is selected
...
and *.va files are not available
2018-05-19 20:19:15 +02:00
Holger Vogt
e536155947
remove directory doc
2018-05-19 20:17:07 +02:00
Holger Vogt
697b9da074
prevent endless loop if factor finally equals 1
2018-05-19 18:24:40 +02:00
h_vogt
e47ab87385
inpcom.c, multiplier 'm' in subcircuits: exclude all devices not supporting multiplier 'm'
2018-05-19 18:20:27 +02:00
h_vogt
8762f6551d
main.c free argv after its use (Win GUI only)
2018-05-19 18:15:23 +02:00
h_vogt
d89eab99d5
add dicoS->linecount to safely delete dynrefptr[i],
...
linecount may change if circuits are changed or deleted.
2018-05-19 17:49:17 +02:00
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.
2018-05-19 17:45:45 +02:00
h_vogt
4a3f02e979
runcoms.c, add variable 'sim_status' to indicate if a simulation has been aborted
2018-05-19 17:40:03 +02:00
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
2018-05-19 17:38:26 +02:00
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!
2018-05-19 17:37:42 +02:00