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
rlar
91594fde26
bsim6.va from bsim 6.1.1, see %bsim6.el
2017-09-19 21:00:24 +02:00
Guilherme Brondani Torri
c5c15cd576
Add bsim6.va to build system
2017-09-19 21:00:23 +02:00
rlar
f55468debd
auxiliary my.mak files and %bsim6.el
2017-09-19 21:00:23 +02:00
Guilherme Brondani Torri
c708d64877
register BSIM6 on adms ngspice interface
...
$./autogen.sh --adms
...
[fatal..] bsim6: device not handled by the adms ngspice interface
[fatal..] see [../admst/ngspiceVersion.xml:2120]
2017-09-19 21:00:23 +02:00
rlar
b7adeed858
avoid unneccessairy diff noise (due to currentdate) in the adms generated files
2017-09-19 20:59:54 +02:00
Francesco Lannutti
af7ab797c2
build-for-mac-os.sh, script to build ngspice under MacOS
2017-09-17 08:48:28 +02:00
rlar
3f9e79925e
tests/bin/check.sh, process MINGW and MSYS test results like Linux
2017-09-16 20:42:17 +02:00
rlar
91c60c28df
whitespace change, avoid gcc warnings due to missleading indentation
2017-09-16 20:38:27 +02:00
h_vogt
b3827f6488
gnuplot.c, correct the setting of limits in log plots
2017-09-16 20:37:24 +02:00