Commit Graph

5375 Commits

Author SHA1 Message Date
rlar d7bf7df8e9 simplify 2017-07-29 19:33:22 +02:00
rlar aede5f0b63 qa tests, avoid repeated exection of ngspice for version detection 2017-07-29 19:33:17 +02:00
rlar e6f76c1f43 fix "ngspice version detection implemented", configure in separate directory 2017-07-29 19:32:50 +02:00
rlar ca1a099b51 Revert "Revert "ngspice version detection implemented"" 2017-07-29 19:32:36 +02:00
rlar fb24e80363 Revert "ngspice version detection implemented"
does not work when "configured" in a separate working directory.

apart from that, repeatedly executing a ngspice solely to check the version
  is slow, and actually useless because the test harness is part of the Makefile
  and thus the version is known to be exactly that of the currently
  checked out commit.
2017-07-27 20:26:03 +02:00
rlar d3b5d5c275 partial revert commit "charge check added by Colin McAndrew"
which reintroduced deprecated perl syntax

> defined(@array) is deprecated ...
>   (Maybe you should just omit the defined()?)
2017-07-27 18:25:22 +02:00
dwarning afe027f8de bsim6 cmc qa test 2017-07-27 14:37:44 +02:00
dwarning f6218a3197 bsim6 cmc qa test 2017-07-27 14:36:32 +02:00
rlar 3b9c797e96 bsimcmg, benchmark, try to run cfrgeo.sp rdsgeo.sp and noise.sp 2017-07-24 20:45:08 +02:00
rlar dbef563f91 bsimcmg, benchmark, plot more stuff 2017-07-24 20:45:08 +02:00
rlar 290a1d517a bsimcmg, benchmark, D is an instance parameters ! 2017-07-24 20:45:08 +02:00
rlar 24500fd035 bsimcmg, benchmark, TFIN FPITCH and L are instance parameters ! 2017-07-24 20:45:07 +02:00
rlar 1320d5ac9c bsimcmg, polish two benchmark files, to show temp dependency and 'GDS' 2017-07-24 20:45:07 +02:00
rlar a51e876df3 bsimcmg_body.include, workaround incorrect adms derivative, GM, GDS, GMBS, FIXME !
adms doesn't seem to derive a "output" variable correctly.
  (was zero)

this fix is for GM, GDS, GMBS only,
  fixme, unknown which other variables suffer from the same problem
2017-07-24 20:45:07 +02:00
rlar ed17292b17 bsimcmg, workaround adms ddx() translation
ddx must be toplevel of an assignment
2017-07-24 20:45:07 +02:00
rlar 645eaa263e modelcard.nmos.1, bsimcmg benchmark, 'D' is an instance parameter ! 2017-07-24 20:45:07 +02:00
rlar 76fe6f8b61 fixme, point to the LSP change 2017-07-24 20:45:07 +02:00
rlar 9d0d90dad3 psp102, workaround adms ddx() translation
our adms .xml files do not support translation
of ddx() expressions, except at the toplevel in assignments.
  foo = ddx();         is supported
  foo = bar * ddx();   is not
2017-07-24 20:45:07 +02:00
rlar b9c85ccf6a ekv, use (*desc*) instead of (*info*), useless, they have none 2017-07-24 20:45:07 +02:00
rlar c7f5aef10e bjt504t, use (*desc*) instead of (*info*), useless, they have none 2017-07-24 20:45:07 +02:00
rlar 9ead7b0275 hicum2, use (*desc*) instead of (*info*) 2017-07-24 20:45:07 +02:00
rlar c59dedd7e0 hicum0, no (*ask*), use (*desc*) instead of (*info*) and workaround HICUMtype 2017-07-24 20:45:07 +02:00
rlar 77e437ca98 psp102, drop (*ask*) 2017-07-24 20:45:07 +02:00
rlar 56737e0fd4 psp102, use (*desc*) instead of (*info*) 2017-07-24 20:45:07 +02:00
rlar f334663d8a enforce compiler warning/error, when (*desc*) variable usage not anticipated 2017-07-24 20:45:07 +02:00
rlar 0d73c09724 try to allow access to (*desc*) exported values in the "state" vector
variables which are annotated with (*desc*) will be put into the "state"
vector. "OP" definitions for them will be emited, and the device_ask() function
will be extended to query these values.

