Commit Graph

6455 Commits

Author SHA1 Message Date
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
rlar c3d1e82be3 avoid excess termal node unconnected warning 2019-02-17 07:48:12 +01:00
rlar 2654ba1127 no more reset 2019-02-17 07:48:11 +01:00
rlar 09c8614cb2 port connected 2019-02-17 07:48:11 +01:00
rlar ab088aad1f care about $port_connected in adms.implicit.xml
and

Revert "adms workaround $port_connected"
2019-02-17 07:48:11 +01:00
rlar 9b574a3715 try to implement $port_connected (for temper node) 2019-02-17 07:48:11 +01:00
rlar f19fbac057 copy adms.implicit.xml from the adms sources 2019-02-17 07:48:10 +01:00
dwarning 7b536b648c Remove more adms generated files 2019-02-17 07:47:42 +01:00
dwarning 9a09e7bd38 Update to the latest MEXTRAM version 504.12.1 2019-02-17 07:47:42 +01:00
dwarning 4ff1665b91 New Disclaimer 2019-02-17 07:47:41 +01:00
dwarning feaf1fcd81 Old Disclaimer 2019-02-17 07:47:41 +01:00
dwarning 3d516a7a4c bsim6 cmc qa test 2019-02-17 07:47:41 +01:00
rlar 99b0b86dc7 bsimcmg, benchmark, try to run cfrgeo.sp rdsgeo.sp and noise.sp 2019-02-17 07:46:57 +01:00
rlar e92d5c481e bsimcmg, benchmark, plot more stuff 2019-02-17 07:46:57 +01:00