Patent ID: 7961530

Claim:
A semiconductor device, comprising: a nonvolatile memory adapted to store write data in a write-enabled state; a check circuit configured to enable the write data as data for comparison in response to an enabled-status indicating signal indicative of the write-enabled state and to output a result of comparison obtained by comparing data read from the nonvolatile memory with the enabled data for comparison; and a path configured to output the result of comparison output from the check circuit to outside the semiconductor device, wherein no path to output the data read from the nonvolatile memory to outside the semiconductor device is in existence, wherein the check circuit includes: a volatile memory adapted to store the write data as the data for comparison in response to the enabled-status indicating signal; and a comparison circuit configured to output the result of comparison obtained by comparing the data read from the nonvolatile memory with data read from the volatile memory, the semiconductor device further comprising a path to output the data read from the volatile memory to outside the semiconductor device.