Thermal-Aware Testing of Digital VLSI Circuits and Systems