Back-up and restoration of register data
AssigneeTaiwan Semiconductor Manufacturing Company, Ltd.
InventorYu-Der Chih
Life of this patent
Estimating the term…
Abstract
A system includes: a processor; a register configured to store a plurality of words, non-volatile memory having a plurality of cells, each cell corresponding to one of the words of the register, and wherein the each cell of the plurality of cells are set to an initial reset value; a first controller that in response to a loss in power: determines the word stored by the register; and changes the initial reset value of the cell of the non-volatile memory corresponding to the determined word stored by the register to a set value; a second controller that in response to detecting a restoration in power: identifies the cell having the set value; writes the word corresponding to the identified cell to the register; and resets the cells of the non-volatile memory to the initial reset value.
Claims20
A method to back-up a register word stored by a register, the method comprising:
- providing a non-volatile memory having a plurality of cells, each cell corresponding to one of a plurality of words of the register;
- in response to a loss in power, changing, using a controller, an initial reset value of the cell of the non-volatile memory corresponding to the register word stored by the register to a set value.
A method to restore a register word to a register, the method comprising:
- providing a non-volatile memory having a plurality of cells, each cell corresponding to one of a plurality of words of the register;
- in response to detecting a restoration in power after a loss of power:
- identifying, using a controller, the cell having a set value;
- and
- writing, using the controller, the register word corresponding to the identified cell to the register.
A system for backing up a register word stored by a register, the system comprising:
- a non-volatile memory having a plurality of cells, each cell corresponding to one of a plurality of words of the register;
- wherein in response to a loss in power:
- change, using a controller, an initial reset value of a cell of the non-volatile memory corresponding to the register word stored by the register to a set value;
- wherein in response to detecting a restoration in power after the loss in power:
- identifying, using the controller, the cell of the non-volatile memory having the set value;
- writing, using the controller, the register word from the cell of the non-volatile memory to the register;
- and
- resetting, using the controller, the cell to the initial reset value.
Dependencies are inferred from the claim text.