Diode level 1: breakdown current IBV is now scaled with area and m, consistent with level 3
inpcom.c: evaluate .param with agauss/gauss/aunif/unif/limit once, as documented
The problem I mentioned was with a inappropriate binning of the statistical package and as suspected not related to this patch. The new approach also work with the copy workaround in IHPs library and show same results. These redundant variables will removed after long waiting time because not any user have updated ngspice. So the patch is applied to pre-master-48. Thank you.
inpcom.c: evaluate .param with agauss etc. once, as documented
I made few more tests with my statistical evaluation in actual IHP OpenPDK and got problems which I can't relate explicite to the code change by your patch. It may be a numerical problem with the statistical package (gnuplot) or other. But anyway we need additional checks. Can I send you the osdi files that you can evaluate the patch with original IHP's PDK? Tell me your OS.
cmake: assume ELF on Linux (fixes Ninja install RPATH error with icx)
.gitignore: extend to cmake generated files
I can confirm: patch is applicable to pre-master-48 the two-staged workaround is not needed anymore * top-level .param g is re-drawn at every use (ngspice master) .param g = agauss(0,1,1) .subckt cell n R1 n 0 '1k*(1+0.1*g)' .ends X1 a cell X2 b cell I1 0 a 1m I2 0 b 1m R3 c 0 '1k*(1+0.1*g)' R4 d 0 '1k*(1+0.1*g)' I3 0 c 1m I4 0 d 1m .control repeat 3 reset op print v(a) v(b) v(c) v(d) end .endc .end