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
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
2f719f7401
function 'inp_vdmos_model' to process vdmos model lines towards ngspice compatibility
8 years ago
rlar
511cdd7188
struct card, #3/6, rename members from struct line to struct card
9 years ago
rlar
2b17f3292d
inpcom.c, inp_add_control_section(), upside down for readability
9 years ago
rlar
76bbaf4ac3
inpcom.c, inp_sort_params(), use insert_deck()
9 years ago
rlar
a26ec804cb
inpcom.c, inp_reorder_params_subckt(), introduce insert_deck()
9 years ago
rlar
c285602105
inpcom.c, inp_reorder_params_subckt(), reorder
9 years ago
rlar
bc62407226
inpcom.c, drop unused artefact xx_new_line()
9 years ago
rlar
1afa04b2d1
inpcom.c, insert_new_line(), inline xx_new_line()
9 years ago
rlar
5c7c278c3d
inpcom.c, inp_fix_subckt(), #4/4, drop redundant initialisations
9 years ago
rlar
c3e2c920ef
inpcom.c, inp_fix_subckt(), #3/4, drop 'last_param_card'
9 years ago
rlar
2aafc50608
inpcom.c, inp_fix_subckt(), #2/4, use insert_new_line()
9 years ago
rlar
dda35ef2a5
inpcom.c, inp_fix_subckt(), #1/4, rewrite 'append'
9 years ago
rlar
e75f48d91f
inpcom.c, insert_new_line(), allow NULL head
9 years ago
rlar
5ff5839296
inpcom.c, inp_stitch_continuation_lines(), rewrite for the following commit
9 years ago
rlar
420c023f56
inpcom.c, introduce insert_new_line()
use it to replace this pattern
foo = bar->li_next = xx_new_line(bar->li_next, ...);
with
foo = insert_newline(bar, ...);
9 years ago
rlar
38183b6167
inpcom.c, expand_section_ref(), #7/7, cleanup
9 years ago
rlar
dd155dd83e
inpcom.c, expand_section_ref(), #6/7, drop 'rest'
9 years ago
rlar
0f8fb4cf51
inpcom.c, expand_section_ref(), #5/7, drop 'newl'
9 years ago
rlar
a77db80a85
inpcom.c, expand_section_ref(), #4/7, drop 'cend', use 'c' instead
9 years ago
rlar
0c94a651ee
inpcom.c, expand_section_ref(), #3/7, simplify
9 years ago
rlar
26d878748d
inpcom.c, expand_section_ref(), #2/7, t == section_def ==> cend == c
9 years ago
rlar
7f2cf192b6
inpcom.c, expand_section_ref(), #1/7, cend != NULL === t != section_def
9 years ago
rlar
a51c1aba2c
inpcom.c, inp_read(), #2/2, rewrite xx_new_line() insertion
using the fact
end->li_next === NULL
9 years ago
rlar
5c3dac41d9
inpcom.c, inp_read(), #1/2, rewrite 'append' to 'end'
9 years ago
rlar
ed39305da0
inpcom.c, inp_add_series_resistor(), simplify xx_new_line() insertion
9 years ago
rlar
9eddd1d80f
inpcom.c, inp_add_control_section(), #2/2, rewrite xx_new_line() insertion
9 years ago
rlar
4ad53f0de8
inpcom.c, inp_add_control_section(), #1/2, emphasise two assertions
9 years ago
rlar
4ff9c0c166
inpcom.c, inp_chk_for_multi_in_vcvs(), #6/6, drop 'model_card'
9 years ago
rlar
d773b73f76
inpcom.c, inp_chk_for_multi_in_vcvs(), #5/6, drop 'next_card', deploy its value temporarily in the new line's li_next slot
9 years ago
rlar
3b55d2af40
inpcom.c, inp_chk_for_multi_in_vcvs(), #4/6, drop 'a_card', reuse the unused 'c' instead
9 years ago
rlar
634b012492
inpcom.c, inp_chk_for_multi_in_vcvs(), #3/6, xx_new_line() shall fill the li_next slot
9 years ago
rlar
e9e9e5d55e
inpcom.c, inp_chk_for_multi_in_vcvs(), #2/6, move code downwards
9 years ago
rlar
c83b0544de
inpcom.c, inp_chk_for_multi_in_vcvs(), #1/6, skip lines
9 years ago
rlar
e81560de1a
inpcom.c, drop the local 'new_line' variable
9 years ago
rlar
b21b4170b2
inpcom.c, simplify the insertion of new lines/decks quite a bit
9 years ago
rlar
2972953336
inpcom.c, reorder initialisation
initialise param_beg and param_end before they will be used,
instead of "afterwards" in preparation for the next following usage.
and move the "comment out" up some lines, think that way:
comment out original line, append new line, ...
9 years ago