Holger Vogt
|
a40ba9ec4e
|
add a comment
|
2018-05-22 21:18:53 +02:00 |
Holger Vogt
|
ae81481229
|
white spaces
|
2018-05-22 20:34:44 +02:00 |
Holger Vogt
|
7b6cd86a62
|
re-write vswitch transformation code:
first scan: check for each .model with vswitch
second scan: check for switch instances
(s lines) using the models
|
2018-05-22 20:19:50 +02:00 |
Holger Vogt
|
f9b11cd619
|
update to function pspice_compat(), concerning the VSWITCH replacement
only one .model replacement even for several s instances
firstly search in subcircuit at same level, then in top level
|
2018-05-21 23:34:36 +02:00 |
Holger Vogt
|
0cb71b21bb
|
move ngspice_compat_mode(void) to inpcom.c and make it static
|
2018-05-21 01:09:13 +02:00 |
h_vogt
|
e47ab87385
|
inpcom.c, multiplier 'm' in subcircuits: exclude all devices not supporting multiplier 'm'
|
2018-05-19 18:20:27 +02:00 |
h_vogt
|
2ece845f59
|
inpcom.c, responding to bug report 275 by Dominique Michel: commands plot, hardcopy: no lower case letters in tokens following xlabel, ylabel, title
|
2018-05-19 17:38:26 +02:00 |
Holger Vogt
|
5b18732af2
|
plug some memory leaks
|
2018-05-19 14:40:50 +02:00 |
Holger Vogt
|
a191697bd6
|
safeguard opening of file for debug output:
may be not allowed if caller is not started
in admin mode.
|
2018-05-19 14:40:41 +02:00 |
Holger Vogt
|
57156e16f6
|
remove tiny memory leaks in inp_compat()
|
2018-05-19 14:40:33 +02:00 |
Holger Vogt
|
5f5eacc48e
|
move skipping white spaces to fcn create_circbyline() now ' .end' is acknowledged
|
2018-05-19 14:40:23 +02:00 |
rlar
|
55b2a0218e
|
noise for behavioural resistor
|
2018-05-19 14:40:12 +02:00 |
Holger Vogt
|
65181ff5c3
|
enable token 'table' to occur at any place in e source line
|
2018-05-18 18:37:24 +02:00 |
Holger Vogt
|
ffb3800e34
|
Bug fix: B source pwl lines don't get special handling,
but standard numparam handling of {} tokens
|
2018-05-18 18:36:26 +02:00 |
Holger Vogt
|
c879294a8b
|
add comment
|
2018-05-18 18:27:49 +02:00 |
Holger Vogt
|
53bac06d11
|
.model replacement in ako (a kind of) model descriptions
in first level .subckt and top level only
|
2018-05-18 15:37:26 +02:00 |
Holger Vogt
|
d9dbde0593
|
replace the E source TABLE function by a B source pwl
(used by ST OpAmps and comparators)
|
2018-05-18 15:31:47 +02:00 |
Holger Vogt
|
10c69b8d05
|
replace S1 D S DG GND SWN by
a1 %v(DG) %gd(D S) swa
|
2018-05-18 15:25:19 +02:00 |
Holger Vogt
|
f25a307886
|
get the area factor for diodes and bipolar devices
|
2018-05-18 15:20:06 +02:00 |
Holger Vogt
|
9d8148edae
|
replace T_ABS by temp and T_REL_GLOBAL by dtemp in .model cards
|
2018-05-18 15:17:45 +02:00 |
Holger Vogt
|
13ca544d15
|
replace & with && and | with || and *# with * #
|
2018-05-18 15:15:38 +02:00 |
Holger Vogt
|
ae9cc17aff
|
add predefined parameters TEMP, VT after each subckt call
|
2018-05-18 15:12:22 +02:00 |
Holger Vogt
|
77814b8618
|
add predefined params TEMP, VT, GMIN to beginning of deck
add funcs limit, pwr, pwrs, stp, if, int
|
2018-05-18 15:10:15 +02:00 |
Holger Vogt
|
5ace7ff1fd
|
exclude simple e and h sources from getting a series voltage source
by undoing the name conversion
|
2018-05-16 08:16:22 +02:00 |
Holger Vogt
|
cfa473ad96
|
don't print NULL (deallocated lines)
|
2018-05-16 00:19:46 +02:00 |
Holger Vogt
|
9908b39d2b
|
make inp_compat_mode global
|
2018-05-16 00:15:29 +02:00 |
Holger Vogt
|
98fe623ba4
|
add function prototype pspice_compat
to deal with compatibility issues during loading
a PSPICE library
|
2018-05-16 00:14:31 +02:00 |
Holger Vogt
|
4aff986ee8
|
fix a bug, missing ;
|
2018-05-15 23:36:16 +02:00 |
Holger Vogt
|
429326e139
|
Add current measurement for device XYZ using I(XYZ)
|
2018-05-15 23:16:22 +02:00 |
rlar
|
dc604c75d5
|
inpcom.c, whitespace
|
2018-05-15 22:43:43 +02:00 |
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.
|
2018-05-15 22:43:23 +02:00 |
Holger Vogt
|
2f719f7401
|
function 'inp_vdmos_model' to process vdmos model lines towards ngspice compatibility
|
2018-05-04 20:34:32 +02:00 |
rlar
|
511cdd7188
|
struct card, #3/6, rename members from struct line to struct card
|
2018-02-17 19:15:53 +01:00 |
rlar
|
2b17f3292d
|
inpcom.c, inp_add_control_section(), upside down for readability
|
2017-06-25 14:37:13 +02:00 |
rlar
|
76bbaf4ac3
|
inpcom.c, inp_sort_params(), use insert_deck()
|
2017-06-25 14:37:13 +02:00 |
rlar
|
a26ec804cb
|
inpcom.c, inp_reorder_params_subckt(), introduce insert_deck()
|
2017-06-25 14:37:13 +02:00 |
rlar
|
c285602105
|
inpcom.c, inp_reorder_params_subckt(), reorder
|
2017-06-25 14:37:13 +02:00 |
rlar
|
bc62407226
|
inpcom.c, drop unused artefact xx_new_line()
|
2017-06-25 13:40:01 +02:00 |
rlar
|
1afa04b2d1
|
inpcom.c, insert_new_line(), inline xx_new_line()
|
2017-06-25 13:39:56 +02:00 |
rlar
|
5c7c278c3d
|
inpcom.c, inp_fix_subckt(), #4/4, drop redundant initialisations
|
2017-06-25 13:39:48 +02:00 |
rlar
|
c3e2c920ef
|
inpcom.c, inp_fix_subckt(), #3/4, drop 'last_param_card'
|
2017-06-25 13:39:41 +02:00 |
rlar
|
2aafc50608
|
inpcom.c, inp_fix_subckt(), #2/4, use insert_new_line()
|
2017-06-25 13:39:34 +02:00 |
rlar
|
dda35ef2a5
|
inpcom.c, inp_fix_subckt(), #1/4, rewrite 'append'
|
2017-06-25 13:39:27 +02:00 |
rlar
|
e75f48d91f
|
inpcom.c, insert_new_line(), allow NULL head
|
2017-06-25 13:00:39 +02:00 |
rlar
|
5ff5839296
|
inpcom.c, inp_stitch_continuation_lines(), rewrite for the following commit
|
2017-06-25 12:58:50 +02:00 |
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, ...);
|
2017-06-25 12:57:18 +02:00 |
rlar
|
38183b6167
|
inpcom.c, expand_section_ref(), #7/7, cleanup
|
2017-06-25 12:10:01 +02:00 |
rlar
|
dd155dd83e
|
inpcom.c, expand_section_ref(), #6/7, drop 'rest'
|
2017-06-25 12:09:21 +02:00 |
rlar
|
0f8fb4cf51
|
inpcom.c, expand_section_ref(), #5/7, drop 'newl'
|
2017-06-25 12:04:16 +02:00 |
rlar
|
a77db80a85
|
inpcom.c, expand_section_ref(), #4/7, drop 'cend', use 'c' instead
|
2017-06-25 12:03:39 +02:00 |