h_vogt
9ae9968902
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-11-05 20:27:43 +01:00
h_vogt
56f03605dc
inpcom.c: remove recursive .param -> .func replacement in fcn inp_fix_agauss_in_param() if AGAUSS is involved
2016-11-05 20:27:43 +01:00
h_vogt
7f80087060
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-11-05 20:27:43 +01:00
h_vogt
7b1f91a3b7
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-11-05 20:27:42 +01:00
h_vogt
6a49bf66e2
inpcom.c, responding to bug report 275 by Dominique Michel: commands plot, hardcopy: no lower case letters in tokens following xlabel, ylabel, title
2016-11-05 20:27:42 +01:00
h_vogt
54d8ad9db3
input.c: bug in MS VS 2015: if in text mode, _read returns 0 instead of 1 after reading '\n' (end of line)
2016-11-05 20:27:42 +01:00
h_vogt
6f5c5b162d
cfunc.mod in table 2D and 3D, add proper 0-termination to file read
2016-11-05 20:27:42 +01:00
h_vogt
607d481388
patched, table examples
2016-11-05 20:27:42 +01:00
h_vogt
8656486b1b
patched, actual table code
2016-11-05 20:27:42 +01:00
h_vogt
8945ee2a3b
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-11-05 20:27:42 +01:00
h_vogt
696fcf14f5
bug no. 291: allow let xyz = [] let xyz = [3 -5.6 9] let xyz = [5 $rr -7.9]
2016-11-05 20:27:42 +01:00
h_vogt
4533fd7b82
example file for current measurement with function i(device)
2016-11-05 20:27:41 +01:00
h_vogt
caebd2dfad
Add current measurement for device XYZ using I(XYZ)
2016-11-05 20:27:41 +01:00
h_vogt
95f092ad12
inpcom.c, use gettok_noparens to extract model type
...
'd' from d(...
2016-11-05 20:27:41 +01:00
h_vogt
4df0841598
examples/various: tests and loops using alterparam
2016-11-05 20:27:31 +01:00
h_vogt
b7e87b5702
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
2016-11-05 20:27:23 +01:00
h_vogt
f42e49770b
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.
2016-11-05 20:26:54 +01:00
h_vogt
c554f5786a
subckt.c, introduce new function inp_deckcopy_oc()
...
copy a deck
without li_actual,
without comment lines
without .control section
2016-11-05 20:26:32 +01:00
rlar
26a308bf3d
whitespace
2016-11-03 21:02:36 +01:00
rlar
cb87144e95
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.
2016-11-03 19:51:11 +01:00
Francesco Lannutti
0c5196e773
signal_handler.c, ft_sigintr(), exit after three SIGINT requests
2016-11-01 20:33:13 +01:00
rlar
4778b48592
inpcom.c, inp_fix_inst_calls_for_numparam(), drop redundant condition `num_subckt_params == 0'
...
found_mult_param() can already cope with that
2016-11-01 11:56:48 +01:00
dwarning
24dbbc393d
remove the ancient nobjthack option to fake 3-terminal bjt's
2016-11-01 11:56:48 +01:00
dwarning
6827495a75
correct the comment for 5-terminal bjt's in get_number_terminals
2016-11-01 11:56:48 +01:00
dwarning
1e880deff4
allow 5-terminal bjt's in subckt expansion
2016-11-01 11:56:48 +01:00
rlar
52a1a58e14
wlist.c, wl_find(), avoid crash when `string' argument is NULL
2016-11-01 11:56:47 +01:00
h_vogt
e4e24f74e6
breakp2.c, copynode(), prevent segfault if missing ')'
...
invoking 'save' with an erronous node, for example
save v(thing
This can happen unexpectedly for long 'save' lines,
which will silently be truncated.
2016-11-01 11:56:25 +01:00
rlar
7fc6609821
breakp2.c, settrace(), cleanup #2/2
2016-11-01 11:06:45 +01:00
rlar
004e49aabf
breakp2.c, settrace(), cleanup #1/2
...
"save" command,
reduce complexity from O(2) to O(1)
2016-11-01 11:05:59 +01:00
h_vogt
b85270c30c
sharedspice.vcxproj, add 64 bit capability
2016-11-01 11:04:52 +01:00
h_vogt
57980c7471
sharedspice.vcxproj, add suitable preprocessor flags
2016-11-01 11:02:36 +01:00
rlar
875cab6758
*.vcxproj, enable <GenerateDebugInformation>true
2016-10-22 20:10:21 +02:00
rlar
edaded001a
*.vcxproj, use <DebugInformationFormat>ProgramDatabase
2016-10-22 20:01:46 +02:00
rlar
96a35e0144
*.vcxproj, increase <WarningLevel>Level4
2016-10-22 20:01:30 +02:00
rlar
939555115d
variables, cp_vprint, fix a memory leak
2016-10-15 15:57:59 +02:00
rlar
bc325b17c5
variables, lift plot_cur->pl_env up to the invoker of cp_usrvars()
2016-10-15 15:57:54 +02:00
rlar
e0db4aa665
variables, cp_vprint(), reorder for similarity
2016-10-15 15:57:52 +02:00
rlar
a33876ff59
variables, variables, cp_getvar, rewrite
2016-10-15 15:57:50 +02:00
rlar
97c5e1567f
variables, cp_getvar(), beware of retval == NULL
2016-10-15 15:57:48 +02:00
rlar
20b666e2d5
variables, clean up
2016-10-15 15:57:45 +02:00
rlar
b2fb4e20bf
variables, drop 'found', use identity found == (*p != NULL)
2016-10-15 15:57:43 +02:00
rlar
0784f76e51
variables, cleanup the for loops
2016-10-15 15:57:40 +02:00
rlar
e39119c1c8
variables, use identity v == *p (and u == *p)
2016-10-15 15:57:38 +02:00
rlar
d14ee053d7
variables, use a pointer to the anchor of the variable instead of 'lv'
2016-10-15 15:57:35 +02:00
rlar
b13125ac84
variables, explicit processing of ft_curckt->ci_vars, drop uv2
2016-10-15 15:57:33 +02:00
rlar
7483ff9d8c
variables, cp_remvar(), cleanup
2016-10-15 15:57:30 +02:00
rlar
485fba7548
variables, add some comments, add explicit case US_NOSIMVAR
2016-10-15 15:57:28 +02:00
rlar
97cdaae19f
variables, cp_usrvars(), be more explicit
...
lift uv2 return value up to the invoker of cp_usrvars()
2016-10-15 15:57:26 +02:00
rlar
596599492e
variables, drop redundant tfree(v->va_name), rely on free_struct_variable()
2016-10-15 15:57:23 +02:00
h_vogt
fe24b3e6dd
variable.c, remove memory leaks
2016-10-15 15:57:19 +02:00