Commit Graph

4926 Commits

Author SHA1 Message Date
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
rlar 18da092ef7 inpcom.c, declare search_identifier() non static 2016-08-15 19:24:15 +02:00
h_vogt 67ea93fda6 inp.c, plug memory leak 2016-08-15 19:24:15 +02:00
h_vogt c1f289c241 gnuplot.c, ft_gnuplot(), suppress generating the .eps and .png file
when the given output file name starts with "np_"
2016-08-15 19:24:15 +02:00
h_vogt 38af3247d1 gnuplot.c, ft_writesimple(), upgrade command 'wrdata'
- remove a bug to allow printing of vectors with differing scale lengths
- add option 'numdgt' to specify the width of the numbers printed
- add variable wr_singlescale
  use 'set wr_singlescale' to print the scale vector only once
  (vectors need to have equal scale lengths)
- add variable wr_vecnames
  use 'set wr_vecnames' to print the vector names to the first row
2016-08-15 19:24:15 +02:00
h_vogt c44c96c0d0 gnuplot.c, ft_writesimple(), command 'wrdate', use the given filename literally 2016-08-15 19:24:15 +02:00
h_vogt c260a83114 d_state.cir: print all event nodes to vcd file 2016-08-15 19:24:15 +02:00
h_vogt bbd7edad72 xspice, two new commands, edisplay and eprvcd
'edisplay' will show a list of all event nodes
'eprvcd' will print all event nodes in vcd format

usage: eprvcd a0 a1 a2 b0 b1 b2 clk > myvcd.vcd
2016-08-15 19:24:11 +02:00
h_vogt 71e02fd0a0 com_linarize(), support load'ed vectors
if there is no circuit loaded then command 'linearize'
  will take time data from transient analysis vector.
(tstart, tstop, tstep)
2016-08-15 11:32:01 +02:00
h_vogt 9f62057973 introduce include file "ngspice/randnumb.h" 2016-08-15 11:30:26 +02:00
rlar c4cd2270ed com_history.c, static declaration for 'cp_hprint()' 2016-08-15 11:27:15 +02:00
h_vogt 0a9917e142 check.sh, enable msys2 2016-08-15 11:27:06 +02:00
rlar 6156ebd930 fteext.h, remove prototype for nonexistant 'zigset()' 2016-08-15 11:27:03 +02:00
rlar 78efbcbff8 dctran.c, remove unused variable 'del_before' 2016-08-15 11:27:00 +02:00
h_vogt 33b11f9598 comments improved 2016-08-15 11:26:55 +02:00
h_vogt 27053b877f devices/asrc, remove memory leak 2016-07-30 21:14:29 +02:00
rlar b92b25950e devices/asrc, rewrite asrc_vals, asrc_derivs allocation 2016-07-30 21:10:36 +02:00
rlar 4d79617cf1 spicelib/devcies/*dest.c, rewrite DEVdestroy() functions 2016-07-30 21:10:32 +02:00
rlar d9e0ae3504 parser/glob.c, bug fix, access to already freed memory 2016-07-30 21:04:11 +02:00
rlar a5817192e1 ni/niiter.c, #5/5, whitespace 2016-07-30 21:03:55 +02:00
rlar 266e6da24b ni/niiter.c, #4/5, cleanup 2016-07-30 21:03:49 +02:00
rlar dda415a0e3 ni/niiter.c, #3/5, use `copy()' 2016-07-30 21:03:29 +02:00
rlar 86bb88b546 ni/niiter.c, #2/5, reduce scope 2016-07-30 21:03:19 +02:00
rlar 2978621931 ni/niiter.c, #1/5, cleanup 2016-07-30 21:03:00 +02:00
rlar 3715947529 dctrcurv.c, #7/7, cleanup 2016-07-30 21:02:35 +02:00
rlar 1cdd68f787 dctrcurv.c, #6/7, use the fact 'i' being 0 2016-07-30 21:02:31 +02:00