Commit Graph

6479 Commits

Author SHA1 Message Date
dwarning 59a511eec4 no noise model available 2019-05-16 11:22:41 +02:00
dwarning f54b687063 Remove unused spice model card 2019-05-13 17:14:03 +02:00
dwarning 73aa8d97d0 Remove unused development directories 2019-05-13 17:09:57 +02:00
Holger Vogt 908bd81b3d enable compiling ngspice with adms, using msys2/gcc
short readme about the origin of the branch
2019-02-17 09:38:17 +01:00
Holger Vogt 22331de936 noisean.c, resolve some formatting conflicts 2019-02-17 09:05:32 +01:00
Holger Vogt aa6a539e4d update to license, this ekv implementation now is under
modified BSD license.
2019-02-17 07:59:34 +01:00
Holger Vogt f195766495 adms has been rewritten by B. Fox, G. Torri,
and others and is now licensed under GPL.
2019-02-17 07:59:33 +01:00
Holger Vogt b1d511749b add license statements to the HICUM va files 2019-02-17 07:59:33 +01:00
Holger Vogt 7ff6131655 add adms
to be run as ./compile_min.sh 64
2019-02-17 07:59:33 +01:00
Holger Vogt cd1b8e06da examples/adms/bsimbulk, adapt to ngspice syntax 2019-02-17 07:59:33 +01:00
rlar 357cf21f75 examples/adms/bsimbulk, add unmodified example files from
http://bsim.berkeley.edu/BSIMBULK/BSIM-BULK_106.2.0_20170630.tgz
2019-02-17 07:59:32 +01:00
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