Árpád Bűrmen
e4aa062156
icvgs, icvds, icvbs exposed as BSIM4v8 parameters.
7 months ago
Árpád Bűrmen
5900f70438
Fast version checks in BSIM4.
6 months ago
Brian Taylor
57dd3342ef
Enable CIDER with KLU for DC, OP, and TRAN analyses. Small signal AC analysis is not yet supported for CIDER complex valued device KLU matrices. The examples/cider testcases produce printed simulation result values which have slight differences between Sparse and KLU. Differences are probably expected and in a few cases are ~1-2%, sometimes a little more. This should be good enough for most CIDER analyses. Francesco did a good piece of work. Runtimes are significantly shorter with KLU.
7 months ago
Holger Vogt
0a739f6b76
Remove files that are remade anyway.
Makefile.in prescribed using aclocal 1.16. The fix removes any
dependency on the autotool version.
Fixing bug 806.
7 months ago
Holger Vogt
434863651e
Updated as it is on master
7 months ago
Holger Vogt
aa3ab5bc25
Fixing bug 804.
Using function get_windows_canonical_path() may neglect the
ngspice file search sequence, as an absolute path is returned also
for relative input paths. ngspice however searches a file not only
relative to the current directory, as inforced by this
function, but for example also in the directory of the previous
input file.
So restrict this function to paths longer than MAX_PATH, which would fail
otherwise.
7 months ago
Holger Vogt
4693173d37
Revert "Fix a bug in the Windows Builds:"
This reverts commit ecb288138f .
7 months ago
Holger Vogt
a754cc187b
free(info.errors) leads to a assertion error on the heap.
On Windows it reads:
is_block_type_valid(header->_block_use).
Memory for info.errors is allocated in the osdi device dll
during the call to
descr->setup_instance((void *)&handle, inst, model, temp,
connected_terminals, sim_params, &init_info);
(in fcn OSDIsetup(), line 254 of osdisetup.c).
Therefore ngspice is not the owner of this memory and thus cannot free it.
Fixes bug no. 803.
7 months ago
Holger Vogt
ecb288138f
Fix a bug in the Windows Builds:
With commit
80d6e681f ("MS Windows: Get a canonical paths name: Important if path length exceeds MAX_PATH, might happen when using PDKs", 2025-04-12)
the newly introduced function get_windows_canonical_path() does not do the
right thing when the path name is only a simple file name. Then internally
used function GetFullPathNameW() then will prepend the current directory to the
file name, which may be simply wrong.
7 months ago
Holger Vogt
0e8cc00070
We are developing towards ngspice-46
7 months ago
dwarning
b19f5ca4c3
bsim4: unify error printout
7 months ago
dwarning
ecac7a07a2
bsim4: reimplement mobility and binning extension
7 months ago
dwarning
82bf2169b1
reply commit e5c162f1: dc sweep fails after transient sim
7 months ago
dwarning
a97dcda62b
prevent warning if NOBYPASS is not defined
7 months ago
dwarning
32c50aa254
adapt instance parameter extension to new bsim4 multiplier concept
7 months ago
dwarning
86c78150b7
add KLU bindings for diode selfheating effect, bug #802
7 months ago
Holger Vogt
dbb1db8b9d
add tlines files to distribution
7 months ago
Holger Vogt
d61a1e4090
Prepare for ngspice-45
7 months ago
Holger Vogt
86ea9fee8a
Prepare for ngspice-45
7 months ago
Holger Vogt
a2b3d7c7d2
Enhance comment.
7 months ago
Holger Vogt
7fc68c0c07
Adding .param SWSOA=1 right after the .lib entry during reading in
the libraries.
8 months ago
Holger Vogt
b1f4f32b36
Prevent a segfault if cp_variablesubst return a nullptr.
Fixes bug-801
7 months ago
Holger Vogt
2185f82a28
typo
7 months ago
Holger Vogt
bebf7efd8b
Command completion is not supported, removed from 'help'
7 months ago
Holger Vogt
c45d1e0974
Rename t to tn to avoid t shadowing the t from the function header
void cpmslineAnalyseDispersion (double W, double h, double s,
double t, double er, double Zle,
...
7 months ago
Vadim Kuznetsov
94740a3d2b
Fixed warnings in cpmlin and mlin
7 months ago
Holger Vogt
c5d6d78fc5
Add gcc warning -Wshadow
7 months ago
Brian Taylor
0e50efc1fa
Add missing value in the last line.
FIXME: we need to check the input for having adequate columns
7 months ago
Holger Vogt
481e3e567b
Update to filesource
Move tprev out of the loop to enable storing the previous time value.
Add some general warning message that an error might have occurred during
reading the time or data values from the data input file.
Allow empty lines in the data input file.
Guard early data values (TIME < time offset) against false reading.
Add some simple examples.
8 months ago
Holger Vogt
6496c5a8db
Prepare for ngspice-45
8 months ago
Brian Taylor
179c7504fb
Misplaced break statement in callback.
8 months ago
Holger Vogt
21c238276a
Another copyright update
8 months ago
Holger Vogt
632b55a90d
Update copyright notice
8 months ago
Holger Vogt
b7692fbda7
Move CALLBACK into the 'init' section,
to have it called once only.
8 months ago
dwarning
5e21393fbb
prevent unused warning
8 months ago
dwarning
7ede33e7c6
git ignore temporary file
8 months ago
Holger Vogt
787a8530be
Prevent doubly defined tokens.
8 months ago
Holger Vogt
cbf93cf8e0
Add missing CALLBACK
8 months ago
Holger Vogt
5af5f02ad1
Remove unused variable.
8 months ago
Holger Vogt
4ab6be1b90
Keep saving nodes only once, but make an exception for node 'all'.
Fixes bug-799, at least partially (diffpair.cir is running again.).
8 months ago
Holger Vogt
805f14e50b
Don't check .params as they will fall through anyway.
8 months ago
Holger Vogt
3d55c16531
Don't print a form feed if 'option nopage' is given.
Print the header really only once if 'option nopage' is given.
8 months ago
dwarning
68c3fc1031
diode needs both current components (bottom and sidewall) for Vcrit and breakdown voltage calculation
8 months ago
dwarning
05bbb2aaa2
introduce aliases for certain diode breakdown model parameter
8 months ago
Jason Pyeron
178b541fb2
BUGFIX: #797 - gettoks did not protect against NULL pointer input
8 months ago
dwarning
a44f7ce87a
fix a wrong Release/Debug selection for console build
8 months ago
Brian Taylor
47d7f7aa62
Allocating arrays of double* should use sizeof double* not double, even though they may be the same. Avoid potential divide by zero.
10 months ago
Brian Taylor
416edbbb9a
Fix memory leak in xspice oneshot.
10 months ago
dwarning
a0c7af575d
bsim4 update to version 4.8.3
8 months ago
Holger Vogt
c24fc9e9d0
Remove compiler warning.
8 months ago