An operation method of a
semiconductor device that performs data writing and correction
processing is provided. The operation method is for a
semiconductor device including a
control circuit, a first circuit, a second circuit, a wiring, a
cell, and a
converter circuit. In the operation method, first, the
control circuit transmits, to the first circuit, a first
signal corresponding to the value of first data. Next, the first circuit outputs, to the wiring, a first current with an amount corresponding to the first
signal. Moreover, the
cell retains a first potential corresponding to the amount of first current. Then, the
cell makes a second current corresponding to the first potential flow from the wiring, and the
converter circuit outputs a second
signal corresponding to the amount of second current. Next, the second circuit obtains a difference value between a value corresponding to the second signal and the value of the first data. If the difference value is 0, the operation is terminated. If the difference value is not 0, the
control circuit generates an update value obtained by adding the difference value to a value corresponding to the first signal previously transmitted. The first circuit obtains the first signal corresponding to the update value and outputs the updated first current to the cell.