Patent ID: 7983096

Claim:
A semiconductor device, comprising: a nonvolatile memory adapted to store write data in a write-enabled state; a check circuit configured to compare first data with second data and to output a result of the comparison, both the first data and the second data being obtained from write data currently supplied to the nonvolatile memory for a current store operation, the first data being the currently supplied write data that is received by the check circuit after undergoing the current store operation and a read operation with respect to the nonvolatile memory, and the second data being the currently supplied write data that is received by the check circuit through a path that does not include nonvolatile memory in response to an enabled-status indicating signal indicative of the write-enabled state; and a path configured to output the result of the comparison output from the check circuit to outside the semiconductor device, wherein no path to output data read from the nonvolatile memory to outside the semiconductor device is in existence.