Commit Graph

4951 Commits

Author SHA1 Message Date
h_vogt 6ca51e9560 inp.c, use function inp_deckcopy_oc() for saving the deck for later retrieval with mc_source 2016-08-15 19:25:30 +02:00
h_vogt 3869e39341 subckt.c, add function inp_deckcopy_oc()
copy a deck without li_actual, without comment lines
2016-08-15 19:25:30 +02:00
h_vogt 3946e3aab8 inpcom.c, debugging, tprint... 2016-08-15 19:25:30 +02:00
h_vogt e049a81541 visualc/vngspice.vcxproj, tiny updates 2016-08-15 19:25:29 +02:00
h_vogt 0fb210a821 commands.c, inp.c, new command 'mc_source' to internally reload circuit for Monte Carlo simulation 2016-08-15 19:25:29 +02:00
h_vogt fb6bb8b1a6 inp.c, copy deck for internal re-sourcing with 'mc_source' to enable Monte-Carlo simulation with commercial model deck 2016-08-15 19:25:29 +02:00
h_vogt 1fae736baf generate debug info also for release builds 2016-08-15 19:25:29 +02:00
h_vogt bef151eb9b comment out subckts before dealing with models 2016-08-15 19:25:29 +02:00
h_vogt 7334e64cd4 .model treatment in fcn comment_out_unused_subckt_models() removed 2016-08-15 19:25:29 +02:00
h_vogt 2411b4bf8c update og function inp_rem_unused_models() recogizes levels, binning models 2016-08-15 19:25:29 +02:00
h_vogt fb7e6d178b inpcom.c, use gettok_noparens to extract model type
'd' from d(...
2016-08-15 19:25:29 +02:00
h_vogt 24f8558be3 inpcom.c, use model_name_match() for comparing model names 2016-08-15 19:25:29 +02:00
h_vogt 1638c34680 inpcom.c, add function inp_rem_unused_models() 2016-08-15 19:25:29 +02:00
h_vogt f7c0dd0c4c inpcom.c, get_number_terminals(), ignore "save" and "print" when CIDER 2016-08-15 19:25:29 +02:00
h_vogt f110d67642 inpcom.c, add function inp_get_elem_ident() 2016-08-15 19:25:29 +02:00
h_vogt b901d87c81 inpcom.c, add fcn inp_check_scope_sub() 2016-08-15 19:25:29 +02:00
h_vogt f70c563728 inpcom.c, add function inp_check_scope_mod() 2016-08-15 19:25:29 +02:00
h_vogt df3424d80d inpcom.c, debugging, tprint... 2016-08-15 19:25:28 +02:00
h_vogt 70e6323adf inpcom.c, tprint(), print levels correction to inp_add_levels() 2016-08-15 19:25:28 +02:00
h_vogt 7239084e77 inpcom.c, inp_add_levels(), add level info to each line in deck 2016-08-15 19:25:28 +02:00
h_vogt 72a2652dbe inpcom.c, function prototype to extract level information from deck 2016-08-15 19:25:28 +02:00
h_vogt 33324ef5bc inpcom.c, add level handling to fcn xx_new_line 2016-08-15 19:25:28 +02:00
h_vogt d0cea70e88 struct line, add array of short, for nesting depth 10 2016-08-15 19:25:28 +02:00
h_vogt f4e93da7b4 inpcom.c, improved tprint for debugging 2016-08-15 19:25:28 +02:00
h_vogt 158cc5dd93 xpressn.c, generate warning for doubly defined symbols, but do not stop ngspice (this resmbles the previous status and is preliminary) 2016-08-15 19:25:28 +02:00
rlar d88c5adc0a some .subckt scope regression tests 2016-08-15 19:25:28 +02:00
h_vogt 98ab040ef6 xpressn.c, cleanup error message 2016-08-15 19:25:28 +02:00
h_vogt fa681584f4 subckt.c, do not put model names into numparam hash table xpressn.c, re-enable error message to alert name redefinition 2016-08-15 19:25:28 +02:00
h_vogt 34844c9e1d sharedspice.vcxproj, add 64 bit capability 2016-08-15 19:25:28 +02:00
rlar e7f421470f 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
2016-08-15 19:25:28 +02:00
h_vogt f911d38e36 memory leak in variable.c: fcn vareval(), free variable v created by cp_enqvar and used locally 2016-08-15 19:25:28 +02:00
h_vogt 58149203eb MC_ring.sp: start with batch mode or interactive mode
with variable $batchmode
2016-08-15 19:25:28 +02:00
h_vogt 2391a5b686 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()
2016-08-15 19:25:27 +02:00
h_vogt 79373b8933 inpcom.c: remove recursive .param -> .func replacement in fcn inp_fix_agauss_in_param() if AGAUSS is involved 2016-08-15 19:25:27 +02:00
h_vogt 4362ea3b47 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() 2016-08-15 19:25:27 +02:00
h_vogt 7292dc000e 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 2016-08-15 19:25:27 +02:00
h_vogt d99252c915 breakp2.c: prevent segfault if missing ')' in 'save' command or line too long 2016-08-15 19:25:27 +02:00
h_vogt 641c4f474f inpcom.c, responding to bug report 275 by Dominique Michel: commands plot, hardcopy: no lower case letters in tokens following xlabel, ylabel, title 2016-08-15 19:25:27 +02:00
h_vogt fdd62c8f63 input.c: bug in MS VS 2015: if in text mode, _read returns 0 instead of 1 after reading '\n' (end of line) 2016-08-15 19:25:27 +02:00
h_vogt 9424a4e937 patched, table examples 2016-08-15 19:25:27 +02:00
h_vogt c45d0664b5 patched, actual table code 2016-08-15 19:25:27 +02:00
h_vogt 7bc7651cd3 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! 2016-08-15 19:25:27 +02:00
h_vogt a04b562dd9 bug no. 291: allow let xyz = [] let xyz = [3 -5.6 9] let xyz = [5 $rr -7.9] 2016-08-15 19:25:27 +02:00
h_vogt a3ebeabaf0 example file for current measurement with function i(device) 2016-08-15 19:25:27 +02:00
h_vogt 66644294eb Add current measurement for device XYZ using I(XYZ) 2016-08-15 19:25:26 +02:00
h_vogt 78e30eb3df inp.c, remove bug with handling of options: options stemming from a command file are kept, options from sourced circuit are removed with ckt 2016-08-15 19:25:26 +02:00
h_vogt 7382f0fa62 inp.c, fix option handling in user defined script (*ng_script)
similar to .control section of circuit file:
process 'option' command immediately, just like any other command.
2016-08-15 19:25:26 +02:00
h_vogt fc6edd8669 inp.c, inpcom.c, treat files starting with '*ng_script' as command files 2016-08-15 19:25:26 +02:00
rlar c505cb820d frontend/inpcom.c, inp_expand_macro_in_str(), shrink scope of some locals 2016-08-15 19:24:15 +02:00
rlar bbe3a3bf89 frontend/inpcom.c, expand_section_ref(), rename local variables 2016-08-15 19:24:15 +02:00