rlar
8d314dc341
add bsimcmg.va to build system
2017-09-19 21:08:46 +02:00
rlar
8a29ab57aa
bsimcmg, adms workaround, split T0 into two
2017-09-19 21:08:46 +02:00
rlar
510e7d60ab
bsimcmg, adms workaround, split T1 into two
2017-09-19 21:08:45 +02:00
rlar
712e47f0f2
bsimcmg, adms workaround, split T2 into two
2017-09-19 21:08:45 +02:00
rlar
75044d6b45
bsimcmg, adms workaround, split T3 into two
2017-09-19 21:08:45 +02:00
rlar
199796789d
bsimcmg, work around block_local variables, use the emacs macro
2017-09-19 21:08:45 +02:00
rlar
d1a4854f40
bsimcmg, work around block_local variables
2017-09-19 21:08:45 +02:00
rlar
f9cdd728f5
add bsimcmg, from Berkeley's BSIMCMG110.0.0_20160101.tar.gz
2017-09-19 21:08:39 +02:00
rlar
a17003eae3
implement "case"
2017-09-19 21:00:29 +02:00
rlar
490ee2c392
*.va, use $simparam("gmin") instead of the _circuit_gmin workaround
2017-09-19 21:00:28 +02:00
rlar
757aa27e6f
implement $simparam("gmin")
2017-09-19 21:00:28 +02:00
rlar
bffe1242ed
fix usage of template function:getname
...
this template exists in two variants,
one in ngspiceVersion.xml, which returns the value on the stack
one in ngspiceMODuLE.hxx.xml, which returns the value as a 'returned' path
This particular place got the two mixed up
2017-09-19 21:00:28 +02:00
rlar
75ba43e269
bsim6.va, disable __THERMAL_NODE__ and __SHMOD__
...
modify Benchmark accordingly,
there is no more "thermal" node
2017-09-19 21:00:28 +02:00
rlar
e593b81c21
ngspiceMODULEguesstopology.c.xml, $vt
...
fixme, only because some dependency detection fails to drop an expression
which might involve $vt ?
2017-09-19 21:00:28 +02:00
rlar
0c877749e4
minor, readability, missing newline
2017-09-19 21:00:28 +02:00
dwarning
e907405e21
add spice gmin parameter to drain and source junction current
2017-09-19 21:00:28 +02:00
dwarning
6c9e6921a5
remove obsolete sti and wpe model parameter
2017-09-19 21:00:28 +02:00
rlar
d2e7f3a061
ngspiceMODULEdefs.h.xml, disable EXIT_IF_ISNAN()
...
don't exit() on NaN
a NaN is not necessairily a desaster,
might be merely a sign for non-convergence,
which still might be overcome in another try.
The bsim6 testbench case inverter_transient.sp was
unnecessairily aborted do to NaN's
2017-09-19 21:00:28 +02:00
rlar
496028e288
Benchmark_test, modify for ngspice
2017-09-19 21:00:27 +02:00
rlar
c9d24b2e3e
add Benchmark_test for BSIM6 from Berkeley
2017-09-19 21:00:27 +02:00
rlar
09d632bc0d
work around, 'define __TERMAL_NODE__ in bsim6.va, first successfull plot
...
to work around dangling "temper" node in bsim6
fixme, adms populates the termal node slot in the matrix even though
__TERMAL_NODE__ was not defined, leading to a singular matrix.
fixme, adms
$port_connected
is not supported, thus just claim it to be connected.
inp2m.c, upgrade to allow bsim6 with 5 nodes
2017-09-19 21:00:27 +02:00
rlar
373a099ac5
temporary, make the failing nodes identifyable
2017-09-19 21:00:27 +02:00
rlar
226283776d
very first testcase, of course it fails
2017-09-19 21:00:27 +02:00
rlar
973b4d12e1
inptyplk.c, INPtypelook(), ignore case when comparing modelname
...
"bsim6" is in lower case in bsim6init.c
2017-09-19 21:00:27 +02:00
rlar
941b9237c2
ngspiceMODULEdefs.h.xml, add min max for the sake of XXXguesstopology.c
2017-09-19 21:00:27 +02:00
Guilherme Brondani Torri
2533969504
fix callfunction
...
* handle $strobe
* handle $finish
* others throw error
2017-09-19 21:00:27 +02:00
rlar
26d30b006e
bsim6.va, macro for lln, to avoid derivatives of this function
2017-09-19 21:00:26 +02:00
rlar
588fc0aacc
bsim6.va, macro for lexp to avoid derivatives
...
fixme, adsmXml can't do
a ? b : c ? d : e
needs parentheses
a ? b : (c ? d : e)
bug in parser
2017-09-19 21:00:26 +02:00
rlar
9de87aa950
bsim6.va, macro for hypsmooth, to avoid derivatives of this function
2017-09-19 21:00:26 +02:00
rlar
26e70307d7
dev.c and inp2m.c, bsim6 is level 16 ?!
2017-09-19 21:00:26 +02:00
rlar
b1f6874e83
r2_cmcguesstopology.c, r2_cmc.va, block local does not work
2017-09-19 21:00:26 +02:00
rlar
551c539037
fix $given and $param_given
2017-09-19 21:00:26 +02:00
rlar
e320a418a6
ngspiceMODULE.hxx.xml, add BOLTZMANN and ELECTON_CHARGE
2017-09-19 21:00:26 +02:00
rlar
fcc3be4ab2
ngspiceMODULE.hxx.xml, add asinh etc derivative (fixme acosh atanh incomplete)
2017-09-19 21:00:26 +02:00
rlar
66fb0df528
ngspiceMODULE.hxx.xml, $finish and test with r2_cmc.va
2017-09-19 21:00:25 +02:00
rlar
a74c994bc3
bsim6.va, work around body local vars (topology.c)
...
again OPdependent related
2017-09-19 21:00:25 +02:00
rlar
9490cb0a11
bsim6.va, split temporary variable T0 into two variables
...
to avoid a dependency related problem in the xml files.
T0 and T0y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2017-09-19 21:00:25 +02:00
rlar
42875231e5
bsim6.va, split temporary variable T1 into two variables
...
to avoid a dependency related problem in the xml files.
T1 and T1y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2017-09-19 21:00:25 +02:00
rlar
c0761ed54a
bsim6.va, split temporary variable T2 into two variables
...
to avoid a dependency related problem in the xml files.
T2 and T2y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2017-09-19 21:00:25 +02:00
rlar
8db5b67d92
bsim6.va, split temporary variable T3 into two variables
...
to avoid a dependency related problem in the xml files.
T3 and T3y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2017-09-19 21:00:25 +02:00
Guilherme Brondani Torri
6c6d8cc932
avoid escape sequence %M, show hierarchical name
...
* it will cause printf to fail
2017-09-19 21:00:25 +02:00
rlar
fd016412cb
bsim6.va, work around "case"
2017-09-19 21:00:25 +02:00
rlar
db2e63fc13
bsim6.va, work around "for" (in guesstopology ?)
2017-09-19 21:00:24 +02:00
rlar
c935888327
scrub analoffunction.xml, (anti cpp)
2017-09-19 21:00:24 +02:00
Guilherme Brondani Torri
8e2a0e6486
analogfunction, rename generated file from .cpp to .c
2017-09-19 21:00:24 +02:00
Guilherme Brondani Torri
e74f0f4386
analogfunction, rename included file from [module]defs.h
2017-09-19 21:00:24 +02:00
rlar
d06fadde31
analogfunction.xml, name collission, rename function:getname and c:math_h
...
these would shadow definitions in ngspiceVersion.xml
2017-09-19 21:00:24 +02:00
rlar
eea9b3b4e2
extend "add analogfunction.xml from Qucs"
2017-09-19 21:00:24 +02:00
Guilherme Brondani Torri
40db516cdc
add analogfunction.xml from Qucs
...
* This script creates a header and source [module].analogfuncion.[h.cpp]
containing functions defined on the body of the Verilog-A model
2017-09-19 21:00:24 +02:00
Guilherme Brondani Torri
b7328145d3
add modulus symbol, multmod
2017-09-19 21:00:24 +02:00