Patent ID: 7061800

Claim:
A nonvolatile semiconductor memory device comprising: a plurality of normal memory cells; a plurality of spare memory cells each used in place of a defective memory cell when the defective memory cell is present in said plurality of normal memory cells; and a program array storing an address of said defective memory cell in a nonvolatile manner, wherein said program array includes a plurality of program sets, each of said plurality of program sets has a first program unit consisting of nonvolatile memory cells equal in structure to said normal memory cells, and storing a flag bit indicating whether the corresponding program set is already programmed to store the address of the defective memory cell, and a second program unit storing the address of the defective memory cell, and said nonvolatile semiconductor memory device further comprising: a select circuit selecting a part of the plurality of flag bits corresponding to said plurality of program sets, respectively, in accordance with addresses of the program sets; and a terminal for reading an output of said select circuit to an outside of the nonvolatile semiconductor memory device.