rlar
ae857bf967
fix warnings due to commit "add xspice digital model d_lut"
2016-11-06 12:11:57 +01:00
rlar
a8f2baad19
fix commit "inpcom.c, inp_add_levels(), add level info to each line in deck"
...
levelinfo is not properly initialized when function inp_add_levels()
is called more than once.
2016-11-06 11:55:05 +01:00
h_vogt
3a36ab15bf
spinit.in, distinguish between shared and normal mode
2016-11-05 20:32:59 +01:00
rlar
9b80badbd0
cleanup rem_tlist()
2016-11-05 20:32:59 +01:00
rlar
709512f733
drop set_tlist, minimize usage of globals modtlist and devtlist
2016-11-05 20:32:59 +01:00
rlar
9f66aca9d4
tail, better in CKTcircuit, oh no, needs to access symboltab
2016-11-05 20:32:59 +01:00
rlar
435a32152d
not exactly the same
2016-11-05 20:32:59 +01:00
rlar
46b971aef9
drop condition 'expr_w_temper' when used with devtlist and modtlist
...
The actual condition is (devtlist || modtlist)
yet functions
inp_parse_temper_trees()
inp_evaluate_temper()
can cope with that anyway.
2016-11-05 20:32:59 +01:00
rlar
cd6fdbf380
remove excessive inp_evaluate_temper() prototypes
2016-11-05 20:32:59 +01:00
rlar
c8ce9d963d
inp.c, rem_tlist(), cleanup
2016-11-05 20:32:58 +01:00
h_vogt
3a27cb43ba
inp.c, add loop to remove linked lists devtlist, modtlist
2016-11-05 20:32:58 +01:00
rlar
d69179ce5e
try to fix rem_tlist()
...
Note:
struct INPparseTree is an overlay of struct IFparseTree
very ugly.
2016-11-05 20:32:58 +01:00
h_vogt
c9517c397b
lists struct pt_temper *modtlist and struct pt_temper *devtlist
...
contain parse trees handling TEMPER equations in model or instance lines.
Create new lists upon entering inp_parse_temper().
Save pointers to lists in current circuit ft_curckt.
Upon changing circuit, reload lists from ft_curckt.
Upon removing current circuit, delete lists.
2016-11-05 20:32:58 +01:00
h_vogt
ef21363e4f
sharedspice.c, remove line create_circbyline(NULL);, breaks compatibility
...
partial revert of
inp.c, sharedspice.c, enable adding scripts by 'circbyline'
2016-11-05 20:32:58 +01:00
h_vogt
a161d4303b
ivars.c, return of env_overr is bool, free var. temp
2016-11-05 20:32:58 +01:00
h_vogt
db5a9c9997
configure.ac, src/Makefile.am, add --enable-relpath to set preprocessor flag HAS_RELPATH
2016-11-05 20:32:58 +01:00
h_vogt
f3c1536865
configure.ac, src/Makefile.am, add libtool versioning for shared library
2016-11-05 20:32:58 +01:00
h_vogt
c40ef5758e
compile_shared.sh, compile instruction for shared ngspice library, release version
2016-11-05 20:32:57 +01:00
rlar
77d195dbac
subckt.c, numnodes(), #3/3 cleanup
2016-11-05 20:32:57 +01:00
rlar
94d8ca2c41
subckt.c, numnodes(), #2/2 cleanup
2016-11-05 20:32:57 +01:00
rlar
4bd446096e
subckt.c, numnodes(), cleanup
2016-11-05 20:32:57 +01:00
rlar
0caf879ea6
drop 'depreciated_skip..()'
2016-11-05 20:32:57 +01:00
rlar
ee0c63c31b
'const'ify some 'skip'ing functions
2016-11-05 20:32:57 +01:00
rlar
fa63b66c81
rename gettok_nc() --> nexttok(), and functionalize it
2016-11-05 20:32:57 +01:00
h_vogt
6f10c9f818
cpitf.c; allow spaces in paths like "Program Files" as search path for spinit if in MS Windows
2016-11-05 20:32:57 +01:00
h_vogt
064b2f790c
main.c, add USERPROFILE to search path for .spiceinit
...
search sequence: current directory, HOME, USERPROFILE
2016-11-05 20:32:56 +01:00
h_vogt
c981893873
ivars.c, add flag HAS_RELPATH, obtain the absolut location of ngspice.dll and set a path for spinit relative to that location
2016-11-05 20:32:56 +01:00
h_vogt
896064c8b4
cpitf.c, sharedspice.c, add debug output by defining OUTDEBUG preprocessor flag
2016-11-05 20:32:56 +01:00
h_vogt
e086e60868
sharedspice.c, read initialization file .spiceinit
...
search sequence: current diretory, HOME environment, USERPROFILE environmet
2016-11-05 20:32:56 +01:00
h_vogt
f5c8c4eb26
use only a single spinit file for installation (spinit_orig)
2016-11-05 20:32:56 +01:00
h_vogt
db5c33efb0
niconc.c, Robert's patch on NaN
2016-11-05 20:32:56 +01:00
h_vogt
ee269e437d
cpitf.c, save information on ngspice.exe into variables (MS Visula Studio only)
2016-11-05 20:32:56 +01:00
h_vogt
f1f7a26f19
psinit, add a special spinit that allows relative paths during debugging
2016-11-05 20:32:56 +01:00
h_vogt
647a0814d0
vngspice.vcxproj, add path to executables for local debugging
2016-11-05 20:32:56 +01:00
h_vogt
5a5a054784
visualc/ /config.h: make search path for spinit relative to
...
ngspice.exe: ../share/ngspice/scripts/spinit
2016-11-05 20:32:55 +01:00
h_vogt
89182304eb
winmain.c: make source window scalable, adapt font in text window to modern displays
2016-11-05 20:32:55 +01:00
rlar
b459f6bd94
table2D, table3D, swallow warnings and use fstat()
2016-11-05 20:32:55 +01:00
h_vogt
8453595207
xspice bip table model, table extracted at 27°C, comparison run at 1°C
2016-11-05 20:32:55 +01:00
h_vogt
d4c1d07c26
xspice bipolar table model example, add simple temperature model
2016-11-05 20:32:55 +01:00
h_vogt
97602db86f
cktdojob.c, add missing evaluation of TEMPER
...
after new temperature is set.
This is relevant for model and device parameters
containing TEMPER
2016-11-05 20:32:55 +01:00
h_vogt
4cb9921fe9
xspice bipolar table model, set gain to 1. Compaision of GP and table models has to be done at same temperature.
2016-11-05 20:32:55 +01:00
h_vogt
ec91dcb61e
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')
2016-11-05 20:32:55 +01:00
h_vogt
191de728d4
avoid retrace in output graph by adding label 'noretraceplot'
...
to the plot command, that creates a lin plot trying to avoid retracing
2016-11-05 20:32:54 +01:00
h_vogt
daf01920df
digital n-input x m-output look-up table gate provided by Tim Edwards
2016-11-05 20:32:54 +01:00
h_vogt
e7157dae52
add xspice digital model d_lut (digital n-input look-up table gate) provided by Tim Edwards
2016-11-05 20:32:54 +01:00
h_vogt
c687c3763b
main.c, misccoms.c, preliminary fix to bug no. 315 longjmp creates segfault under Windows 10 (VS and MINGW), when WM_CLOSE is activated. Set signal handler function to cp_evloop, which leads to com_quit here, undo this function again in com_quit to avoid loops if segfault occurs in com_quit.
2016-11-05 20:32:54 +01:00
h_vogt
31889516e5
numparam, use NESTINGDEPTH for the nupa dico stack too
2016-11-05 20:32:54 +01:00
h_vogt
862df7fadb
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.
2016-11-05 20:32:54 +01:00
h_vogt
29701bef02
MC_ring_ts.sp, example for using the variable 'sharedmode'
2016-11-05 20:32:54 +01:00
h_vogt
aa13929dde
inp.c, sharedspice.c, enable adding scripts by 'circbyline'
2016-11-05 20:32:54 +01:00