Holger Vogt
ef5747905f
fix bug no. 362, reported by Bohdan Tkhir
replace size_of by sizeof
8 years ago
Holger Vogt
eab5615fb3
examples moved to examples/xspice/original-examples
8 years ago
Holger Vogt
e3b2b395b9
fix an ancient bug in retrieving the data with the cursor
from a log y graph: use y-offset instead of x-offset
8 years ago
Holger Vogt
908339359a
clarify start time generation
clarify time and amplitude updates
don't read comment lines
8 years ago
Holger Vogt
0c94ab948b
treat ( ) , like spaces, that is ignore them during
switch parameter conversion
8 years ago
Holger Vogt
d1761f8d6e
read the complete input file at once during inizialization
instaed of reading the file line by line,
and instaed of re-reading from the beginning in case
of time stepping back. This saves a vast amount of
simulation time if the input file is large.
8 years ago
Holger Vogt
393c924886
improve finding tokens, considering nested parens
8 years ago
Holger Vogt
f2cfb9b359
add fourth parameter to cp_getvar()
8 years ago
Holger Vogt
fac5754b79
add variabale inputdir to store the last input file directory
8 years ago
Holger Vogt
2786fcb86e
New .option seed=[val|random]
8 years ago
Holger Vogt
107a4a808e
New .option seed=[val|random]
8 years ago
Holger Vogt
10c6c5c38b
Convert .param lines containing 'agauss' and others
into .func (xxx1() 'agauss()', replace all xxx1 entries
by function xxx1().
After subcircuit expansion, replace agauss and others
in B-Line by their suitable values.
8 years ago
Holger Vogt
7ca61b3c98
New command 'setseed' with function com_sseed
to set the random number generator
8 years ago
Holger Vogt
8fbcb16a57
add fourth parameter to cp_getvar(), in functions missing so far
8 years ago
Holger Vogt
af70c2e8f0
cp_getvar with CP_STRING: add size of string to function parameters
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
dwarning
60a35725f5
few optimizations for diode recombination current calculation
8 years ago
Holger Vogt
8930690cd2
plug a small memory leak
8 years ago
Holger Vogt
824ac4fbc9
make functions static or add function prototypes
8 years ago
Holger Vogt
2dd293707b
initialize pn in ft_getpnames() parse.c
initialize dwLen in tesCreateSystemInfo() in com_sysinfo.c
Both were reported by MSVC Code Analysis
Crash of ngspice.dll in Eeschema is thus removed
(hopefully in general)
8 years ago
Holger Vogt
b07ae3123e
use only internal memory functions,
replace strdup by copy
8 years ago
Holger Vogt
a98d01e5f8
Use only internal memory functions, replace
free->tfree, malloc->tmalloc, realloc->trealloc
8 years ago
dwarning
376a37a5d6
introduce recombination current component
8 years ago
dwarning
3bae0e371c
fix a small inconsistency in temperature dependent charge calculation
8 years ago
Holger Vogt
a2b52b588e
a space is required between tokens that have got {}
8 years ago
Holger Vogt
d9d47bd823
fix a bug: missing
#ifdef XSPICE
prevents compiling of ngshared
without --enable-xspice in ./configure
8 years ago
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