rlar
4ec8e8745a
inpcom.c, introduce inp_add_levels(), add scope to decks
2017-04-23 19:33:54 +02:00
h_vogt
10e9a660ff
inpcom.c, add level handling to fcn xx_new_line
2017-04-23 19:33:54 +02:00
rlar
1afa202fa9
introduce struct nscope
2017-04-23 19:33:54 +02:00
h_vogt
78ffca3224
inpcom.c, improved tprint for debugging
2017-04-23 19:33:54 +02:00
h_vogt
9510b4fd35
xpressn.c, generate warning for doubly defined symbols, but do not stop ngspice (this resmbles the previous status and is preliminary)
2017-04-23 19:33:53 +02:00
rlar
682fc947ce
some .subckt scope regression tests
2017-04-23 19:33:53 +02:00
h_vogt
f8e9d0499a
xpressn.c, cleanup error message
2017-04-23 19:33:53 +02:00
h_vogt
c5d4e3220d
subckt.c, do not put model names into numparam hash table xpressn.c, re-enable error message to alert name redefinition
2017-04-23 19:33:53 +02:00
rlar
85fdadc683
broken commit: "memory leak in variable.c: fcn vareval(), free variable v created by cp_enqvar and used locally"
...
freeing stuff which is still used,
actually cp_enqvar is broken and needs fixing,
but thats used at placed where ownership and usage is not clear
2017-04-23 19:33:53 +02:00
h_vogt
13b6a5fd40
memory leak in variable.c: fcn vareval(), free variable v created by cp_enqvar and used locally
2017-04-23 19:33:53 +02:00
h_vogt
4d64117e79
MC_ring.sp: start with batch mode or interactive mode
...
with variable $batchmode
2017-04-23 19:33:53 +02:00
h_vogt
25d290af03
inp.c, incom.c: enable evaluation of all statistical functions agauss, gauss, aunif, unif, limit
...
inp.c: agauss in MC with prof. libraries, second part: after subcircuit expansion, replace all agauss occurrencies in b-lines by their respective return value of fcn agauss()
2017-04-23 19:33:53 +02:00
rlar
5198f47793
inpcom.c: remove recursive .param -> .func replacement in fcn inp_fix_agauss_in_param() if AGAUSS is involved
2017-04-23 19:33:53 +02:00
h_vogt
fb61915e1f
inp.c: agauss in MC with prof. libraries, second part: after subcircuit expansion, replace all agauss occurrencies in b-lines by their respective return value of fcn agauss()
2017-04-23 19:33:52 +02:00
h_vogt
3bea80a1e4
inpcom.c: agauss in MC with prof. libraries, first part: replace all .param lines with agauss by .func make recursive .param -> .func if agauss is involved
2017-04-23 19:33:52 +02:00
h_vogt
d3e8dcb22c
inpcom.c, responding to bug report 275 by Dominique Michel: commands plot, hardcopy: no lower case letters in tokens following xlabel, ylabel, title
2017-04-23 19:33:52 +02:00
h_vogt
d84d1b3f78
patched, table examples
2017-04-23 19:33:52 +02:00
h_vogt
480cc4223a
patched, actual table code
2017-04-23 19:33:52 +02:00
h_vogt
13f8991cb9
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!
2017-04-23 19:33:52 +02:00
h_vogt
7058be3055
bug no. 291: allow let xyz = [] let xyz = [3 -5.6 9] let xyz = [5 $rr -7.9]
2017-04-23 19:33:52 +02:00
h_vogt
fd56e45d70
example file for current measurement with function i(device)
2017-04-23 19:33:52 +02:00
h_vogt
b47f103a9a
Add current measurement for device XYZ using I(XYZ)
2017-04-23 19:33:51 +02:00
h_vogt
83b8526f65
examples/various: tests and loops using alterparam
2017-04-23 19:33:51 +02:00
h_vogt
eb73fd3c0b
new command 'alterparam', to be used in conjunction with 'mc_source'
...
add command 'alterparam paramname=pvalue'
to change a global .param
add command 'alterparam subcktname pname=vpval'
to change a parameter inside of a subcircuit
2017-04-23 19:33:51 +02:00
h_vogt
af5efab91f
new command 'mc_source' to internally reload circuit
...
We store a copy of the whole deck in 'mc_deck'.
'mc_source' can be used to re-read this copy.
2017-04-23 19:33:51 +02:00
h_vogt
8c8a236fa1
subckt.c, introduce new function inp_deckcopy_oc()
...
copy a deck
without li_actual,
without comment lines
without .control section
2017-04-23 19:33:51 +02:00
rlar
ca2af5b7b9
whitespace
2017-04-23 19:33:51 +02:00
rlar
97f3801bbd
inpcom.c, abstraction, introduce bogus_find_subckt()
...
extracted from inp_fix_inst_calls_for_numparam().
This code is and was evil, as it does not respect scoping rules.
2017-04-23 19:33:51 +02:00
rlar
7337701734
a rough test
2017-04-23 19:33:51 +02:00
rlar
bbe4fe4df3
inpcom.c, inp_add_control_section(), upside down for readability
2017-04-23 19:33:50 +02:00
rlar
54641d24d3
inpcom.c, inp_reorder_params_subckt(), use inp_sort_params()
2017-04-23 19:33:50 +02:00
rlar
d4a47c1f7b
inpcom.c, inp_reorder_params_subckt(), introduce insert_deck()
2017-04-23 19:33:50 +02:00
rlar
53e83cdee3
inpcom.c, inp_reorder_params_subckt(), reorder
2017-04-23 19:33:50 +02:00
rlar
f1380ab114
inpcom.c, drop unused artefact xx_new_line()
2017-04-23 19:33:50 +02:00
rlar
6d87c4c2eb
inpcom.c, complete insert_new_line()
2017-04-23 19:33:50 +02:00
rlar
fd493ab59c
inpcom.c, inp_fix_subckt(), drop redundant initialisations
2017-04-23 19:33:50 +02:00
rlar
56e3881142
inpcom.c, inp_fix_subckt(), drop 'last_param_card'
2017-04-23 19:33:50 +02:00
rlar
25d512aa3e
inpcom.c, inp_fix_subckt(), use insert_new_line
2017-04-23 19:33:49 +02:00
rlar
95a28252f2
inpcom.c, inp_fix_subckt(), rewrite appending to the tail
2017-04-23 19:33:49 +02:00
rlar
5bf064b034
inpcom.c, extend insert_new_line() to allow NULL head
2017-04-23 19:33:49 +02:00
rlar
339539c0c9
inpcom.c, introduce insert_new_line()
2017-04-23 19:33:49 +02:00
rlar
c213391bc3
inpcom.c, expand_section_ref(), cleanup
2017-04-23 19:33:49 +02:00
rlar
7af4421a50
inpcom.c, expand_section_ref(), drop 'rest'
2017-04-23 19:33:49 +02:00
rlar
8888be7eae
inpcom.c, expand_section_ref(), drop 'newl'
2017-04-23 19:33:49 +02:00
rlar
f9ad655bb6
inpcom.c, expand_section_ref(), drop 'cend', use 'c' instead
2017-04-23 19:33:49 +02:00
rlar
942640ba5c
inpcom.c, expand_section_ref(), simplify
2017-04-23 19:33:49 +02:00
rlar
ab76b8d12c
inpcom.c, expand_section_ref(), cend != NULL => t != section_def
2017-04-23 19:33:48 +02:00
rlar
c809e15dc1
inpcom.c, inp_read(), rewrite
2017-04-23 19:33:48 +02:00
rlar
be5a4809ae
inpcom.c, inp_read(), rewrite appending to the tail
2017-04-23 19:33:48 +02:00
rlar
8926cda427
inpcom.c, inp_stitch_continuation_lines(), prepare
2017-04-23 19:33:48 +02:00