A comparison of methodologies to simulate mixed-signal IC