Abstract:
A nonvolatile memory device containing sub memory arrays and distinct associated peripheral sub array circuits containing error checking and correction circuits that are similarly positioned according to the sub array. The memory device is configured so that a single mask change allows the device to be manufactured as a normal mode device or a page mode device.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a semiconductor memory device employing an error checking and correcting (ECC) circuit, and more particularly to a multi-ECC circuit embedded in a semiconductor memory device having a plurality of sub memory cell arrays. 
     As the packing density of semiconductor memory devices increases, bit failures or syndrome bits due to defective manufacturing steps or electrical stress surges can significantly reduce yield and reliability of the semiconductor memory device. 
     In nonvolatile memory devices, e.g., electrically erasable and programmable read only memory (EEPROM) or mask ROM which require high reliability, use of the ECC circuitry is a standard practice. Although ECC circuitry creates troubles, such as an increase of the chip size due to added parity cells and speed delay due to correction circuits, the increased reliability and yield compensate for these difficulties. 
     In particular, redundancy is difficult in a highly integrated ROM device, so ECC circuits enhance the yield and reliability. 
     ECC circuits generally work as follows. During an input operation, corresponding parity bits are generated and then both the input data and the parity bits are stored. During an output operation, the stored data and the corresponding parity bits are compared with each other, thereby detecting and correcting any error. 
     The number of the parity bits required varies according to the number of data bits. this number is determined in accordance with Hamming code, which is attained by: 
     
         2.sup.k ≦m+k+1 
    
     where &#34;m&#34; denotes the number of data bits and &#34;k&#34; denotes number of parity bits. Therefore, according to the above equation, when the number of data bits is eight, the number of equation parity bits is four. Similarly, when the number of data bits is sixteen, the number of required parity bits is five. 
     A block diagram of a conventional semiconductor memory device having an ECC circuit for 128 bits is shown in FIG. 1. The number of parity bits is eight. The semiconductor memory device shown in FIG. 1 has a memory cell array 10A, sense amplifier group 20A for sensing data of the memory cell array 10A, latch circuit 30A for latching the output of the sense amplifier group 20A, an ECC circuit 40A for repairing a syndrome bit, an output decoder 50A for sequentially accessing the 128 bits by 16 bits by means of pre-decoding signals SAD0-SAD7 generated from a pre-decoder 80A, and a data output buffer 60A for providing output data by 16 bits to an output pad 70A. 
     In a page mode data access operation of the semiconductor memory device shown in FIG. 1, the data of 128 bits is sequentially output 16 bits at a time after passing the sense amplifier group 20A, the latch circuit 30A and the ECC circuit 40A, so that the data access can be performed in high speed. However, devices which operate also in a normal mode data access operation, since the sense amplifier group 20A, the latch circuit 30A and ECC circuit 40A are also all simultaneously activated. Thus, power dissipation is the same as during page mode operation, although these devices will not operate in a page mode. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is an object of the present invention to provide an ECC-embedded semiconductor memory device reducing power dissipation during a normal mode data access operation. 
     It is another object of the present invention to provide semiconductor memory device capable of being configured as a normal mode device and a page mode device in a simple manner. 
     The present invention realizes a multi-ECC circuit, wherein the a plurality of ECC circuits correspond to a plurality of sub cell arrays. Furthermore, the architecture of the semiconductor memory device makes the conversion between the normal mode and page mode be possible by the change of a metal layer connection relating to block selecting portions. As a result, the present invention is advantageous for reducing the power dissipation in a semiconductor memory device having an ECC function. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The above objects and other advantages of the present invention will become more apparent by describing in detail a preferred embodiment thereof with reference to the attached drawings in which: 
     FIG. 1 is a functional block diagram of a semiconductor memory device employing a conventional ECC circuit for 128 bits; 
     FIG. 2 is a functional block diagram of a semiconductor memory device employing a multi-ECC circuit, when the semiconductor memory device according to the present invention is put into a normal mode data access; 
     FIG. 3A is a circuit diagram of first decoder shown in FIG. 2; 
     FIG. 3B is a circuit diagram of address transition detector shown in FIG. 2; 
     FIG. 3C is a circuit diagram of second decoder shown in FIG. 2; and 
     FIG. 4 is a functional block diagram of a semiconductor employing a multi-ECC circuit, when the semiconductor memory device according to the present invention is put into a page mode data access operation. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     FIG. 2 shows an functional block diagram of a semiconductor memory device including a multi-ECC circuit according to the present invention that operates in a normal mode data access operation (hereinafter &#34;normal mode&#34;). A memory cell array is divided into four sub cell arrays 100A, 100B, 100C and 100D, each having normal cells and parity cells. The peripheral circuitry corresponding to the sub cell arrays is also divided into four sections and contains four sense amplifier groups 110A, 110B, 110C and 110D, each sense amplifier group having a normal sense amplifiers and parity sense amplifiers, being connected to the sub cell arrays 100A, 100B, 100C and 100D, respectively; four latch circuits 120A, 120B, 120C and 120D for latching output signals supplied from the sense amplifier groups 110A, 110B, 110C and 110D, respectively; four ECC circuits 130A, 130B, 130C and 130D (termed as a whole, &#34;multi-ECC circuit&#34;) connected to respective four sense amplifier groups 110A, 110B, 110C and 110D for repairing syndrome bits; output decoders 140A, 140B, 140C and 140D respectively connected to the ECC circuits 130A, 130B, 130C and 130D; an output buffer 160 for receiving output signals of the output decoders 140A, 140B, 140C and 140D; and an output pad 170. 
     In addition, there is provided a block selecting circuit 150 receiving address signals Ai and Aj in a normal mode and which generates block selecting signals B0-B3 to select the sub cell arrays 100A, 100B, 100C or 100D. In a page mode the inputs of the block selecting circuit 150 is connected to a power supply voltage Vcc, as will be described hereinafter. A sense amplifier selecting circuit 150A receives the block selecting signals B0-B3 from the block selecting circuit 150 and thereby generates sense amplifier selecting signals φSA0-φSA3 to select the sense amplifier groups 110A, 110B, 110C and 110D. A pre-decoder 140 receives address signals Ai, Aj and Ak and thereby generates pre-decoding signals SAD0-SAD7 which are applied to output decoders 140A-140D, to cause each of the output decoders to divide 32 bit output signals from each of the ECC circuits 130A-130D into 16 bit data signals. Each 16-bit data signal is then transferred an output buffer 160 in turn. 
     The block selecting circuit 150, as shown in FIG. 3A, consists of NAND gates ND50-ND53 and receives address signals Ai and Aj in the normal mode. Inverters I50-I53 receive the output signals generated from the NAND gates ND50-ND53. 
     The sense amplifier selecting circuit 150A has four identical circuits, as shown in FIG. 3B, corresponding to the four block selecting signals B0-B3, each consisting of two inverters. Inverters I61, I63, I65 and I67 receive the block selecting signals B0 to B3, and inverters I62, I64, I66 and I68 generate sense amplifier selecting signals φSA0-φSA3 from the output signals of the inverters I61, I63, I65 and I67. 
     The pre-decoder 140, as shown in FIG. 3C, consists of NAND gates ND71 to ND78 which each receive address signals Ai, Aj and Ak, and inverters I71 to I78, which generate pre-decoding signals SAD0 to SAD7 in response to the output of the associated one of NAND gates ND71 to ND78 to control the quantity of data passed through the output decoders 140A, 140B, 140C and 140C in FIG. 2. 
     Since the sub cell arrays are divided into four sections, the sense amplifier groups, latch circuits, ECC circuits and output decoders are respectively divided into four sections to correspond to the number of the sub cell arrays. In FIG. 2, the reason of requiring 38 sense amplifiers for each block in the sense amplifier groups is in that 32 sense amplifiers are required for sensing normal data, and six parity data sense amplifiers are need for repairing single syndrome bits. 
     An ECC circuit is provided in each sub cell array for repairing the syndrome bits. Since four sub cell arrays 100A, 100B, 100C and 100D are independently operated each of the ECC circuits 130A, 130B, 130C and 130D is separately provided within each of sub cell arrays 100A, 100B, 100C and 100D. Thus, each ECC circuit belonging to a certain sub cell array operates free from interference with an adjacent sense amplifier group belong to another sub cell array. Therefore, instead of the ECC circuit operating upon a combination of the output signals from 128 normal data sense amplifiers as in the conventional circuit shown in FIG. 1, each ECC circuit according to the present invention operates on a combination of output signals from 32 normal data sense amplifiers, thereby requiring one such ECC circuit per sub cell array. 
     Referring to FIG. 4, a functional block diagram of the semiconductor memory device manufacturing to operate in a page mode data access operation (hereinafter briefly referred to as &#34;page mode&#34;) is shown. Its architecture is the same as that of FIG. 2, except that the input lines connected to the block selecting circuit 150 are instead connected to the power supply voltage Vcc instead of address signal inputs Ai and Aj. This connection change of the block selecting circuit 150 can be achieved by means of changing the interconnection pattern of the metal layer that defines the connection of input terminals of the block selecting circuit 150. This connection can be changed during the metal layer forming step during the manufacturing process for the semiconductor memory device and requires only a simple mask change. 
     Operations of the memory in the normal mode and the page mode according to the construction shown in FIG. 2 and FIG. respectively 4 will be described below. 
     In the normal mode, address signals Ai and Aj alternatively select one of the sub cell arrays. Assuming that the sub cell array 100A is selected by the block selecting signal B0 which is activated, data read from the sub cell array 100A are sensed and amplified in the sense amplifier group 110A. Normal data are sensed by the normal sense amplifiers and parity data are sensed by the parity sense amplifiers in the sense amplifier group 110A. The data are then latched in the latch circuit 120A, and passed through the ECC circuit 130A. At this time, if a syndrome bit exists, it is repaired in the ECC circuit 130A. Thereafter, the data are decoded in the output decoder 140A and applied to the output buffer 160. The non-selected sub cell arrays 100B, 100C and 100D, sense amplifier groups 110B, 110C and 110D, latch circuits 120B, 120C and 120D, and output decoders 140B, 140C and 140D are in a disabled state, while the sub cell array 100A is selected which makes the sense amplifier group 110A, latch circuit 120A, ECC circuit 130A and the output decoder 140A be activated. Thus, power dissipation is decreased in contrast to conventional normal mode data access circuits. 
     When the semiconductor memory device is configured to operate in the page mode (wherein one page equals to eight words in the described embodiment) this configuration can be easily obtained by changing a metal layer pattern located at an upper mask level of the chip. 38-bit data consisting of 32-bit normal data and 6-bit parity data are respectively read from each of the sub cell arrays 100A to 100D, because the block selecting signals B0 to B3 are all activated due to the power supply voltage input at the logic high level to block select circuit 150. Referring to FIG. 3A, since in the page mode all of the input terminals of the NAND gates ND50 to ND53 are coupled to the power supply voltage Vcc, which is at the CMOS logic high level, the block selecting signals B0 to B3 are all at logic high levels, which thus activates all the sub cell arrays 100A to 100D. Thus, all the sense amplifier selecting signals φSA0 to φSA3 are activated to select all the sense amplifier groups 110A to 110D. After parallel data access operations from the sub cell arrays 100A through 100D to the latch circuits 120A through 120D, 38-bit data consisting of 32-bit normal data and 6-bit parity data are applied to each of the ECC circuits 130A through 130D. Syndrome bits within each 32-bit normal group of data are detected and repaired by the 6-bit parity data in each of the ECC circuits. The 32-bit normal data repaired in each of the ECC circuits 130A to 130D are applied to each of the output decoders 140A to 140D. Each of the output decoders divides this 32-bit data into 16-bit data to the output buffer 160, which is controlled by the pre-decoding signals SAD0 to SAD7 generated from the pre-decoder 140 shown in FIG. 3C. The two groups of data access operation through the output decoders 140A to 140D is the same as that of the output decoder 50A in FIG. 1. 
     Having described the invention, it will be apparent to those skilled in this art that various modifications may be made thereto without departing from the spirit and scope of this invention as defined in the appended claims.