[Problem] To make a call process of circuit configuration information from outside unnecessary, and allow rapid operation after switching on power. [Solution] Provided is a semiconductor device having a plurality of storage units, wherein each storage unit comprises: an address decoder which decodes an address and outputs a word selection signal to a word line; a nonvolatile memory cell array further comprising a plurality of nonvolatile memory cells which are respectively positioned at locations where word lines and data lines intersect; a voltage switch circuit which outputs a high voltage signal to the nonvolatile memory cell array according to an input of a write signal; an inverter circuit which is connected to the outputs of the nonvolatile memory cells; a first transistor which is connected between the outputs of the nonvolatile memory cells and the input of the inverter circuit; a second transistor which is connected between the outputs of the nonvolatile memory cells and the input of the inverter circuit, and which has a lower resistance than the first transistor; and a transfer gate which is connected to the output of the inverter circuit.