Holger Vogt
ffb3800e34
Bug fix: B source pwl lines don't get special handling,
but standard numparam handling of {} tokens
8 years ago
Holger Vogt
c879294a8b
add comment
8 years ago
Holger Vogt
7188605ef2
bugfix: re-enable loading deck from circarray, if intfile
8 years ago
Holger Vogt
04059e5426
enable '-' as valid character in a subcircuit name
8 years ago
h_vogt
c8cd763314
gnuplot.c, add 'noretraceplot' to prevent retracing of the graph if plotting against a vector which is not the original scale vector ('plot vec1 vs vec2')
10 years ago
h_vogt
d4adb027d2
avoid retrace in output graph by adding label 'noretraceplot'
to the plot command, that creates a lin plot trying to avoid retracing
10 years ago
Holger Vogt
bb162de1d8
Parameter names in .model lines may be preceeded
by spaces, but also by '('
8 years ago
Holger Vogt
53bac06d11
.model replacement in ako (a kind of) model descriptions
in first level .subckt and top level only
8 years ago
Holger Vogt
d9dbde0593
replace the E source TABLE function by a B source pwl
(used by ST OpAmps and comparators)
8 years ago
Holger Vogt
10c69b8d05
replace S1 D S DG GND SWN by
a1 %v(DG) %gd(D S) swa
8 years ago
Holger Vogt
f25a307886
get the area factor for diodes and bipolar devices
8 years ago
Holger Vogt
9d8148edae
replace T_ABS by temp and T_REL_GLOBAL by dtemp in .model cards
8 years ago
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