Patent ID: 7821294

Claim:
An integrated circuit, comprising: a separately repowerable functional block that includes a restorable storage element and has a plurality of restore states restorable upon repowering-up said separately repowerable functional block; a restore state detector for identifying which one of the plurality of restore states is applicable to a particular repowering up and generating a state signal as a function of the one of the plurality of restore states identified by said restore state detector; a restore logic tree connected between said restore state detector and said restorable storage element, said restore logic tree configured to load, in response to the state signal, said restorable storage elements with a predetermined value corresponding to the one of the plurality of restore states identified by said restore state detector; a functional logic tree; and a selector gate coupled between said functional logic tree and said restorable storage element and between said restore logic tree and said restorable storage element, said selector gate for selecting between said functional logic tree and said restore logic tree.