issues:
  save @instance[varname]
is required,
otherwise, only the very last value will be saved in a "scalar" instead of
  all the results in a "vector"

there might well be issues with upper/lower case.
I lower-cased all variable names, because the ngspice frontend
  does so as well. but I've seen some parameters which are not lower-cased.
it might be these can not be accessed even though they are present,
  simply because it is not possible to "name" a non lower-cased thing.

this is merly a hack for bsimcmg,
  there was pretty not testing at all, and no consideration
  was given to the other models at all.
2017-07-24 20:45:07 +02:00
rlar bcd925db65 bsimcmg, edit benchmark_test files for first ngspice experiments
FIXME and beware,
  parameter LSP has a different default !
2017-07-24 20:45:06 +02:00
rlar fbfa4eabc0 bsimcmg, introduce benchmark_test files, from Berkeley's BSIMCMG110.0.0_20160101.tar.gz 2017-07-24 20:45:06 +02:00
rlar 749be07882 %bsim6.el, receipe for bsimcmg testbench files 2017-07-24 20:45:06 +02:00
rlar 334a132234 bsimcmg, adms workaround, remove L from default definition for LSP
L is an instance parameter, and 'here' is NULL when needed
you will need to explicitely set LSP, instead of relying on the default
2017-07-24 20:45:06 +02:00
rlar f50fa5089e bsimcmg, adms workaround, transform Tempdep to a .va macro 2017-07-24 20:45:06 +02:00
rlar 4017e8b939 bsimcmg, adms workaround, transform hypmax to a .va macro 2017-07-24 20:45:06 +02:00
rlar 2230fb7d45 bsimcmg, adms workaround, transform hypsmooth to a .va macro 2017-07-24 20:45:06 +02:00
rlar ecd8a1d019 bsimcmg, adms workaround, transform lln to a .va macro 2017-07-24 20:45:06 +02:00
rlar da6993d490 bsimcmg, adms workaround, transform lexp to a .va macro 2017-07-24 20:45:06 +02:00
rlar 0302eff390 dev.c, inp2m.c, inpdomod.c, introduce bsimcmg (use level 17) 2017-07-24 20:45:06 +02:00
rlar 7fb7bf7a42 add bsimcmg.va to build system 2017-07-24 20:45:06 +02:00
rlar 2d5998d24f bsimcmg, adms workaround, split T0 into two 2017-07-24 20:45:06 +02:00
rlar 82e3816a89 bsimcmg, adms workaround, split T1 into two 2017-07-24 20:45:06 +02:00
rlar d0a3b27c05 bsimcmg, adms workaround, split T2 into two 2017-07-24 20:45:06 +02:00
rlar 1412df7bb7 bsimcmg, adms workaround, split T3 into two 2017-07-24 20:45:06 +02:00
rlar f2b6d382ac bsimcmg, work around block_local variables, use the emacs macro 2017-07-24 20:45:05 +02:00
rlar 953f61b3e4 bsimcmg, work around block_local variables 2017-07-24 20:45:05 +02:00
rlar a307fbc535 add bsimcmg, from Berkeley's BSIMCMG110.0.0_20160101.tar.gz 2017-07-24 20:45:05 +02:00
rlar a0a90cc762 implement "case" 2017-07-24 20:45:05 +02:00
rlar 9decf5bd60 *.va, use $simparam("gmin") instead of the _circuit_gmin workaround 2017-07-24 20:45:05 +02:00
rlar a84592745b implement $simparam("gmin") 2017-07-24 20:45:05 +02:00
rlar b0fc16808f 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-07-24 20:45:05 +02:00
rlar fe43163b55 bsim6.va, disable __THERMAL_NODE__ and __SHMOD__
modify Benchmark accordingly,
there is no more "thermal" node
2017-07-24 20:45:05 +02:00
rlar 5f7b50c34b ngspiceMODULEguesstopology.c.xml, $vt
fixme, only because some dependency detection fails to drop an expression
  which might involve $vt ?
2017-07-24 20:45:05 +02:00