A general framework for the noise analysis of semiconductor devices operating in nonlinear (large-signal quasi-periodic) conditions