Giles Atkinson
5cfd87d6ad
Do not link with the libraries needed for Ngspice itself.
1 year ago
dwarning
20334c495c
VBIC: lean and mean code revision
1 year ago
dwarning
22ef170bac
VBIC: fix NQS problems in transient simulation by implementing adjunct network for excess phase
1 year ago
Giles Atkinson
c7c85ecadc
Add co-simulation with VHDL, using the GHDL compiler and d_cosim.
1 year ago
Giles Atkinson
a50562430c
Add .dylib file extension and improve some messages in d_cosim.
On Macos, the command "ghdl -e -shared ..." creates .dylib files.
1 year ago
Giles Atkinson
f471461035
When parsing a XSPICE string-valued model parameter, break only
on a closing quote, string end or white space (if unquoted) and
unquoted ']' when parsing an array. That allows generic value overrides
for GHDL models to pass through: "-gVar=value". Previously, the string
was terminated on '='. Also remove some dead and non-functional code.
1 year ago
Giles Atkinson
9786d3b8e2
Improve checking of XSPICE model parameters and tidy code.
Checking for null values moves from per-instance code to
per-device code, potentially removing duplicate error messages.
Limits on parameter values and sizes of array parameters that are
specified in the IFS files are now actually checked.
1 year ago
Holger Vogt
2afd3d1ea8
Prevent a crash in case of incomplete stoks[]
1 year ago
Árpád Bűrmen
91040891f9
Temperature handling inconsistency in jfetnoise.c fixed.
1 year ago
Holger Vogt
796b4fd634
Fixes wrong @bxxx[i] return values of B source, ignoring the m parameter.
Reported in bug 734 by Stefan.
1 year ago
Holger Vogt
0c2a287d3c
Allow .probe I(XU1)
For device with more than 2 nodes, and alli not set, the vcurr_xxx
nodes did contain a probe_int_ section which made them to be
not saved. While o.k. for power measurement, this was not o.k. for
measuring current.
1 year ago
Holger Vogt
1abeb1290b
Align title line to the numbers following
1 year ago
Holger Vogt
c8dc858f9e
use effective gate voltage
1 year ago
dwarning
3da74cacb6
VDMOS: use effektive Gatespannung for mobility reduction of Beta
1 year ago
Holger Vogt
26b197df33
Allow m parameter for B source with current output
Fixes bug no. 734
1 year ago
Giles Atkinson
afb399a1f0
Fix Bug #733 -
"Pre-master-45 hangs forever on a circuit that works on older versions."
That was an infinite loop when parsing a line with just "*#",
introduced by commit fb63573b6b . Also add some comments.
1 year ago
Árpád Bűrmen
1b40f0d444
initializeLimiting -> iniLim, reorder sim_params for faster OSDI device evaluation.
1 year ago
Árpád Bűrmen
d659943d77
Per-device load timing support.
1 year ago
Holger Vogt
7ecb5a5d45
Add some more debug output.
1 year ago
Holger Vogt
e5d4d7d63f
Add to debug-out.txt an output without source file information.
Thus cluttering the view is reduced.
1 year ago
Holger Vogt
1a1d2558e8
We are developing towards ngspice-45
10 months ago
Holger Vogt
80d22fc802
Prepare the bug-fix release 44.2
1 year ago
dwarning
a6d6a07f79
S to Z matrix conversion by formula instead of Y inversion
low limiting Rn and Cy to prevent division by 0, fix provided by Alessio Cacciatori
there are still problems in Z matrix conversion in specific networks
1 year ago
Holger Vogt
e1bd97d8f6
If C= or Q= is omitted in the instance line of a behavioral capacitor,
select as default the C= formulation, not the Q= formula..
1 year ago
Holger Vogt
e0a7d821e9
Notes go to stdout, not stderr
1 year ago
Giles Atkinson
2666460663
Using XFlush() instead of XSync() avoids a round trip to the X server
on each call to DevUpdate(). That speeds plotting when using XQuartz
on Macintosh and makes iplot useable there.
1 year ago
Giles Atkinson
b0953d9980
Allow out-of-tree builds. Problem reported by Carsten Schönert.
1 year ago
Holger Vogt
1b7c8eb2d7
Fix a crash due to buggy user input.
Improve error message.
Reported in
https://gitlab.com/kicad/code/kicad/-/issues/19439#note_2277932762
1 year ago
Holger Vogt
ce8480c690
Enable improved error message with nested .include.
1 year ago
Holger Vogt
c7ee676e3d
Improve the error message by hinting to the source of the error.
1 year ago
Holger
114bda2941
Add missing backslash
1 year ago
Holger Vogt
6730474067
Make verilog/libvvp.def verilog/MSVC.CMD verilog/README.txt distributable
1 year ago
Holger
3fa09bd3cf
Add missing header files to enable their distribution
1 year ago
Holger Vogt
a4e443fcce
precautionary prevent passing instances which internally have got
upper case lettering. Removes a crash reported in
https://gitlab.com/kicad/code/kicad/-/issues/18648 .
1 year ago
Holger Vogt
ffde17441b
Don't quote the subcircuit name in an X line
1 year ago
Giles Atkinson
d549b882df
Fix a crash that happens after an iplot window is zoomed and closed
while active.
1 year ago
Holger Vogt
8eea1f0b41
Prepare ngspice-44
1 year ago
Holger Vogt
20e889b736
Fix a typo
1 year ago
Brian Taylor
a841a66ee1
d_process needs to strip || at the end of the process_file string when using PSpice compat mode. The failure was found by @slh on the KiCad forum.
1 year ago
Holger Vogt
1e4a6ac8b8
avoid memory leak by appending, not prepending the word
1 year ago
Holger Vogt
a6ad2470f1
Add a flag compmod to struct card.
Set compmod to 1 if netlist line is included by command 'incpslt'
Guard special newcompat.hs sections by compmod
1 year ago
dwarning
3f562ae4f6
fix diode level=3 setup for multiple simulations
1 year ago
dwarning
4bd5ebe3e3
Fixed the diode scaling bug reported by A. Buermen
1 year ago
Árpád Bűrmen
727f11edf0
Fixed incorrect OSDItrunc() state index when $limit is present.
1 year ago
Árpád Bűrmen
bf6ed080cf
Verilog-A $simparam("tnom") is in degrees Celsius.
Adjusted OSDI interfaces to reflect that.
1 year ago
Árpád Bűrmen
778b730393
Exposed more $simparams via OSDI.
initializeLimiting, epsmin, reltol, vntol, abstol
1 year ago
Holger Vogt
72d70e3471
bool definition is in stdbool.h, no local definition required
1 year ago
Holger Vogt
f9b7455d10
Proper conversion bool to int
1 year ago
Holger Vogt
c05a6398b7
Reserve enough memory
1 year ago
Holger Vogt
3f26d455c3
Re-formatting for readability
1 year ago