Commit Graph

7213 Commits

Author SHA1 Message Date
Holger Vogt 0d4685f459 preliminarily turn off fcn nlist_model_find()
to avoid compiler warning
2021-01-02 23:29:35 +01:00
Holger Vogt e2650a2897 Patially undo commit [f9d9b6]:
macOS gcc/llvm complauns about non-existing -Wunused-but-set-variable
2021-01-02 23:00:19 +01:00
Holger Vogt 4555a0be7a remove contrib from EXTRA_DIST 2021-01-02 19:12:35 +01:00
Holger Vogt 94eac89749 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 19:12:26 +01:00
Holger Vogt 89f0fb6d74 sharedspice: make reading .spiceinit as robust as in
the standard executable.
2021-01-02 19:11:51 +01:00
Holger Vogt 1234c3bdf8 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-02 19:11:44 +01:00
Holger Vogt 164d3dd20c Enable models with parens by using gettok_parens() like
.model NP NPN(BF=125 Cje=.5p Cjc=.5p Rb=500)
2021-01-02 19:11:29 +01:00
dwarning b48e5bd77f adapt bsimbulk example files to ngspice 2021-01-02 19:11:06 +01:00
dwarning a5cb4f2d20 hicum0 prevent crash in self heating mode 2021-01-02 19:10:42 +01:00
Holger Vogt 9485a51928 Re-enable the 'hardcopy' command
Fixes support-requests #53 by Paolo M.
2021-01-02 19:10:30 +01:00
dwarning 63685d1fb0 rm .hdl entry 2021-01-02 19:08:20 +01:00
dwarning 0e9d1c50a4 add latest available psp103 version to adms 2021-01-02 19:07:55 +01:00
Holger Vogt 70d1647cfa Update to ps .model selection for MOS,
add support for bipolar (Mextram, lateral pnp),
enable 'level = nn' (with spaces).
2021-01-02 19:07:16 +01:00
Holger Vogt 3c354092ff Line endings from \r\n to \n 2021-01-02 19:06:58 +01:00
Holger Vogt 2e9a51f2f7 Each model is checked only once
(not the same model check for every instance).
Add model comparison warning to file.
2021-01-02 19:06:37 +01:00
Holger Vogt 8602915942 level for ekv2.6 is 44 2021-01-02 19:06:17 +01:00
Holger Vogt 50ec89e284 PS compatibility: select appropriate level for MOS models 2021-01-02 19:05:41 +01:00
Markus Mueller f9d9b6deba fix "unused but set variable" warnings 2021-01-02 19:05:18 +01:00
Holger Vogt b1daabbe95 update the model checking 2021-01-02 19:05:01 +01:00
dwarning c228872e2f activate hicum2 qa test and left out bsimbulk qa test 2021-01-02 19:04:49 +01:00
dwarning d3fc78212c ignore adms intermediate files 2021-01-02 19:04:34 +01:00
Holger Vogt 03a68683ca Update on error checking for bsim4.6 model 2021-01-02 19:04:24 +01:00
dwarning fdf7a6a868 More effective check for BSIM3 model parameter 2021-01-02 19:04:07 +01:00
Holger Vogt 49890fe302 Fix the error message when fatal model parameter fail occurs 2021-01-02 19:03:53 +01:00
Holger Vogt 2e34b9d9a3 Improved visibility of model check error 2021-01-02 19:03:42 +01:00
dwarning 420d47cc75 fix max terminal count for vbic and hicum2 adms enabled 2021-01-02 19:03:20 +01:00
Holger Vogt a62b2a8ea0 NEWS towards ngspice-34 2021-01-02 19:03:02 +01:00
Holger Vogt a147a3b190 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.
2021-01-02 19:02:44 +01:00
Holger Vogt 98eb5bf475 bug #537: remove memcopy with overlapping strings
Bug reported by Ronan BARZIC
2021-01-02 19:02:29 +01:00
Holger Vogt 86f5a9b819 Only print the devices that are really used in the circuit
(don't print the 0 occurencies).
2021-01-02 19:02:07 +01:00
dwarning aaec6be4c6 only one .va file for psp model 2021-01-02 19:01:44 +01:00
dwarning b44f1ad595 only one .va file for psp model 2021-01-02 19:01:31 +01:00
dwarning 336bb3480b psp102 update to latest available version 102.5.0 2021-01-02 19:01:05 +01:00
Holger Vogt e8aea4967c Remove some compiler warnings 2021-01-02 19:00:48 +01:00
Holger Vogt 2359f28812 Remove compiler warning
cast between incompatible function types from
‘void (*)(int,  int)’ to ‘void (*)(int)’
2021-01-02 19:00:29 +01:00
Holger Vogt 19fa671832 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-22 17:56:19 +01:00
Holger Vogt 7bd12a60a6 Enable multiplier 'm' for behavioral resistor
(R using a B source).
2020-12-22 17:56:19 +01:00
Holger Vogt 03556b2215 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-22 17:56:19 +01:00
dwarning 30ccbc9a18 include ceil and floor function 2020-12-22 17:56:19 +01:00
dwarning 7cef1871bb white spaces, formatting and verilog-a conformity 2020-12-22 17:56:19 +01:00
dwarning 8e4db91099 adms bsimbulk and bsimcmg implementation based on work from Robert Larice 2020-12-22 17:56:19 +01:00
dwarning 9a33791bc1 take care for different types of output variables in analogfunctions 2020-12-22 17:56:19 +01:00
Holger Vogt 014dfe1b7b The old inp_deckcopy() is a safer way of copying, while retaining
the correct line numbers for parameter substitution.
2020-12-22 17:56:19 +01:00
Holger Vogt b1d062668c When there is no model found, and we have an m devices,
set the number of nodes to 4. This has to be fixed (find
a way to detect the number of nodes automatically).
2020-12-22 17:56:19 +01:00
Holger Vogt b0a2ab5729 A FIXME: The number of nodes is fixed to 4!
Better make this flexible, but how to detect this number safely?
2020-12-22 17:56:19 +01:00
dwarning fc70256828 psp102 white spaces and admsXml adaptions 2020-12-22 17:56:19 +01:00
dwarning 1a5016cd49 psp102 rm unused files 2020-12-22 17:56:19 +01:00
dwarning 1f2455d4df PSP102 add description noise functions 2020-12-22 17:56:19 +01:00
dwarning 8ce89a2b80 update version and improve veriloga compatibility 2020-12-22 17:56:19 +01:00
dwarning 46122bab52 extend veriloga compatibility for admsXml compiler 2020-12-22 17:56:19 +01:00