Lukas Bongartz
11/22/2023, 2:28 PMTim Edwards
11/22/2023, 2:32 PMKrzysztof Herman
11/22/2023, 2:34 PMTim Edwards
11/22/2023, 2:36 PM.control
noise V(VBGP) VVDDA oct 10 ${FREQUENCY:SWEEPSTART} ${FREQUENCY:SWEEPEND} 1
let vn = sqrt(onoise_total)
echo ${FILENAME} $&vn
quit
.endc
This is a snippet from noise analysis on a bandgap. The file is a template and the ${...}
entries are variables that get substituted by a script before the netlist is passed to ngspice for simulation. The purpose is to get a single value for RMS noise related to the power supply in the given frequency band.Lukas Bongartz
11/22/2023, 2:51 PMKrzysztof Herman
11/22/2023, 2:53 PMKeno Fischer
11/22/2023, 3:08 PMyrrapt
11/22/2023, 7:05 PM