Commit Graph

5317 Commits

Author SHA1 Message Date
rlar ea2884e4ba very first testcase, of course it fails 2017-07-24 20:45:04 +02:00
rlar 89e9e317f5 inptyplk.c, INPtypelook(), ignore case when comparing modelname
"bsim6" is in lower case in bsim6init.c
2017-07-24 20:45:04 +02:00
rlar ae8c1b8e7d ngspiceMODULEdefs.h.xml, add min max for the sake of XXXguesstopology.c 2017-07-24 20:45:04 +02:00
Guilherme Brondani Torri c768f71ea3 fix callfunction
* handle $strobe
* handle $finish
* others throw error
2017-07-24 20:45:04 +02:00
rlar 1b134a7bc7 bsim6.va, macro for lln, to avoid derivatives of this function 2017-07-24 20:45:04 +02:00
rlar c01ebb1783 bsim6.va, macro for lexp to avoid derivatives
fixme, adsmXml can't do
  a ? b : c ? d : e
needs parentheses
  a ? b : (c ? d : e)
bug in parser
2017-07-24 20:45:04 +02:00
rlar fe985453bc bsim6.va, macro for hypsmooth, to avoid derivatives of this function 2017-07-24 20:45:04 +02:00
rlar 7629cf83a8 dev.c and inp2m.c, bsim6 is level 16 ?! 2017-07-24 20:45:04 +02:00
rlar 4c31c768d7 r2_cmcguesstopology.c, r2_cmc.va, block local does not work 2017-07-24 20:45:04 +02:00
rlar 455e74cd4f fix $given and $param_given 2017-07-24 20:45:04 +02:00
rlar 097a78c130 ngspiceMODULE.hxx.xml, add BOLTZMANN and ELECTON_CHARGE 2017-07-24 20:45:04 +02:00
rlar 8b2aa56cb0 ngspiceMODULE.hxx.xml, add asinh etc derivative (fixme acosh atanh incomplete) 2017-07-24 20:45:04 +02:00
rlar 3c90eef07a ngspiceMODULE.hxx.xml, $finish and test with r2_cmc.va 2017-07-24 20:45:04 +02:00
rlar 0a7a34c869 bsim6.va, work around body local vars (topology.c)
again OPdependent related
2017-07-24 20:45:03 +02:00
rlar db3e92ab1e bsim6.va, split temporary variable T0 into two variables
to avoid a dependency related problem in the xml files.
T0 and T0y, one of them have the OPdependent flag set
  which surpresses variable declarations to be emited.
2017-07-24 20:45:03 +02:00
rlar 198eb0fd6f bsim6.va, split temporary variable T1 into two variables
to avoid a dependency related problem in the xml files.
T1 and T1y, one of them have the OPdependent flag set
  which surpresses variable declarations to be emited.
2017-07-24 20:45:03 +02:00
rlar 7ea7c84a59 bsim6.va, split temporary variable T2 into two variables
to avoid a dependency related problem in the xml files.
T2 and T2y, one of them have the OPdependent flag set
  which surpresses variable declarations to be emited.
2017-07-24 20:45:03 +02:00
rlar fa538f4e84 bsim6.va, split temporary variable T3 into two variables
to avoid a dependency related problem in the xml files.
T3 and T3y, one of them have the OPdependent flag set
  which surpresses variable declarations to be emited.
