Simulation of electrical overstress thermal failures in integrated circuits