Patent ID: 7554849
Filing Date: 2009-06-30
Classification: G11C

Abstract:
1. A nonvolatile semiconductor memory for setting control voltages to be supplied to an internal circuit, to an external reference voltage inputted from outside, comprising: a memory cell array connected to word lines along selected rows and bit lines along selected columns and having a plurality of memory cells capable of storing bit information, the memory cells being arranged in a matrix; a row decoder connected to the word lines and supplying a voltage to the word lines to operate the memory cells; a sense amplifier connected to the bit lines, reading data stored in the memory cells, and holding the read data and data written in the memory cells; a parameter register for storing a plurality of parameters corresponding to the plurality of control voltages; a voltage generating control circuit for generating the control voltages in response to the parameters inputted from the parameter register, comparing the control voltages and the external reference voltage, and outputting trimming flag signals according to comparison results; and a parameter control circuit for controlling the parameter register in response to the trimming flag signals to output the selected parameters to the voltage generating control circuit; wherein the parameter control circuit causes the parameter register to sequentially output the plurality of parameters to the voltage generating control circuit, counts, for a fixed period of time, the number of oscillations of each of the trimming flag signals sequentially outputted from the voltage generating control circuit in response to the parameters, stores counted values corresponding to the parameters, and selects the parameter having a maximum counted value as a parameter corresponding to the control voltage closest to the external reference voltage.