2017-07-24 20:45:03 +02:00
Guilherme Brondani Torri ca02cf3492 avoid escape sequence %M, show hierarchical name
* it will cause printf to fail
2017-07-24 20:45:03 +02:00
rlar 56355eca9e bsim6.va, work around "case" 2017-07-24 20:45:03 +02:00
rlar a6ce771ca2 bsim6.va, work around "for" (in guesstopology ?) 2017-07-24 20:45:03 +02:00
rlar 371de5f9ef scrub analoffunction.xml, (anti cpp) 2017-07-24 20:45:03 +02:00
Guilherme Brondani Torri 05101b96fb analogfunction, rename generated file from .cpp to .c 2017-07-24 20:45:03 +02:00
Guilherme Brondani Torri f6c68e986e analogfunction, rename included file from [module]defs.h 2017-07-24 20:45:03 +02:00
rlar a83e21350c analogfunction.xml, name collission, rename function:getname and c:math_h
these would shadow definitions in ngspiceVersion.xml
2017-07-24 20:45:03 +02:00
rlar f6c477a617 extend "add analogfunction.xml from Qucs" 2017-07-24 20:45:03 +02:00
Guilherme Brondani Torri e7527781cf add analogfunction.xml from Qucs
* This script creates a header and source [module].analogfuncion.[h.cpp]
  containing functions defined on the body of the Verilog-A model
2017-07-24 20:45:03 +02:00
Guilherme Brondani Torri 7565c3590a add modulus symbol, multmod 2017-07-24 20:45:03 +02:00
rlar b49c241e83 bsim6.va from bsim 6.1.1, see %bsim6.el 2017-07-24 20:45:03 +02:00
Guilherme Brondani Torri 2a97a67432 Add bsim6.va to build system 2017-07-24 20:45:02 +02:00
rlar 79c35a8813 avoid unneccessairy diff noise (due to currentdate) in the adms generated files 2017-07-24 20:45:02 +02:00
rlar 8719f03207 auxiliary my.mak files and %bsim6.el 2017-07-24 20:45:02 +02:00
Guilherme Brondani Torri 7aa137cba8 register BSIM6 on adms ngspice interface
$./autogen.sh --adms
...
[fatal..] bsim6: device not handled by the adms ngspice interface
[fatal..] see [../admst/ngspiceVersion.xml:2120]
2017-07-24 20:45:02 +02:00
dwarning 28f075537b bjt and diode: examples for plotting small signal parametersin a dc sweep 2017-07-23 20:08:32 +02:00
dwarning 4257bf8ecb bjt and diode: allow plotting of small signal parameter like charges, capacitances and conductances in dc sweeps 2017-07-23 20:02:51 +02:00
rlar def49ac415 dio/diotemp.c, drop DIOgradingCoeff limit
Used to be limited to a maximum of 0.9
Varactors may need much larger values.

Thanks to Wang You for hinting to this ancient relict.
2017-07-18 19:24:45 +02:00
dwarning f1fe7ff842 debug printout improvements 2017-07-18 15:25:50 +02:00
dwarning 529c37b7b6 charge check added by Colin McAndrew 2017-07-18 15:23:51 +02:00
dwarning d125b47b1a fix ac-analysis check and overall improvements 2017-07-18 15:20:15 +02:00
dwarning ea8773bd5a ngspice version detection implemented 2017-07-18 15:18:08 +02:00
dwarning dfaada2f9d make shell string compare safe 2017-07-18 15:15:07 +02:00
dwarning 998495c11b prevent wrong version selection if model parameter is given in exponential format 2017-07-13 09:25:04 +02:00
rlar 043d3b4f6d device.c, #19/19, whitespace 2017-07-06 17:56:23 +02:00
rlar aa50718573 device.c, #18/19, polish comments 2017-07-06 17:56:22 +02:00
rlar b4b32e2b93 device.c, #17/19, drop unused assignment to 'eqword' 2017-07-06 17:56:22 +02:00
rlar fac04193e5 device.c, #16/19, shrink scope of variable 'p' 2017-07-06 17:56:22 +02:00
rlar 3eda944db5 device.c, #15/19, make use of 'wl_find()' 2017-07-06 17:56:22 +02:00
rlar 20c303eb8b device.c, #14/19, drop variable 'wl2', can use 'wl' instead 2017-07-06 17:56:22 +02:00
rlar e8ebfb115e device.c, #13/19, drop artificial rewind to the beginning of the list 2017-07-06 17:56:22 +02:00
rlar 79cc996a93 device.c, #12/19, shrink scope of variable 'wlen' and 'maxelem' 2017-07-06 17:56:22 +02:00