Holger Vogt
35b6c1b797
extend the previous renaming commit
2019-02-17 07:59:32 +01:00
rlar
4273e6de6c
git mv tests/bsim6 tests/bsimbulk
2019-02-17 07:59:31 +01:00
rlar
ada0405970
bsimbulk.va, adms workaround, beware of `<+ ddt(...)'
...
if there is a ddt() expression in the rhs
lhs <+ rhs
then adms might not set the matrix correctly.
It seems to work though, if ddt() is the only expression in rhs.
2019-02-17 07:59:31 +01:00
Holger Vogt
4c2438d5fe
bsimbulk.va, adms workaround, don't use local variables
2019-02-17 07:59:30 +01:00
Holger Vogt
7bbc32524b
bsimbulk.va, adms workaround, avoid %M format (hierarchical name)
...
which is not implemented
2019-02-17 07:59:30 +01:00
Holger Vogt
a559a72682
bsimbulk.va, adms workaround, split variables
2019-02-17 07:59:30 +01:00
Holger Vogt
ab95958989
bsimbulk.va, adms workaround, avoid `for' loop
2019-02-17 07:59:29 +01:00
Holger Vogt
171c900e72
switch from bsim6 to bsimbulk
2019-02-17 07:59:29 +01:00
rlar
8316c3b84d
switch from bsim6.va to bsimbulk.va version 106.2.0
...
bsimbulk.va is unmodified fetched from
http://bsim.berkeley.edu/BSIMBULK/BSIM-BULK_106.2.0_20170630.tgz
2019-02-17 07:59:29 +01:00
Holger Vogt
86fd7dbed5
ngspiceMODULE.hxx.xml, $finish, use controlled_exit()
...
instead of exit()
2019-02-17 07:59:28 +01:00
dwarning
a0ca6556d1
update mos level schema referring the new va models
2019-02-17 07:59:28 +01:00
rlar
407a067a1f
admsva/bsim6.va, avoid singular matrix when shmod==0
...
Tie the temp node to ground,
if there is no Pwr(t) contribution at all and __SHMOD__ is defined.
(avoid singular matrix, when either SHMOD=0 or RTH0 <= 0)
2019-02-17 07:59:28 +01:00
rlar
3804072584
admsva/bsim6.va, workaround adms issue, (beware of `<+ ddt(...)')
...
if there is a ddt() expression in the rhs
lhs <+ rhs
then adms might not set the matrix correctly.
It seems to work though, if ddt() is the only expression in rhs.
Note, in bsim6.va
the matrix slot [temp-node][temp-node] would need to be populated
with the `gth' term. (see mdump)
with the original expression this term disappeared.
2019-02-17 07:59:27 +01:00
rlar
ae478c35ce
admsva/bsim6.va, avoid uninitialised variables local_sca/scb/scc
...
When WPEMOD isn't set, local_sca/scb/scc have been used uninitialised.
Lets assume 0.0 might be a reasonable value to be used.
2019-02-17 07:59:27 +01:00
rlar
ec088eb4bb
ngspiceMODULEsetup.c.xml, allocate instance node too
...
If an instance node is "optional" then we might need to
allocate it ourself just the same as so called "internal" nodes.
Notably in bsim6.va the optional thermal node might be needed
when shmod is used, even if unconnected.
2019-02-17 07:59:27 +01:00
rlar
b0bc524b88
admsva/bsim6.va, enable __SHMOD__, need to split more variables
2019-02-17 07:59:26 +01:00
rlar
47644614c8
badcode1, .va testcase exposing adms split-personality variables
...
not integrated into configure.ac
because of its purpose to fail compilation.
recipe:
(compile "cd src/spicelib/devices/adms/badcode1/admsva && make -if my.mak to")
2019-02-17 07:59:26 +01:00
rlar
5e3696992d
fixme, test again, with "instance parameters" on their original .model line
...
that is, undo these commits:
a57359e * bsimcmg_benchmark_test, remove unwanted files
1c02864 * bsimcmg, benchmark, D is an instance parameters !
6881264 * bsimcmg, benchmark, TFIN FPITCH and L are instance parameters !
1f5b6e7 * modelcard.nmos.1, bsimcmg benchmark, 'D' is an instance parameter !
2019-02-17 07:59:26 +01:00
rlar
305d004c38
admst/ngspice*.xml, use _f prefix
...
to avoid name collision with well known function names
actually the leading underscore itself is reserved
2019-02-17 07:59:25 +01:00
rlar
e17f2ea54b
analogfunction.xml, use _fn prefix
...
to avoid name collision with well known function names
actually the leading underscore itself is reserved
2019-02-17 07:59:25 +01:00
rlar
75889e51e7
ngspiceMODULE.hxx.xml, remove unused template "c:analogfunction:math_h"
2019-02-17 07:59:25 +01:00
rlar
12cbb8bf9b
Revert "bsim6.va, macro for hypsmooth, to avoid derivatives of this function"
2019-02-17 07:59:24 +01:00
rlar
b6f5cfb8ac
Revert "bsim6.va, macro for lexp to avoid derivatives"
2019-02-17 07:59:24 +01:00
rlar
2720b9a3ed
Revert "bsim6.va, macro for lln, to avoid derivatives of this function"
2019-02-17 07:59:24 +01:00
rlar
e480f3df0d
Revert "bsimcmg, adms workaround, transform lexp to a .va macro"
2019-02-17 07:59:24 +01:00
rlar
f0a102f83e
Revert "bsimcmg, adms workaround, transform lln to a .va macro"
2019-02-17 07:59:23 +01:00
rlar
2639b36f2b
Revert "bsimcmg, adms workaround, transform hypsmooth to a .va macro"
2019-02-17 07:59:23 +01:00
rlar
019455eb0f
Revert "bsimcmg, adms workaround, transform hypmax to a .va macro"
2019-02-17 07:59:23 +01:00
rlar
a5441eddb9
Revert "bsimcmg, adms workaround, transform Tempdep to a .va macro"
2019-02-17 07:59:22 +01:00
rlar
9a5a1a837b
analogfunction.xml, static inline auxiliary functions to avoid redefinition
2019-02-17 07:59:22 +01:00
rlar
115e51aa47
make use of analogfunction.xml
2019-02-17 07:59:22 +01:00
rlar
4598f9fc53
polish analogfunction.xml, and dont use config.h
2019-02-17 07:59:21 +01:00
rlar
82042b614c
fixup for "unify the module prefix for analogfunction.[ch] filenames"
2019-02-17 07:59:21 +01:00
rlar
6564e99ecb
analogfunction.xml, indentation
2019-02-17 07:59:21 +01:00
rlar
5c187ce061
fixme, guesstopology uses a different $(module) variable compared to the other
...
inconsistency,
will pop up at various places, for example in the wrapper
#ifndef XXX_include_h
#endif
2019-02-17 07:59:20 +01:00
rlar
51ef13d189
unify the module prefix for analogfunction.[ch] filenames
...
this is an extension of commit
fixup commit "Remove more adms generated files", ...
2019-02-17 07:59:20 +01:00
rlar
80521cc3cf
fixup commit "Remove more adms generated files", FIXME $(module).analogfunction.c
...
FIXME:
$(module).analogfunction.c and .h is sick, it is not part of
lib$(module)_la_SOURCES
thus generated .c code which is not neaded at all !
2019-02-17 07:59:20 +01:00
rlar
221ff6c805
fixup previous commit, FIXME! the defines better should be inlines for savety
2019-02-17 07:59:19 +01:00
dwarning
163d178924
complete the atan2 handling and parameter checking
2019-02-17 07:59:19 +01:00
dwarning
67d52e8cba
add the atan2 derivatives
2019-02-17 07:59:18 +01:00
dwarning
a4f696720c
remove individual development files
2019-02-17 07:59:18 +01:00
dwarning
db25f4da07
find a convenient place for examples
2019-02-17 07:59:18 +01:00
dwarning
ba49d23b3e
bsimcmg_benchmark_test, remove unwanted files
2019-02-17 07:59:17 +01:00
dwarning
922ef9b38f
This is the mextram qa test
2019-02-17 07:59:17 +01:00
rlar
9661c4cca6
whitespace for "introduce rcxxx limiting as long as adms can't node collapsing"
2019-02-17 07:59:16 +01:00
dwarning
6ac699f08e
introduce rcxxx limiting as long as adms can't node collapsing
2019-02-17 07:59:16 +01:00
dwarning
4bfc00ddd4
omit operating point information as long as adms can't handle it
2019-02-17 07:59:16 +01:00
dwarning
06f97c1707
no need for spice3f5 workaround in 1 point noise analysis
2019-02-17 07:59:15 +01:00
rlar
b3e50a0884
white spaces
2019-02-17 07:59:15 +01:00
rlar
c757dbdd2b
bsimcmg, LSP issue
...
LSP is declared to be a "module" parameter,
yet has a default value which is calculated
from a "instance" parameter "L"
and a "model" parameter "XL"
which necessairly means, LSP is a "instance" parameter.
to avoid excessive divertion from the original source,
we use a local variable "LSP_i" which is set either to the default value
calculated from XL and L, or to the user specified "LSP" model parameter
2019-02-17 07:48:12 +01:00