Modeling MOSFET and circuit degradation through SPICE