dwarning
dwarning
No, this is partly a misunderstanding: In a former version of the PDK lib with different library concept mc_ok was used to switch on/off statistical simulation with Monte Carlo. Actual...
@simi1505 Please at first read the ngspice manual (or hspice/spectre) about the meaning of the gauss() and agauss() function parameters. Assuming the standard deviation values in IHP statistical libraries (I...
@hpretl You are correct, if mc_ok = 0 turns off variation and returns nominal value. Excerpt from inp.c: `static double agauss(double nominal_val, double abs_variation, double sigma) { double stdvar; if...
We are speaking about psp Version 103.6.0. > 3065: rg = RG_i / MULT_i; > ``` The RG_i scaling by MULT_i is used here for OP variable calculation - not...
Thanks for the test case. I think the problem is the reporting of the OP variable rg. I put in few strobes into the va code. For ng=1: OSDI(debug) n.xm1.nsg13_lv_nmos:...
I made a double-check and must correct my self: The calculation of RG is not correct with our actual device instantiation in the Open-PDK lib (and in the spectre lib...
I made 2 simulations with qucs-s/ngspice (klu enabled) with the mentioned instantiation schemes. Shown is the RG approximation from s-parameter simulation (Rg=re(Z11)-re(Z22)/3) of a w=10um NG=1...8 lv_nmos device with VG=1.2V...
Don't really know. But if you look to the formulae you see an NF independent term (our problem we have). This is the resistance from contact to beginning of fingers...
I want show here my testbench for RG from S-parameter:  [lv_nmos_spar_vgs.sch.txt](https://github.com/user-attachments/files/17042330/lv_nmos_spar_vgs.sch.txt) Would be nice if someone could make same in spectre.
Maybe these qucs-s/ngspice (NGSPICE_OSDI_DIR env variable have to be set) examples can help to close the issue:   [lv_nmos_NOISE_id.sch.txt](https://github.com/user-attachments/files/17311124/lv_nmos_NOISE_id.sch.txt) [lv_nmos_NOISE_vd_vg.sch.txt](https://github.com/user-attachments/files/17311125/lv_nmos_NOISE_vd_vg.sch.txt)