Patent ID: 8081026

Claim:
An integrated circuit, comprising: a power gating switch, the switch comprises: an input port for receiving an input supply voltage; an output port for providing an output supply voltage to a power gated circuit; and a control port for receiving a control signal that determines a difference between the input supply voltage and the output supply voltage; wherein the integrated circuit further comprising the power gated circuit, being gated relative to the input supply voltage by the switch, the power gated circuit being coupled to the output port of the switch for receiving the output supply voltage; a mode indicator generator for generating a mode indicator that indicates a desired mode of the power gated circuit; a leakage indicator generator for generating a leakage indicator that indicates a leakage level of the power gated circuit; and a control circuit, connected to the mode indicator generator and the leakage indicator generator, for receiving the mode indicator and the leakage indicator, the control circuit being arranged to select the value of the control signal based on the mode indicator and on the leakage indicator.