rlar
a26ec804cb
inpcom.c, inp_reorder_params_subckt(), introduce insert_deck()
9 years ago
rlar
c285602105
inpcom.c, inp_reorder_params_subckt(), reorder
9 years ago
rlar
bc62407226
inpcom.c, drop unused artefact xx_new_line()
9 years ago
rlar
1afa04b2d1
inpcom.c, insert_new_line(), inline xx_new_line()
9 years ago
rlar
5c7c278c3d
inpcom.c, inp_fix_subckt(), #4/4, drop redundant initialisations
9 years ago
rlar
c3e2c920ef
inpcom.c, inp_fix_subckt(), #3/4, drop 'last_param_card'
9 years ago
rlar
2aafc50608
inpcom.c, inp_fix_subckt(), #2/4, use insert_new_line()
9 years ago
rlar
dda35ef2a5
inpcom.c, inp_fix_subckt(), #1/4, rewrite 'append'
9 years ago
rlar
e75f48d91f
inpcom.c, insert_new_line(), allow NULL head
9 years ago
rlar
5ff5839296
inpcom.c, inp_stitch_continuation_lines(), rewrite for the following commit
9 years ago
rlar
420c023f56
inpcom.c, introduce insert_new_line()
use it to replace this pattern
foo = bar->li_next = xx_new_line(bar->li_next, ...);
with
foo = insert_newline(bar, ...);
9 years ago
rlar
38183b6167
inpcom.c, expand_section_ref(), #7/7, cleanup
9 years ago
rlar
dd155dd83e
inpcom.c, expand_section_ref(), #6/7, drop 'rest'
9 years ago
rlar
0f8fb4cf51
inpcom.c, expand_section_ref(), #5/7, drop 'newl'
9 years ago
rlar
a77db80a85
inpcom.c, expand_section_ref(), #4/7, drop 'cend', use 'c' instead
9 years ago
rlar
0c94a651ee
inpcom.c, expand_section_ref(), #3/7, simplify
9 years ago
rlar
26d878748d
inpcom.c, expand_section_ref(), #2/7, t == section_def ==> cend == c
9 years ago
rlar
7f2cf192b6
inpcom.c, expand_section_ref(), #1/7, cend != NULL === t != section_def
9 years ago
rlar
a51c1aba2c
inpcom.c, inp_read(), #2/2, rewrite xx_new_line() insertion
using the fact
end->li_next === NULL
9 years ago
rlar
5c3dac41d9
inpcom.c, inp_read(), #1/2, rewrite 'append' to 'end'
9 years ago
rlar
ed39305da0
inpcom.c, inp_add_series_resistor(), simplify xx_new_line() insertion
9 years ago
rlar
9eddd1d80f
inpcom.c, inp_add_control_section(), #2/2, rewrite xx_new_line() insertion
9 years ago
rlar
4ad53f0de8
inpcom.c, inp_add_control_section(), #1/2, emphasise two assertions
9 years ago
rlar
4ff9c0c166
inpcom.c, inp_chk_for_multi_in_vcvs(), #6/6, drop 'model_card'
9 years ago
rlar
d773b73f76
inpcom.c, inp_chk_for_multi_in_vcvs(), #5/6, drop 'next_card', deploy its value temporarily in the new line's li_next slot
9 years ago
rlar
3b55d2af40
inpcom.c, inp_chk_for_multi_in_vcvs(), #4/6, drop 'a_card', reuse the unused 'c' instead
9 years ago
rlar
634b012492
inpcom.c, inp_chk_for_multi_in_vcvs(), #3/6, xx_new_line() shall fill the li_next slot
9 years ago
rlar
e9e9e5d55e
inpcom.c, inp_chk_for_multi_in_vcvs(), #2/6, move code downwards
9 years ago
rlar
c83b0544de
inpcom.c, inp_chk_for_multi_in_vcvs(), #1/6, skip lines
9 years ago
rlar
e81560de1a
inpcom.c, drop the local 'new_line' variable
9 years ago
rlar
b21b4170b2
inpcom.c, simplify the insertion of new lines/decks quite a bit
9 years ago
rlar
2972953336
inpcom.c, reorder initialisation
initialise param_beg and param_end before they will be used,
instead of "afterwards" in preparation for the next following usage.
and move the "comment out" up some lines, think that way:
comment out original line, append new line, ...
9 years ago
h_vogt
5d82d1b04a
misccoms.c, com_quit(), don't free memory, unless shared ngspice
Traversing all linked memory structures to free their memory
can be a somewhat lengthy business, especially in xspice,
which is not worth the effort when we simply want to exit()
Long delays have been reported in certain cases.
For developers and for the usage of such tools as valgrind,
we still free all the memory if 'set ngdebug' is given.
9 years ago
rlar
b2621174d3
inpgmod.c, plug a memory hole
Reported and fixed by Marek Bielik in message:
Subject: [Ngspice-devel] Memory leaks fix
Date: Tue, 18 Apr 2017 16:16:21 +0000
9 years ago
h_vogt
7489a37973
inpgval.c, inpdpar.c, beautify the code
9 years ago
h_vogt
fa6e21dd3a
inpgval.c, INPgetValue(), use INPgetNetTok() instead of INPgetTok()
To fix a bug reported by Clyde Shappee in
Subject: Problem with pole zero analysis and net names
https://sourceforge.net/p/ngspice/discussion/127605/thread/14338e7e/
When using node names with a leading slash '/'
on the "pz" analysis command line.
9 years ago
rlar
a6a3d884ee
fix commit "mifsetup.c, MIFunsetup(), #1/3 delete broken code"
which silently dropped the
here->initialized = MIF_FALSE
aspect of the MIFunsetup() function
which caused segfault in testcase
examples/memristor/memristor_x.sp
9 years ago
Tim Edwards
6ac19b03a3
examples/xspice/d_lut/mult4bit.spi, example for d_lut and d_genlut
9 years ago
Tim Edwards
fd79197fc0
xspice/icm/digital, introduce d_genlut
a digital n-input x m-output look-up table gate
10 years ago
Tim Edwards
8ae3b84c7c
xspice/icm/digital, introduce d_lut
a digital n-input look-up table gate
10 years ago
h_vogt
30aa5ec0b7
examples/xspice/table, examples for the table2d and table3d code models
10 years ago
h_vogt
37fe5308d3
xspice/icm/table, introduce table2d/table3d
which allows to model devices based upon linear interpolation
10 years ago
rlar
869c598589
Makefile.am, update EXTRA_DIST
9 years ago
rlar
6f7b68945d
tests/regression/sens, fix test cases
which have been invalidated by commit:
ifparm, #4/16, missing IF_REDUNDANT for some aliases, introduce IOPAPR
before this commit, sensitivity to "capacitance" was published twice,
once with name "c1" (reference name of a CAP device)
and as "c1_c" (reference name of a CAP concatenated with param name "c")
after said commit, sensitivity is no longer published as "c1_c"
(because "c" is only an "alias"/IF_REDUNDANT of the main parameter
which is named "capacitance", and "capacitance" is a IF_PRINCIPAL
and thus avoids "concatenation" of the parameter name)
9 years ago
rlar
a7cc37b2e2
ifparm, fix numdev too
9 years ago
h_vogt
cc8fb86411
diotemp.c, set lower limit of saturation current 'is' to epsmin
9 years ago
h_vogt
c82ee9d949
introduce option "epsmin"
To define a minimum argument for some log() function invocations.
(most notably for the diode saturation current 'is')
9 years ago
dwarning
78cc48575b
prevent warnings for double declared variables
9 years ago
rlar
2f329bd8b4
N_MXVLNTH, drop noise variable name limitation
9 years ago
h_vogt
306ada7dd0
inpcom.c, get_model_type(), use gettok_noparens() to extract model type
Takes care of model descriptions in parentheses like
d(...)
10 years ago