The attack detector top consists of a reference generator, a 1.8V analog supply SAD, a 1.2V analog supply SAD, a 0.75V digital supply SAD, a temperature attack detector, multiple laser attack detectors and a frequency attack detector. The reference generator that includes a Band-Gap Reference (BGR) block provides reference voltage as well as reference current to other blocks. The supply attack detectors monitor the supply voltage or glitch attack, the temperature attack detector monitors temperature, and the frequency attack detector monitors the external clock to protect the system against fault injection attacks, respectively. Finally, the laser attack detectors monitor whether there is a fault injection by laser.