Commit Graph

7230 Commits

Author SHA1 Message Date
Holger Vogt 47a6ad59cf Remove 'comment out any unused models' for now, it
has been working, but led to spurious error messages.
Has to be checked more thoroughly.

Add a ngbehaviour setting 'mc', needed for running
'make check'. It will unset all other compatibility modes
and suppress the note on compatibility settings which
led to a 'make check' failure just due to its printout.
2021-01-02 15:59:20 +01:00
Holger Vogt 60d9b19c78 sharedspice: make reading .spiceinit as robust as in
the standard executable.
2021-01-02 15:09:04 +01:00
Holger Vogt 9153568ff2 Update to the compatibility mode:
Rename new_compat_mode() to set_compat_mode().
Add fcn print_compat_mode() to print out
the selected compatibility mode.
2021-01-01 15:06:12 +01:00
Holger Vogt 8949a137e5 Enable models with parens by using gettok_parens() like
.model NP NPN(BF=125 Cje=.5p Cjc=.5p Rb=500)
2020-12-30 23:13:35 +01:00
dwarning 5f223cfba9 add ADMS VS project file 2020-12-30 21:19:51 +01:00
dwarning ece8a0b10d adapt bsimbulk example files to ngspice 2020-12-30 21:17:29 +01:00
dwarning 258dd7ad93 hicum0 prevent crash in self heating mode 2020-12-30 17:45:01 +01:00
Holger Vogt eb47c852a5 Re-enable the 'hardcopy' command
Fixes support-requests #53 by Paolo M.
2020-12-30 14:55:09 +01:00
Holger Vogt e843a5783f Revert "(Preliminary fix to re-enable the 'hardcopy' command."
This reverts commit 1c0b175061.
2020-12-30 14:48:59 +01:00
dwarning a4bd98c85d ignore VS adms intermediate files 2020-12-30 14:08:08 +01:00
dwarning d25d9da17f first trial VS adms integration 2020-12-30 14:05:34 +01:00
dwarning c0246e42a5 create instance parameter 2020-12-30 13:59:02 +01:00
dwarning faf0d29095 prepare few things for VS compilation 2020-12-30 13:56:23 +01:00
dwarning 149bf2c8ca rm .hdl entry 2020-12-30 13:50:29 +01:00
dwarning 025c3bb13b add latest available psp103 version to adms 2020-12-29 17:09:50 +01:00
Holger Vogt 1c0b175061 (Preliminary fix to re-enable the 'hardcopy' command.
Fixes support-requests #53 by Paolo M.
2020-12-29 16:28:56 +01:00
Holger Vogt c6d97512ee Update to ps .model selection for MOS,
add support for bipolar (Mextram, lateral pnp),
enable 'level = nn' (with spaces).
2020-12-29 15:40:16 +01:00
Holger Vogt 681001cfae level for ekv2.6 is 44 2020-12-28 23:21:20 +01:00
Holger Vogt 45b60dbf96 Line endings from \r\n to \n 2020-12-28 22:59:29 +01:00
Holger Vogt 893521d92d Each model is checked only once
(not the same model check for every instance).
Add model comparison warning to file.
2020-12-28 16:29:21 +01:00
Holger Vogt b21e0568fe PS compatibility: select appropriate level for MOS models 2020-12-28 16:24:44 +01:00
Markus Mueller 9e5ee38f4d fix "unused but set variable" warnings 2020-12-27 16:41:51 +01:00
Holger Vogt 7a82f0f4fc update the model checking 2020-12-27 16:06:00 +01:00
dwarning c6c9594b44 activate hicum2 qa test and left out bsimbulk qa test 2020-12-26 22:16:55 +01:00
dwarning 4417727fce Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2020-12-26 19:45:51 +01:00
dwarning ca9a52d5db ignore adms intermediate files 2020-12-26 18:25:26 +01:00
Holger Vogt 4a93fd46ad Update on error checking for bsim4.6 model 2020-12-26 18:22:58 +01:00
dwarning 3e34b15226 More effective check for BSIM3 model parameter 2020-12-26 10:16:56 +01:00
Holger Vogt 77ab313c43 Fix the error message when fatal model parameter fail occurs 2020-12-25 18:11:37 +01:00
Holger Vogt 4acbb042be Improved visibility of model check error 2020-12-25 17:57:50 +01:00
Holger Vogt a933a2142c Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2020-12-25 15:47:20 +01:00
Holger Vogt f381667c3b NEWS towards ngspice-34 2020-12-25 15:46:35 +01:00
Holger Vogt 9ae462bde4 If we encounter tc1= or tc2= (temp coeffs.) or m= (multiplier),
the expression is done, thus keeping the brackets as is.
Enables tcx={} or m={} with their own expressions, dealt with
by numparam.
2020-12-25 15:46:05 +01:00
dwarning 45773088c3 fix max terminal count for vbic and hicum2 adms enabled 2020-12-25 15:40:08 +01:00
Holger Vogt d252d66984 bug #537: remove memcopy with overlapping strings
Bug reported by Ronan BARZIC
2020-12-25 15:38:27 +01:00
Holger Vogt b84cd60295 Only print the devices that are really used in the circuit
(don't print the 0 occurencies).
2020-12-24 09:46:14 +01:00
dwarning 394fd27637 only one .va file for psp model 2020-12-23 12:06:09 +01:00
dwarning 8725e78725 only one .va file for psp model 2020-12-23 12:05:35 +01:00
dwarning a993baeed2 psp102 update to latest available version 102.5.0 2020-12-22 20:44:07 +01:00
Holger Vogt b66b4b3b21 Remove some compiler warnings 2020-12-22 14:21:13 +01:00
Holger Vogt 8f78899d8f Remove compiler warning
cast between incompatible function types from
‘void (*)(int,  int)’ to ‘void (*)(int)’
2020-12-22 12:26:06 +01:00
Holger Vogt aa061ef2fc Check for correctness of the BSIM4.5 parameters:
If parameter excursions are found, put the warning or error message into a wordlist.
Only then open a file bsim4v5.out and print the data into the file.
2020-12-21 11:55:30 +01:00
Holger Vogt a3c5e80778 Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2020-12-20 19:58:05 +01:00
dwarning 9107d0ce5e admst license consistent to GPL 2020-12-20 18:42:19 +01:00
dwarning 5cc8286dad include ceil and floor function 2020-12-20 17:59:19 +01:00
Holger Vogt c6d2c354a4 Enable multiplier 'm' for behavioral resistor
(R using a B source).
2020-12-20 17:20:36 +01:00
Holger Vogt 02c87b129f Add multiplier 'm' to the ASRC instance line.
Default value is 1.
A new 'reciprocm' will determine, if m is multiplied
into numerator or denominator.
2020-12-20 17:19:39 +01:00
dwarning 9b94674b28 white spaces, formatting and verilog-a conformity 2020-12-18 18:33:20 +01:00
dwarning 660a1f2cbc adms bsimbulk and bsimcmg implementation based on work from Robert Larice 2020-12-17 16:11:23 +01:00
dwarning b642a39015 take care for different types of output variables in analogfunctions 2020-12-17 14:24:31 +01:00