Hello, this is an issue related to
#C0750383B2M
I am having trouble with parametric noise runs. The core problem is this bit of code:
alter vvgs_ctrl 0.8
op
print Vp1p8hvt#branch
noise v(src_n1p8lvt) Vvgs_ctrl dec 1000 100 10e9
print onoise_total
; reset
alter vvgs_ctrl 1.2
op
print Vp1p8hvt#branch
noise v(src_n1p8lvt) Vvgs_ctrl dec 1000 100 10e9
print onoise_total
This is the core of my loop, I alter a parameter and then re-run the simulation. I have included the
op
command just to verify the
alter
command is doing something. This is what it returns:
Using SPARSE 1.3 as Direct Linear Solver
Reference value : 0.00000e+00
No. of Data Rows : 1
vp1p8hvt#branch = 5.9080065507013344e-07
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Using SPARSE 1.3 as Direct Linear Solver
No. of Data Rows : 8001
No. of Data Rows : 1
onoise_total = 1.2877645416968548e-05
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Using SPARSE 1.3 as Direct Linear Solver
No. of Data Rows : 1
vp1p8hvt#branch = 2.3014385629361719e-05
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Using SPARSE 1.3 as Direct Linear Solver
No. of Data Rows : 8001
No. of Data Rows : 1
onoise_total = 1.2879064884219959e-05
The branch current increases, however the output noise seems to return the original value. When I simulate at
vctrl=1.2
directly, I get the (expected) noise increase.
I saw this:
https://sourceforge.net/p/ngspice/discussion/133842/thread/fcd70adf/
So I tried adding the
reset
command, but it kills the sim:
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Using SPARSE 1.3 as Direct Linear Solver
No. of Data Rows : 1
vp1p8hvt#branch = 2.3014385629361719e-05
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Using SPARSE 1.3 as Direct Linear Solver
Error: no data saved for Noise analysis; analysis not run
doAnalyses: not found
noise simulation(s) aborted
Warning from checkvalid: vector onoise_total is not available or has zero length.
Any ideas? Thank you.