git ignore vcd files
extend unwanted output list
add missing klu bindings
Yes, readline is now default, see Release notes - but the absence of this lib should not follow in an error. Our weakness! To get an binary you have two options: 1. Install dev package of readline on your system 2. Try --with-readine=no in the configure line
Thank you, Holger! Can you make an new attempt.
vbic: have to load Vrxf/Itxf with value
Latest commit correct the op reporting discrepancy for activated excess phase in vbic model. The original problem and the 3x [ib] output still exist.
vbic: correct op reporting for excess phase model
You are right - the introduced nqs effect destroying the op variables report, the results for network solution (vx#branch) seems OK. Switching off this effect by setting td=0 or commenting out the parameter show correct results too. Other what worries me is that @q.x1.qnpn13g2[ib] is reported 3 times. This was also the case in former versions.
strange branch contribution since ngspice-43
format: rm misleading indentation
Parallel Voltage source is problematic!
Diode model Level 3, Reverse breakdown voltage synonym support
diode: init of potential uninitialized variable
init of potential uninitialized variables
repair missing parenthesis
complete vbic nqs effect implementation
more complete vbic dc/tran nqs effect
first attempt to include NQS effect
vbic: init of thermal capacitances
vbic: save Vrth into state vector
vbic: complete reactive part into acload
vbic: more adding reactive part into acload
vbic: first add reactive part into acload
vbic: add resistive part into acload
Why not show us the netlist - the circuit seems not so complex? And the matlab or python script would be helpful too.
IHP: VBIC for bipolars - not MOS
Tom, I answered your question 2 days ago. Change the BV parametr to 100V and it will show well results.
Giles, good idea! Perhaps you should mention in the github Readme which configuration was used for building.
It is the same behaviour because BV=0!
These are no varactors. Only a testcase with VJ and M sweeps over the limits.
Would be better not to mix qucs-s / qucsator testcases on this discussion forum. Small ngspice testcases with the internal plot command are preferred here. So no post processing is needed. In case of interest for qucs-s schematics the reader can go to the suitable github forum.
Latest commit to pre-master-43 branch has removed VJ and M limiting. I think there is more testing needed in particular in temperature range.
revert commit ea4c438 and db85dead by removing VJ and M limiting
I would prefer to look in the manual for ngspice gnuplot option. This would generate a plot file which you can modify in any quality you want. Much more possibilities as our simple built-in plot feature.
Few notes to extended model portfolio by openVAF interface
Add MOS1...3 alternative noise parameter description
Add NGSPICE_OSDI_DIR environment variable for osdi files search path
Update if index
tighten the device and model description by re-structering
further unify model parameter notation
further unify model parameter notation
Merge branch 'master' of ssh://git.code.sf.net/p/ngspice/ngspice-manuals
unify model parameter notation
mos1...3: set channel thermal noise to 0 in subthreshold range for nlev=3
mos1...3: logical error-prevent garbage for nlev=3
diode: no need for vte recalculation, rhs not changed
OK - restructuring our manual fails because of complex install process. What about ngspice/examples folder, e.g. ngspice/examples/mos/nmos_pmos_BSIM482.sp or ngspice/examples/various/3d_loop.sp?
Good idea! You are free to change this: git clone https://git.code.sf.net/p/ngspice/ngspice-manuals ngspice-ngspice-manuals would be the preferred starting point.
diode: correct and add latest parameter changes
section 17.1 meant
diode: add saturation current temperature model tlev=2
I can agree with this defaults for configure even my experiences of the combination OSDI+OpenMP+KLU is very low. Am 03.05.24 um 14:08 schrieb Holger Vogt: I want to change the ../configure statement (and configure.ac) to make the above mentioned items standard during compiling of ngspice (no need to select them explicitely). One still might choose to disable any of these features. CIDER will be the only option which needs active selection. Are there any objections? Make XSPICE, OSDI, OpenMP, readline,...
I never saw positive effects in few experiments by activating --enable-predictor. The initial hint came from openVAF team but the need activating this option was never evidenced. We don't use this code option since years.
pre-master-43: Basic mask and etching offsets are now considered with XW model parameter for level=3 diodes. Further TLEV=2 uses now an alternative bandgap calculation with GAP1 and GAP2. There are still open topics for this temperature model e.g. saturation currents etc.
diode: add alternative bangap calculation for tlev=2
diode: add model parameter xw for mask and etching effect (level=3)
You are right - this params are not only aliases. GAP1, GAP2: Alternative temperature model TLEV=2 is only partially implemented. XW: Mask and etching offset can extend the model. I will take a look.
I changed it to IOPR. The parameters are from hspice. Everything OK. Give me a list of other parameter complains from sky PDK.
Your commit is now in pre-master-43. Thanks
diode: add aliases for breakdown voltage
No problem with aliases! Which other simulator uses this parameter names? We are using IOPR macro for aliases (synonyms).
Good finding with gndref problem in openvaf! You still see the compiler problem as mentioned in your initial post? Can you disclose your source for the simulation setup? The va code is from Ken Kundert's paper.
You speak about Qucs-S, not Qucs. I think your equation block is obsolete. Don't know what you really want with your setup but this works for me:
For me this version of the hysteresis model never worked with openvaf/ngspice. BTW - for all I know the bitwise operator for variable migrating is not implemented in openvaf.
change CR/LF to LF
vbic: rm obsolete regression test
especially when the pnjlim() function is buggy Which implementation you meant? Ngspice?
Support op-pt values by Geoffrey Coram
Michael, could you be so kind and checkout git pre-master-43 branch, build a 42+ version and check if the problem still exist. Or wait until new release 43. A workaround could be to reduce the points per decade in your analysis command.
use limexp to prevent NaN with extreme exponents
format
The problem still exists - I reopened bug #92 and will use the old test case. Your testcase is to complex. Main problem is that your PDK installation differs from mine. Which github you have cloned for the skywater PDK?
Noise simulation produces nan
Problem still exist - reopen.
AC simulation of noisy resistor disregards absolute 'temp' value
It is already fixed in pre-release-43 branch on 14.2.24 and will be available in next release 43. For the second issue I will take care. Thanks
use only magnitudes in ac noise analysis even if openvaf compiled models deliver negative noise contributions
2-port noise parameters calculated incorrectly from current correlation matrix
Fixed in actual pre-master-43.
Thanks for your report. But it is repaired in the actual git branch pre-master-43 with my commit 1c9f8b6 from 12.2.24: cplx Ycor = csubco(ckt->CKTYmat->d[0][0], cmultco( cdivco(tempCy->d[0][1], tempCy->d[1][1]), tempCy->d[1][0] ckt->CKTYmat->d[1][0] )); double Y11_Ycor = cmodsqr(csubco(ckt->CKTYmat->d[0][0], Ycor)); @@ -138,7 +138,7 @@ CKTspnoise(CKTcircuit ckt, int mode, int operation, Ndata data, NOISEAN* noise caddco(Y0, Ysopt)); Fmin = 1.0 + 2.0 * Rn * (Ycor.re + Ysopt.re); double Ysoptmod =...
The C file is old. Show "git status". This is mine: dietmar@modsys:~/Projects/spice/ngspice$ git status Auf Branch pre-master-43 Ihr Branch ist auf demselben Stand wie 'origin/pre-master-43'. nichts zu committen, Arbeitsverzeichnis unverändert Something goes wrong with your install. Can you see my commit 8aa20cfc from 24.1.2023 with gitk? My first line in console is: ** ngspice-42+ : Circuit level simulation program Yours?
Thanks for the report. Do you have a recommendation how to solve the potential problem in the code?
only access to CKTkluMODE if KLU configured
EDIT: Please check your src/math/fft/fftext.c file. Can you check the attached file please. This is my output: ** ngspice-42+ : Circuit level simulation program ** Compiled with Sparse Direct Linear Solver ** The U. C. Berkeley CAD Group ** Copyright 1985-1994, Regents of the University of California. ** Copyright 2001-2023, The ngspice team. ** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html ** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html...
Can you check the attached file please. This is my output: ** ngspice-42+ : Circuit level simulation program ** Compiled with Sparse Direct Linear Solver ** The U. C. Berkeley CAD Group ** Copyright 1985-1994, Regents of the University of California. ** Copyright 2001-2023, The ngspice team. ** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html ** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html ** Creation Date: Thu Feb 29 15:40:42 UTC 2024 Note:...
introduce jfet gate-drain and gate-source junction emission coefficient
In this case vb parameter is an alias for diodes brkdwn voltage parameter bv used in well known commercial simulators. I committed a fix in pre-master-43.
introduce diode breakdown voltage parameter alias vb
My manual: 17.5.35 Fourier: Perform a Fourier transform You mean shell cmd history. My still works: ngspice 347 -> !2 List of plots available: Current dc1 vbic gummel test ic=f(vc,vb) (DC transfer characteristic) const Constant values (constants) I am not sure, but do you have readline enabled in configure?
Which OS, compiler, environment and version? Which bsimbulk source and version? Which ngspice source? OSDI or ADMS?
I am using $strobe() but it the same as $display() - no separation of messages. Not sure if $fopen(), $fstrobe() and $fclose() is implemented in openvaf. You have to check.
no use for grouping in cx_fft and cx_ifft
prevent clang error
hicum2: use device temperature for noise analysis too
vbic: use device temperature for noise analysis too
mos1...3: use device temperature for noise analysis too
bjt, dio, jfet, res: use device temperature for noise analysis too
format
too soon return - break is correct