The present invention provides a high-capacity and reliable semiconductor
device which does not require additional circuits for use at power
ON/OFF, additional steps nor high manufacturing cost, and which has a
rectifier means for rectifying a defect easily. A semiconductor device
comprises a first memory means including a memory cell and a redundant
memory cell each including a memory element in the region where a bit
line and a word line cross each other with an insulator interposed
therebetween, a second memory means for storing an address of a defective
memory in the first memory means, a rectifier means including a holding
means and a replacement means, and an inspection means for writing data
of the second memory means to the holding means. The replacement means
replaces the defective memory cell with the redundant memory cell. In
addition to the aforementioned four means, a display means for displaying
images is provided as well.