Holger Vogt
13ca544d15
replace & with && and | with || and *# with * #
8 years ago
Holger Vogt
ae9cc17aff
add predefined parameters TEMP, VT after each subckt call
8 years ago
Holger Vogt
77814b8618
add predefined params TEMP, VT, GMIN to beginning of deck
add funcs limit, pwr, pwrs, stp, if, int
8 years ago
Holger Vogt
5ace7ff1fd
exclude simple e and h sources from getting a series voltage source
by undoing the name conversion
8 years ago
Holger Vogt
cfa473ad96
don't print NULL (deallocated lines)
8 years ago
Holger Vogt
9908b39d2b
make inp_compat_mode global
8 years ago
Holger Vogt
98fe623ba4
add function prototype pspice_compat
to deal with compatibility issues during loading
a PSPICE library
8 years ago
Holger Vogt
4aff986ee8
fix a bug, missing ;
8 years ago
Holger Vogt
429326e139
Add current measurement for device XYZ using I(XYZ)
8 years ago
h_vogt
7dd81327ec
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
10 years ago
h_vogt
5c3a6a3829
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.
10 years ago
h_vogt
464f855d1d
subckt.c, introduce new function inp_deckcopy_oc()
copy a deck
without li_actual,
without comment lines
without .control section
10 years ago
rlar
dc604c75d5
inpcom.c, whitespace
10 years ago
rlar
0f1b75a95b
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.
10 years ago
Holger Vogt
284f68765d
frontend/vectors.c, readability of warning message
8 years ago
Holger Vogt
68125ea3cf
allow reading LTSPICE ascii raw files with 'load' command
by discarding 'Offset:'
8 years ago
Holger Vogt
2f719f7401
function 'inp_vdmos_model' to process vdmos model lines towards ngspice compatibility
8 years ago
h_vogt
3dd2115291
frontend/subckt.c, do not put model names into numparam hash table
nobody seems to make use of these entries.
see nupa_type which shrinks to four enum's
10 years ago
rlar
b803b294b4
frontend/parser/lexical.c, cp_lexer(), allow # and * comment
Both, whether interactive or not.
Especially for command scripts.
9 years ago
rlar
878c9645c7
frontend/outitf.c, drop /* ARGSUSED */ comments
8 years ago
Holger Vogt
edc690e26f
frontend/outitf.c, plug a memory leak when `.option interp'
8 years ago
rlar
95ef5e79d9
numparam/*, use `pscopy()'
8 years ago
rlar
9ad63cc2c0
numparam/*, plug memory leaks
8 years ago
rlar
ea1b83698f
numparam/*, drop case conversions
inpcom.c is supposed to convert everything to lower case.
Thus we can work case sensitive in numparam,
which is easier compared to a whole set of local case conversions.
8 years ago
rlar
0200d5c7e9
numparam/*, drop "old style" '&' syntax
Probably an artefact of the external preprocessor implementation
of numparam.
This syntax seems to have been a non spice macro expansion facility.
8 years ago
rlar
8022aa09a6
spicenum.c, cleanup dicoS usage
8 years ago
rlar
aa0dbd20ad
spicenum.c, drop putlogfile()
8 years ago
rlar
15c00a9d42
spicenum.c, drop dologfileS, logfileS and nblogS
which are never set
8 years ago
rlar
112f35cc96
nupa_copy(), use skip_back_ws()
8 years ago
rlar
9218b76583
nupa_copy(), cleanup
8 years ago
rlar
ec24c1ded7
nupa_copy(), fix lvalue
8 years ago
rlar
06708f1ed1
nupa_copy(), ls ==> s_end - (const) s
8 years ago
rlar
751d377d3e
pscopy(), pscopy_up(), use `char *stop' argument
instead of `int length' argument
8 years ago
rlar
e21d48a267
pscopy(), pscopy_up(), use _spice_dstring_setlength() return value
instead of invoking spice_dstring_value()
8 years ago
rlar
2ce91b0821
pscopy(), pscopy_up(), expand spice_dstring_reinit() macro
and inline the resulting spice_dstring_setlength() invocation
8 years ago
rlar
2cb579cd9f
pscopy(), pscopy_up(), drop `start' argument
which is always zero
8 years ago
rlar
3bd9c1c858
scopyd(), return void
8 years ago
rlar
5164c16a1b
numparam/mystring.c, drop unused nadd(), cins(), sins() and spos_()
10 years ago
rlar
468f7580ad
nupa_subcktcall(), cleanup using skip_ws()
8 years ago
rlar
a38b19bc0e
nupa_subcktcall(), reintroduce search for last occurence of the subckt name
8 years ago
rlar
c2f519c191
nupa_subcktcall(), drop `p_subname'
8 years ago
rlar
3f5ea23c71
nupa_subcktcall(), drop `ls_ptr'
valid because
neither `jp' nor `gp' will ever be incremented beyond end of string
8 years ago
rlar
437f92385a
nupa_subcktcall(), avoid `jp' pointing beyond end of string
The skip whitespace loop in the following line shall
safely swallow the delimiting space instead
8 years ago
rlar
bb9689139b
nupa_subcktcall(), drop `parsebuf' and `buf'
8 years ago
rlar
8b1e4fc32c
nupa_subcktcall(), introduce search_isolated_identifier()
the functionality is a bit different though,
because the previous code searched for the *last* occurence of the identifier
yet the new code searches for the first occurence.
8 years ago
rlar
6a57023ced
nupa_subcktcall(), drop `hp'
8 years ago
rlar
b16a61fb7c
nupa_subcktcall(), use skip_non_ws()
8 years ago
rlar
71ac5bccc2
nupa_subcktcall(), swap `hp' and `kp'
neither `hp' nor `kp' will be used any more behind this body
8 years ago
rlar
07112d62fb
nupa_subcktcall(), simplify
10 years ago
rlar
e4a2106cfe
nupa_subcktcall(), simplify
10 years ago