Patent ID: 7142478

Claim:
A memory comprising: a clock stop detector for detecting a clock signal being not active for a predetermined period of time, the clock stop detector configured to receive the clock signal and output a control signal in response to the clock signal; a peripheral circuit for reading and writing data to a memory bank, wherein the peripheral circuit is configured to receive the control signal and activate and deactivate in response to the control signal; and an address receiver configured to receive the control signal and activate and deactivate in response to the control signal, wherein the clock stop detector comprises: a first switch that closes in response to a first logic level of an inverted clock signal to charge a capacitor; a second switch that closes in response to a second logic level of the inverted clock signal to discharge the capacitor; and a logic circuit that receives the clock signal and a charge signal based on a charge on the capacitor, and that outputs a control signal indicating when the clock signal was not active for a period of time exceeding the predetermined period of time, wherein the capacitor is charged to the second logic level when the inverted clock signal is at the first logic level, and wherein the capacitor is discharged to the first logic level when the inverted clock signal is at the second logic level for a period of time exceeding the predetermined period of time.