Commit Graph

5420 Commits

Author SHA1 Message Date
dwarning 653e867b4f complete the atan2 handling and parameter checking 2017-09-22 11:35:46 +02:00
dwarning 6be311f3f8 add the atan2 derivatives 2017-09-21 15:28:18 +02:00
dwarning aac7415800 remove individual development files 2017-09-20 18:42:15 +02:00
dwarning 7dbfd31b0e find a convenient place for examples 2017-09-20 18:42:04 +02:00
dwarning a065504766 bsimcmg_benchmark_test, remove unwanted files 2017-09-20 18:39:35 +02:00
dwarning b9b8ae0998 This is the mextram qa test 2017-09-20 18:26:23 +02:00
rlar 2e8ca19bb8 whitespace for "introduce rcxxx limiting as long as adms can't node collapsing" 2017-09-20 18:26:13 +02:00
dwarning f085ac43ee introduce rcxxx limiting as long as adms can't node collapsing 2017-09-20 18:25:41 +02:00
dwarning f75260cba8 omit operating point information as long as adms can't handle it 2017-09-20 17:53:15 +02:00
dwarning 9a4d1ec2db no need for spice3f5 workaround in 1 point noise analysis 2017-09-20 17:53:15 +02:00
dwarning 6be295c82e catch noise sweeps with 1 point and handle erronous 0 points 2017-09-20 17:53:15 +02:00
rlar d4a6b0841b white spaces 2017-09-20 17:53:15 +02:00
rlar 64ada165a8 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
2017-09-20 17:53:15 +02:00
rlar ff6116733e avoid excess termal node unconnected warning 2017-09-20 17:53:14 +02:00
rlar 4beaf1c2e9 no more reset 2017-09-20 17:53:14 +02:00
rlar 32ab094ff9 port connected 2017-09-20 17:53:14 +02:00
rlar 1bb4f3932d care about $port_connected in adms.implicit.xml
and

Revert "adms workaround $port_connected"
2017-09-20 17:53:14 +02:00
rlar 72d8186927 try to implement $port_connected (for temper node) 2017-09-20 17:53:14 +02:00
rlar 080f5e83a9 copy adms.implicit.xml from the adms sources 2017-09-20 17:53:14 +02:00
dwarning dd0d563909 Remove more adms generated files 2017-09-20 17:53:14 +02:00
dwarning 273118e8e5 Update to the latest MEXTRAM version 504.12.1 2017-09-20 17:53:13 +02:00
dwarning 89477df6fb New Disclaimer 2017-09-20 17:52:18 +02:00
dwarning 349a5c850c Old Disclaimer 2017-09-19 21:09:38 +02:00
dwarning 4c002e4890 bsim6 cmc qa test 2017-09-19 21:08:49 +02:00
rlar 5c16c0f355 bsimcmg, benchmark, try to run cfrgeo.sp rdsgeo.sp and noise.sp 2017-09-19 21:08:49 +02:00
rlar 64e7cd21f1 bsimcmg, benchmark, plot more stuff 2017-09-19 21:08:49 +02:00
rlar ff0e2c7cb8 bsimcmg, benchmark, D is an instance parameters ! 2017-09-19 21:08:49 +02:00
rlar c0f8d6df9a bsimcmg, benchmark, TFIN FPITCH and L are instance parameters ! 2017-09-19 21:08:49 +02:00
rlar 9dee4cd6ef bsimcmg, polish two benchmark files, to show temp dependency and 'GDS' 2017-09-19 21:08:49 +02:00
rlar 9770a4fd99 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-09-19 21:08:49 +02:00
rlar 24746d0798 bsimcmg, workaround adms ddx() translation
ddx must be toplevel of an assignment
2017-09-19 21:08:49 +02:00
rlar eea01d0b91 modelcard.nmos.1, bsimcmg benchmark, 'D' is an instance parameter ! 2017-09-19 21:08:48 +02:00
rlar b6cd3c5d6f fixme, point to the LSP change 2017-09-19 21:08:48 +02:00
rlar 5a7ee648e2 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-09-19 21:08:48 +02:00
rlar d2a06bc520 ekv, use (*desc*) instead of (*info*), useless, they have none 2017-09-19 21:08:48 +02:00
rlar 64ba3455e2 bjt504t, use (*desc*) instead of (*info*), useless, they have none 2017-09-19 21:08:48 +02:00
rlar e178b043ff hicum2, use (*desc*) instead of (*info*) 2017-09-19 21:08:48 +02:00
rlar 9992c46028 hicum0, no (*ask*), use (*desc*) instead of (*info*) and workaround HICUMtype 2017-09-19 21:08:48 +02:00
rlar 0ada8ade07 psp102, drop (*ask*) 2017-09-19 21:08:47 +02:00
rlar 5d2f4550b4 psp102, use (*desc*) instead of (*info*) 2017-09-19 21:08:47 +02:00
rlar 36b893b48b enforce compiler warning/error, when (*desc*) variable usage not anticipated 2017-09-19 21:08:47 +02:00
rlar 46d0d3bad0 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-09-19 21:08:47 +02:00
rlar 3b56c65d7f bsimcmg, edit benchmark_test files for first ngspice experiments
FIXME and beware,
  parameter LSP has a different default !
2017-09-19 21:08:47 +02:00
rlar a0f98b4e9b bsimcmg, introduce benchmark_test files, from Berkeley's BSIMCMG110.0.0_20160101.tar.gz 2017-09-19 21:08:47 +02:00
rlar 5e04881367 %bsim6.el, receipe for bsimcmg testbench files 2017-09-19 21:08:47 +02:00
rlar 438f017c3a 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-09-19 21:08:47 +02:00
rlar d03d47b389 bsimcmg, adms workaround, transform Tempdep to a .va macro 2017-09-19 21:08:46 +02:00
rlar bb3287ae11 bsimcmg, adms workaround, transform hypmax to a .va macro 2017-09-19 21:08:46 +02:00
rlar b348f11feb bsimcmg, adms workaround, transform hypsmooth to a .va macro 2017-09-19 21:08:46 +02:00
rlar da21a6ad65 bsimcmg, adms workaround, transform lln to a .va macro 2017-09-19 21:08:46 +02:00