Commit Graph

7193 Commits

Author SHA1 Message Date
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
Holger Vogt 8fdf748143 The old inp_deckcopy() is a safer way of copying, while retaining
the correct line numbers for parameter substitution.
2020-12-16 14:26:12 +01:00
Holger Vogt e9690871c8 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-15 23:12:31 +01:00
Holger Vogt 7612cb3588 A FIXME: The number of nodes is fixed to 4!
Better make this flexible, but how to detect this number safely?
2020-12-15 23:11:11 +01:00
dwarning 4005922627 psp102 white spaces and admsXml adaptions 2020-12-15 22:49:26 +01:00
dwarning a4da0a5439 psp102 rm unused files 2020-12-15 21:17:33 +01:00
dwarning efa0d9c3cb admst still under LGPL 2020-12-15 19:06:59 +01:00
dwarning 763fbbd71e PSP102 add description noise functions 2020-12-15 09:45:48 +01:00
dwarning 1190b61351 update version and improve veriloga compatibility 2020-12-14 12:20:43 +01:00
Holger Vogt 97e5b5a0b1 Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2020-12-13 22:52:09 +01:00
Holger Vogt 1ad7726385 Remove #ifdef XSPICE from ISRC_CURRENT definition 2020-12-13 22:49:42 +01:00
dwarning 836be72c7b extend veriloga compatibility for admsXml compiler 2020-12-13 17:45:38 +01:00
dwarning 24bb92fe4d update version and improve veriloga compatibility 2020-12-13 17:41:55 +01:00
dwarning 29f337ba1e improve veriloga compatibility 2020-12-13 17:41:05 +01:00
Holger Vogt 05e661d308 Remove more compiler warnings 2020-12-13 16:31:48 +01:00
Holger Vogt 21d57b9ae7 Suppress some compiler warnings 2020-12-13 16:31:40 +01:00
Holger Vogt 6fc144373c Add some comment. 2020-12-13 16:31:34 +01:00
Holger Vogt 1c52ffff92 Add function rem_unused_mos_models()
Netlist is flat at this stage, all numbers expanded,
but not yet parsed into the circuit structure.
So again try to remove unused MOS models.
All binning models are still here when w or l have been
determined by an expression from within the PDK.
2020-12-13 16:31:26 +01:00
Holger Vogt b3f25f7909 make some functions non-ststic to support function
rem_unused_mos_models() in inps.c
2020-12-13 16:31:15 +01:00
Holger Vogt 3b95f73a74 Add a comment 2020-12-13 16:31:09 +01:00
Holger Vogt dc627a2d73 Jump over the HSPICE-specific key words 2020-12-13 16:31:05 +01:00
Holger Vogt a85352b44e With the new inp_deckcopy_ln treat the first line
in the deck equal to all other lines.
2020-12-13 16:30:58 +01:00
Holger Vogt 4a8f422e4c Remove dot lines somewhat later. 2020-12-13 16:30:53 +01:00
Holger Vogt 1449b59352 Reduce the memory requirements if there is a PDK with
a lot of binning models.
This is a hack and needs testing!
inpcom.c: If an x line, add w and l to the netlist card,
if available.
subckt.c: select a suitable model bin, discard the rest
for each subcircuit, depending on w and l from above.
inpgmod.c: less restrictive equal for real numbers,
allow both min and max boundaries (problem of equating
real numbers), when the selected device has w or l on
the boundary between two model bins.
2020-12-13 16:30:45 +01:00
Holger Vogt 54ae486bad Remove the XSPICE dependency of the phase parameter for the
independent voltage source.
2020-12-07 14:39:52 +01:00
Holger Vogt 541f6a3f09 Remove the XSPICE dependency of the phase parameter for the
independent current source.
2020-12-07 13:37:16 +01:00
Holger Vogt 70f63f3d25 Remove the XSPICE limitation of flag "current" (here->ISRCcurrent) 2020-12-07 13:14:55 +01:00
Holger Vogt a0ff586358 typo 2020-12-07 13:14:16 +01:00
Holger Vogt bdf73ba804 Restrict #pragma warning to Visual Studio only. 2020-12-06 16:48:55 +01:00
Markus Mueller e738df9e80 fix hicum warnings 2020-12-06 14:45:23 +01:00
Holger Vogt 109329195c fix a typo 2020-12-06 11:11:51 +01:00
Holger Vogt 9443836029 suppress warning that is not relevant (we don't use floats) 2020-12-06 11:04:25 +01:00
Holger Vogt 862988a569 bug 535: re-enale tc1, tc2 even if tokens tc1 or tc2
may be part of other tokens as well.
2020-12-06 10:42:23 +01:00
Holger Vogt 246253a924 No brackets around instance parameters dtemp, temp 2020-12-06 10:28:42 +01:00
Holger Vogt 9a6b1f8c95 spice2g6 poly(19 compat:
When counting token, count an expression {...} for the
gain as a single token, even if it contains spaces.
2020-12-04 17:29:24 +01:00
Holger Vogt 158fa00660 fix comment 2020-12-04 17:11:40 +01:00
Holger Vogt b8a1e11e0b re-enable 'external' as an instance parameter for current source. 2020-12-04 16:31:26 +01:00
Holger Vogt 42f3e4b332 include the duals/dual header into the VS2019 project file 2020-12-03 15:59:44 +01:00