An
electronic circuit is disclosed. The circuit includes power
voltage monitoring circuits (610, 700) to monitor a main power
voltage (MPS) provided to a first circuit configured to operate in a main power domain (MPD), generate a main power domain monitor
signal (MUL, MLL) based on the main power
voltage (MPS), monitor a second power voltage (SPS) provided to a second circuit to operate in a second power domain (SPD), and generate a second power domain monitor
signal (2UL, 2LL) based on the second power voltage (SPS); a non-
volatile memory (650) to store data indicating an expected power domain value for the second power domain (SPD); a
mask register (630, 640) to receive and store data from the non-
volatile memory (650) indicating the expected power domain value for the second power domain (SPD); and a controller (620) to generate a power status
signal (OUT) for the second power domain (SPD) based on data (PD2
MASK) of the
mask register (630), the main power domain monitor signal (MUL, MLL), and the second power domain monitor signal (2UL, 2LL).