Commit Graph

6419 Commits

Author SHA1 Message Date
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
rlar 96fd864581 bsimcmg, benchmark, D is an instance parameters ! 2019-02-17 07:46:56 +01:00
rlar 6c52290193 bsimcmg, benchmark, TFIN FPITCH and L are instance parameters ! 2019-02-17 07:46:56 +01:00
rlar 1d0ff1391f bsimcmg, polish two benchmark files, to show temp dependency and 'GDS' 2019-02-17 07:46:56 +01:00
rlar 8989eabee2 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
2019-02-17 07:46:56 +01:00
rlar a831013a70 bsimcmg, workaround adms ddx() translation
ddx must be toplevel of an assignment
2019-02-17 07:46:55 +01:00
rlar d2b18e6fad modelcard.nmos.1, bsimcmg benchmark, 'D' is an instance parameter ! 2019-02-17 07:46:55 +01:00
rlar f3da01f0e7 fixme, point to the LSP change 2019-02-17 07:46:55 +01:00
rlar 9739f9983f 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
2019-02-17 07:46:54 +01:00
rlar 9628249962 ekv, use (*desc*) instead of (*info*), useless, they have none 2019-02-17 07:46:54 +01:00
rlar 7f8a7f1382 bjt504t, use (*desc*) instead of (*info*), useless, they have none 2019-02-17 07:46:54 +01:00
rlar cda2684857 hicum2, use (*desc*) instead of (*info*) 2019-02-17 07:46:54 +01:00
rlar e37047f8f7 hicum0, no (*ask*), use (*desc*) instead of (*info*) and workaround HICUMtype 2019-02-17 07:46:53 +01:00
rlar 46bc909bff psp102, drop (*ask*) 2019-02-17 07:46:53 +01:00
rlar 7a54ecf567 psp102, use (*desc*) instead of (*info*) 2019-02-17 07:46:53 +01:00
rlar 493e975d35 enforce compiler warning/error, when (*desc*) variable usage not anticipated 2019-02-17 07:46:52 +01:00
rlar 82d623a35a 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.
2019-02-17 07:46:52 +01:00
rlar ac263f9cc7 bsimcmg, edit benchmark_test files for first ngspice experiments
FIXME and beware,
  parameter LSP has a different default !
2019-02-17 07:46:52 +01:00
rlar bf333b9956 bsimcmg, introduce benchmark_test files, from Berkeley's BSIMCMG110.0.0_20160101.tar.gz 2019-02-17 07:46:52 +01:00
rlar 10f6e1fa37 %bsim6.el, receipe for bsimcmg testbench files 2019-02-17 07:46:51 +01:00
rlar 822de236d2 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
2019-02-17 07:46:51 +01:00
rlar aee03ec266 bsimcmg, adms workaround, transform Tempdep to a .va macro 2019-02-17 07:46:51 +01:00
rlar c4b8bc52f0 bsimcmg, adms workaround, transform hypmax to a .va macro 2019-02-17 07:46:50 +01:00
rlar b3fd560190 bsimcmg, adms workaround, transform hypsmooth to a .va macro 2019-02-17 07:46:50 +01:00
rlar 61fac01631 bsimcmg, adms workaround, transform lln to a .va macro 2019-02-17 07:46:50 +01:00
rlar b2f96c1c0a bsimcmg, adms workaround, transform lexp to a .va macro 2019-02-17 07:46:50 +01:00
rlar 4f9431311a dev.c, inp2m.c, inpdomod.c, introduce bsimcmg (use level 17) 2019-02-17 07:46:49 +01:00
rlar e967175f61 add bsimcmg.va to build system 2019-02-17 07:42:42 +01:00
rlar 7979fa151c bsimcmg, adms workaround, split T0 into two 2019-02-17 07:42:42 +01:00
rlar 5169fcb0d3 bsimcmg, adms workaround, split T1 into two 2019-02-17 07:42:42 +01:00
rlar 7e81a5e93f bsimcmg, adms workaround, split T2 into two 2019-02-17 07:42:42 +01:00
rlar 3e62b23c08 bsimcmg, adms workaround, split T3 into two 2019-02-17 07:42:41 +01:00
rlar 0d7a3838f5 bsimcmg, work around block_local variables, use the emacs macro 2019-02-17 07:42:41 +01:00
rlar 1a150044ce bsimcmg, work around block_local variables 2019-02-17 07:42:41 +01:00
rlar 6bf7af75f5 add bsimcmg, from Berkeley's BSIMCMG110.0.0_20160101.tar.gz 2019-02-17 07:42:40 +01:00
rlar aa5009fbe4 implement "case" 2019-02-17 07:42:40 +01:00
rlar b272e153c6 *.va, use $simparam("gmin") instead of the _circuit_gmin workaround 2019-02-17 07:42:40 +01:00