Nonlinear analysis of ring oscillator circuits