Commit Graph

5334 Commits

Author SHA1 Message Date
h_vogt e0a1b4230a ivars.c, return of env_overr is bool, free var. temp 2017-04-23 19:34:01 +02:00
h_vogt 1fcca3a8d3 configure.ac, src/Makefile.am, add --enable-relpath to set preprocessor flag HAS_RELPATH 2017-04-23 19:34:01 +02:00
h_vogt 264d487848 configure.ac, src/Makefile.am, add libtool versioning for shared library 2017-04-23 19:34:01 +02:00
h_vogt ea3821b578 compile_shared.sh, compile instruction for shared ngspice library, release version 2017-04-23 19:34:01 +02:00
h_vogt e71fa90f1c cpitf.c; allow spaces in paths like "Program Files" as search path for spinit if in MS Windows 2017-04-23 19:34:01 +02:00
h_vogt 232ea80a57 main.c, add USERPROFILE to search path for .spiceinit search sequence: current directory, HOME, USERPROFILE 2017-04-23 19:34:01 +02:00
h_vogt fabcc8770a ivars.c, add flag HAS_RELPATH, obtain the absolut location of ngspice.dll and set a path for spinit relative to that location 2017-04-23 19:34:00 +02:00
h_vogt d4d37cf323 cpitf.c, sharedspice.c, add debug output by defining OUTDEBUG preprocessor flag 2017-04-23 19:34:00 +02:00
h_vogt 9f8c168281 sharedspice.c, read initialization file .spiceinit
search sequence: current diretory, HOME environment, USERPROFILE environmet
2017-04-23 19:34:00 +02:00
h_vogt 40947b377f use only a single spinit file for installation (spinit_orig) 2017-04-23 19:34:00 +02:00
h_vogt b65391c63f psinit, add a special spinit that allows relative paths during debugging 2017-04-23 19:34:00 +02:00
h_vogt 0546e69982 vngspice.vcxproj, add path to executables for local debugging 2017-04-23 19:34:00 +02:00
h_vogt 995eb818fb visualc/ /config.h: make search path for spinit relative to
ngspice.exe: ../share/ngspice/scripts/spinit
2017-04-23 19:34:00 +02:00
h_vogt fb9bed78b4 winmain.c: make source window scalable, adapt font in text window to modern displays 2017-04-23 19:34:00 +02:00
h_vogt b61bc8ac91 gnuplot.c, add 'noretraceplot' to prevent retracing of
the graph if plotting against a vetor which is not the
original scale vector ('plot vec1 vs vec2')
2017-04-23 19:33:59 +02:00
h_vogt 22ea64cfc4 avoid retrace in output graph by adding label 'noretraceplot'
to the plot command, that creates a lin plot trying to avoid retracing
2017-04-23 19:33:59 +02:00
h_vogt 3deca9e5cf digital n-input x m-output look-up table gate provided by Tim Edwards 2017-04-23 19:33:59 +02:00
h_vogt b43140fcec add xspice digital model d_lut (digital n-input look-up table gate) provided by Tim Edwards 2017-04-23 19:33:59 +02:00
h_vogt 7c6dd9f66a numparam, use NESTINGDEPTH for the nupa dico stack too 2017-04-23 19:33:59 +02:00
h_vogt 60571da33c subckt.c, xpressn.c, spicenum.c, add level information for .subckt entries nupa_scan is totally without level info. This preliminary fix at least lets us decide to issue a warning if subckt have equal names and are on the same level. Still nupa_scan only enters the first entry into its hash table, irrespective of its level. 2017-04-23 19:33:59 +02:00
h_vogt 94f562cd7e MC_ring_ts.sp, example for using the variable 'sharedmode' 2017-04-23 19:33:59 +02:00
h_vogt f1142c301c inp.c, sharedspice.c, enable adding scripts by 'circbyline' 2017-04-23 19:33:59 +02:00
h_vogt 975745fa3c update to Monte Carlo examples 2017-04-23 19:33:58 +02:00
h_vogt 932665124f inp.c, randnumb.c, option seedinfo
Print seed information only when option is set.
2017-04-23 19:33:58 +02:00
h_vogt 1c87f6b3b0 examples Monte_Carlo, replace variable rndseed by function setseed 2017-04-23 19:33:58 +02:00
h_vogt b63396288b inp.c, enable .option seed=val || random || 'random'
setting the seed value of the random number generator either to val
or to a random number drawn from the amount
of seconds passed since 1.1.1970
May be overrideden at any time later by command 'setseed newval'
2017-04-23 19:33:58 +02:00
h_vogt 310efd1307 randnumb.c, main.c, sharedspice.c,spinit.in
replace 'set seed = val' by 'setseed val'
no more check_seed in every random number calculation
2017-04-23 19:33:58 +02:00
h_vogt 4e04f1f17c command.c, add command 'setseed'
randnumb.c, add function com_sseed
for immediately setting the seed of the random number generator
'setseed' uses variable rndseed as seed
'setseed <n>' uses <n> as seed and sets rndseed to <n>
2017-04-23 19:33:58 +02:00
h_vogt 187a1ab2a5 inp.c, xpressn.c, cmath2.c, apply gauss1() instead of gauss0()
-> reproducible start value if 'set rndseed=val' is given.
2017-04-23 19:33:58 +02:00
h_vogt 2d2b7f9257 redo random number generation
wallace.c, main.c, randnumb.c, sharedspice.c:
set a seed value by getpid, may be overridden by 'set rndseed=val'
add func gauss1() returning only a single value
speed up gauss0()
add checkseed() to rgauss() and poisson() to read 'rndseed', if changed
2017-04-23 19:33:58 +02:00
h_vogt 746d1dc46c misccoms.c, clear controls upon 'quit' 2017-04-23 19:33:57 +02:00
h_vogt 6e8ade3ba3 misccoms.c, enable freeing more memory allocations upon 'quit'
reduces valgrind 'still reachable' allocations
will finally allow using 'virtual leak detector' on Windows
2017-04-23 19:33:57 +02:00
h_vogt 0e986f7059 variable.c, introduce cp_remvar_all() to free all variables 2017-04-23 19:33:57 +02:00
h_vogt 4f229d450a main.c free argv after its use (Win GUI only) 2017-04-23 19:33:57 +02:00
h_vogt 60cb9f109e inpcom.c, enable current measurement in B-line like
Isup 1 0 1
Rsup 1 0 2
Bsup 2 0 i=i(Isup)
Rb 2 0 1
2017-04-23 19:33:57 +02:00
h_vogt a2f69530a5 spiceif.c, remove memory leak ** to be tested thouroughly ** 2017-04-23 19:33:57 +02:00
h_vogt ec083630bc misccoms.c, call function to delete some structures in sharedspice.c upon 'quit' 2017-04-23 19:33:57 +02:00
h_vogt 4875ae9e7d sharedspice.c, add functions to delete myvec, pvc, vecsa 2017-04-23 19:33:57 +02:00
h_vogt 48ee93760c inp.c, correction for shared ngspice 2017-04-23 19:33:56 +02:00
h_vogt 3e20905117 inpcom.c, debugging, tprint... 2017-04-23 19:33:56 +02:00
h_vogt 973db34eca compile instructions for LINUX as a script 2017-04-23 19:33:56 +02:00
h_vogt 1d73f4d8be inp.c, shift agauss evaluation before subckt substitution. So parameters with agauss are set once only for all devices. 2017-04-23 19:33:56 +02:00
h_vogt 7ad8637455 Monte Carlo simulation with commercial libraries circuit and .control section in a single file 2017-04-23 19:33:56 +02:00
h_vogt 83e8f7617a Monte Carlo simulation examples file using commercial HSPICE compatible libraries. Start with 'ngspice MC_ring_ts.sp'. 2017-04-23 19:33:56 +02:00
h_vogt 7dd0eaaf8c add dicoS->linecount to safely delete dynrefptr[i],
linecount may change if circuits are changed or deleted.
2017-04-23 19:33:56 +02:00
h_vogt 2139f328bb spiceif.c, fixme marker 2017-04-23 19:33:56 +02:00
h_vogt ad6cd2bd40 postcoms.c, remove leak by deleting hash table of variables if 'destroy' is executed. Add deleting pl->pl_env. 2017-04-23 19:33:55 +02:00
h_vogt fa36112280 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. 2017-04-23 19:33:55 +02:00
h_vogt c5a5cdbeaa runcoms.c, add variable 'sim_status' to indicate if a simulation has been aborted 2017-04-23 19:33:55 +02:00
h_vogt 795083a0b2 inpcom.c: remove white spaces in command files debug output of command files 2017-04-23 19:33:55 +02:00