Patent ID: 8327197

Claim:
An apparatus comprising: a first storage to store first data; a read write unit to read and write the first data from and into the first storage; a first error detector to detect an error of the first data read from the first storage; an address storage to store an address of the first storage where the error has been detected; a determining unit to determine whether an address of the first storage in which the first data to be written is matched with the error detected address stored in the address storage when the read write unit is writing the first data into the first storage; a second storage to store second data to be written into the first storage by the read write unit when the address of the first storage in which the second data to be written is matched with the error detected address; a second error detector to detect an error of the second data read from the second storage; and a selector to selectively output one of the first or second data stored in the first storage or the second storage on the basis of an error detection result of the first error detector and the second error detector.