Holger Vogt
c75e4129f4
Plug another memory leak in LTRA transmission line
5 years ago
Holger Vogt
5619665106
Remove double defined xrcv
5 years ago
Holger Vogt
5d39ff2d8c
Plug memory leaks in transmission line LTRA
5 years ago
Holger Vogt
d2ac525f52
Plug some more memory leak in TXL transmission line.
5 years ago
Markus Mueller
74ba5c1f96
found non-initialized value!
5 years ago
Markus Mueller
5c71349bad
remove dead assign statements, yet just commented them out for the time
being
5 years ago
Holger Vogt
c0bd7ca6e2
Plug a memory leak in TXL transmissiom line (y device)
5 years ago
Holger Vogt
dca52aea3a
Remove double defined xrcv
5 years ago
Holger Vogt
b5054cc9f1
Plug a memory leak
Add function HICUMdelete() to remove model->HICUMversion
5 years ago
Holger Vogt
7dd96c241c
PSPICE MC parameters are not (yet) supported, so remove them
from .model (lot, dev) and netlist (.distribution)
Triggered by Patch #104 by Giles Atkinson
5 years ago
Holger Vogt
58bdf9e0e6
Remove 'goto end' and 'end:' statements.
5 years ago
Holger Vogt
c2d11728c4
enable usage of parameters in .options lines.
5 years ago
Holger Vogt
78eee72b36
.temp could not apply params like
.ttemp {tmpparam}:
move evaluation of .temp to a later stage
5 years ago
Holger Vogt
d0da4bebd3
make variable 'dir' local
5 years ago
Holger Vogt
11d3188e19
fix typo
5 years ago
Holger Vogt
4fd7de9e34
Partially re-introduce and improve code that has been
inadvertently deleted in commit
83592c456 ("unify the evaluation of '.options scale=xx'
.option in a netlist will override 'options' from spinit,
.spiceinit or a script '.options scalm=xx' yields a warning,
it is not supported.", 2021-04-05)
The code transforms the option statements and adds them
to the current circuit.
5 years ago
dwarning
6bafdf70d5
sub-coll junction calculation only if ISS given
5 years ago
Holger Vogt
3a908c76ef
Prevent crash, refName may be NULL
5 years ago
Holger Vogt
98f8a4fcb2
Improve error message, if occuring during op
5 years ago
dwarning
4ca4b43801
simplify while loop for subckt diode and bjt models
5 years ago
Holger Vogt
c8db059144
Use 'm' and 'multi' correctly in PDKs
If there is alraedy m=xx in a subcircuit instance line,
replace it by m='m*xx' to aknowledge the additional m.
Tested with an (old) TSMC PDK and with Skywater PDK.
5 years ago
dwarning
1f95e12142
Value stored to vsub is never read
5 years ago
dwarning
52f4244345
fix Vcrit calculation for coll-subs junction and correct tlev=3 temperature model
5 years ago
dwarning
b00fa921ac
rm depreciated storage class
5 years ago
Holger Vogt
da6d2dd781
Bug 548: Add support for mawk in autogen.sh
5 years ago
dwarning
e14dc3aaa3
few style cleanings
5 years ago
Holger Vogt
109e33f127
Improve font selection for Win GUI plot window
Font Names from
https://docs.microsoft.com/en-us/typography/fonts/windows_10_font_list
without option or with Bold or Italic are supported, e.g.
setcs wfont="Cambria Bold Italic".
5 years ago
Holger Vogt
80e5f67466
Reduce wchar_t string length to minimum required
(to be NULL-terminated for CreateWindowW)
5 years ago
Holger Vogt
c9a19c7569
Fix for bug 547
Reduce length of wchar_t strings to the minimum required
for conversion
Check if Bold or Italic is given in the font name, set
corresponding variable
5 years ago
Holger Vogt
897d4c598b
Upgrade due to recent ngspice enhancements
5 years ago
dwarning
45e397727b
rm dead assignments
5 years ago
Holger Vogt
d2f6ad239f
If the input file path contains ANSI-encoded special characters,
utf-8 conversion and thus file opening will fail.
This patch then in addition tries opening the file with standard fopen.
5 years ago
Holger Vogt
ba262eaa5f
Internal global variable Infile_Path is a file search path made
available for the code models. It is set when command 'source' is used.
This patch makes the first entry in var 'sourcepath' available to
the code models as well by setting Infile_Path, when 'sourcepath'
is set in .spiceinit.
5 years ago
dwarning
a08f120518
TEMPFORMAT has already leading / in defines.h
5 years ago
dwarning
64c407332d
rm dead assignemnts
5 years ago
dwarning
9b2f3cfd5e
iter value never read - prevent compiler warning
5 years ago
dwarning
4e86cfa352
diode cbv only needed for tracing - prevent compiler warning
5 years ago
dwarning
2b2e40793e
correct indentation
5 years ago
Holger Vogt
741cab390f
Prevent a crash when the number of models exceeds MODNUMBERS
Raise MODNUMBERS to 2048
https://github.com/kicad-spice-library/KiCad-Spice-Library/issues/16
5 years ago
Holger Vogt
66cbac3f4e
Fixes a bug introduced by commit [4895a4]
Re-enables R with .model like
.model R_NOISELESS RES (TCE=0 T_ABS=-273.15)
R77 1 0 R_NOISELESS 100
5 years ago
dwarning
b1bf7ea0ad
Diode model with selfheating option
5 years ago
Holger Vogt
48acb10929
Remove compiler warnings
5 years ago
Holger Vogt
e91ec306ba
Remove some compiler warnings
5 years ago
Holger Vogt
2536b78acb
Allow tailing '\0'
Remove potentially user induced buffer overflow by replacing
sprintf by snprintf.
5 years ago
Holger Vogt
053e8c5a04
remove compiler warning
5 years ago
Holger Vogt
d5fd9c8625
correct function prototype
5 years ago
Holger Vogt
45c171635a
Remove compile error which may occur with specific settings
5 years ago
Holger Vogt
19ddeb8fe6
formatting (not complete)
5 years ago
Holger Vogt
545d2f9177
Report an error when trying to define ports
'v', 'vd', 'i', and 'id' as 'inout'
Parch 105 provided by Giles Atkinson
5 years ago
Holger Vogt
bc74caca2f
Don't create cat2strings if on VS2019
5 years ago