Semiconductor memory device

Abstract: The parity cell arrays (PCA) are placed between the ordinary cell arrays (NCA) and a second peripheral circuit (11₂). Dada column lines (DQn140-BDQn161) are provided between the ordinary cell arrays (NCA), between the ordinary cell arrays (NCA) and the parity cell arrays (PCA), and between the parity cell arrays (PCA). These data column lines (DQn140-BDQn161) are connected to read-write lines (RWDn0-BRWDn5) via data column-line amplifier circuits (DQB). These data column-line amplifier circuits (DQB) have almost the same construction. The data column-line control circuit (DBS) activates the data column-line amplifier circuits (DQB) during a write and a read operation to enable data transfer between the data column lines (DQn140-BDQn161) and the read-write lines (RWDn0-BRWDn5).

Description: This invention relates to, for example, a dynamic RAM (hereinafter, DRAM), and more particularly to a semiconductor memory device where the chip layout of memory cell arrays is improved. The most widely used DRAM families at present are those of x4 bits. Ordinary users now use fewer simple x1-bit DRAMs to increase the capacity of electronic equipment. Instead, they are requiring such DRAMs as serve as parts with added values such as the miniaturization of electronic equipment, lower-power dissipation, or higher performance. To meet these needs, DRAMs have been changing gradually from the 256K-bit age to those with more bits, and now the 4M-bit age is coming when DRAM products tend to contain more and more bits, centering around x8, x9, x16, and x18 bits. Figs. 20, 21, and 22 show chip layouts for constructing a x9-bit or x18-bit memory in conventional DRAMs or static RAMs (hereinafter, referred to as SRAMs). In Fig. 20, a parity cell array PCA is placed next to a row decoder of a memory 50. This parity cell array PCA corresponds to, for example, the 9th bit, 17th bit, and 18th bit of the memory cell array. In Fig. 21, a parity cell array PCA is located on the opposite side from a row decoder of a memory 60. Fig. 22 illustrates a chip layout where parity cell arrays PCA are provided at the left end of ordinary memory cell arrays (hereinafter, referred to as NCAs). With the tendency toward the increasing cell capacity, use of more bits, and more sophisticated functions, the memory chip size tends to increase. Equipment using memories, however, tends to be made more compact, so that it is difficult to make the package size, or the chip size, larger. The layouts as shown in Figs. 20 and 21 are best suited for products such as SRAMs whose cell array corresponds to the input/output terminal. In the case of products where a plurality of input/output terminals are provided in the cell array as found in DRAMs, a parity cell array PCA must be outputted from the selected cell array, resulting in the complicated circuit or pattern. In the case of a chip layout as shown in Fig. 22, because the parity cell arrays PCA are away from the ordinary cell arrays NCA, the increased cell capacity and use of more bits require extra wiring and an additional control circuit. As a result, the chip size becomes larger, and the resulting chip not only cannot be put in a desired package but also is degraded in performance. DE-A-34 27 098 relates to a semiconductor component comprising plural data memory blocks, wherein the memory array includes a parity memory block. Further, DE-A-34 27 098 shows the provision of row and column decoders. Starting from device as shown in fig. 22 it is the object of the present invention to provide a semiconductor memory device which minimizes an increase in chip size without deteriorating the performance, by allowing the dedicated parity cell arrays and the ordinary cell arrays to be shared to eliminate extra wiring, and which enables simultaneous development of various types of products, thereby improving design efficiency. This object is solved by a semiconductor memory device according to claim 1. The dependent claims 2 to 8 show advantageous further developments of the semiconductor memory device according to claim 1. For solving the above object, according to claim 1, there is provided a semiconductor memory device having a chip layout which makes it possible to reduce the wiring resistance and capacity without lowering the performance. Especially, the object is achieved by locating the parity cell arrays between the ordinary cell arrays and the second peripheral circuit, so that an extra wiring in the circuit controlling the parity cell arrays can be eliminated. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which: Fig. 1 is a plan view of a chip layout according to an embodiment of the present invention; Fig. 2 is a view for explaining a concrete arrangement of the cell array of Fig. 1; Fig. 3A is a detailed circuit diagram of portion 11a of Fig. 2; Fig. 3B is a detailed circuit diagram of portion 11b of Fig. 2; Fig. 4 is a circuit diagram of a portion of the cell array; Fig. 5 is a plan view showing the relationship between cell arrays of Fig. 1; Fig. 6 is a schematic diagram of the shaded portion in Fig. 5; Fig. 7 is a circuit diagram of a portion for generating an activating signal to the data column-line amplifier circuit DQB in an example of the data column-line control circuit DSB of Fig. 6; Fig. 8 is a circuit diagram of a portion for generating various control signals to the data column-line amplifier circuit DQB in an example of the data column-line control circuit DSB of Fig. 6; Fig. 9 is a circuit diagram of an example of the data column-line amplifier circuit DQB12a of Fig. 6; Fig. 10 is a circuit diagram of an example of the data column-line amplifier circuit DQB12b of Fig. 6; Fig. 11 is a circuit diagram of an example of an ordinary cell array data read switch circuit; Fig. 12 is a circuit diagram of an example of a parity cell data read switch circuit; Fig. 13 is a circuit diagram of an example of an ordinary cell array write switch circuit; Fig. 14 is a circuit diagram of an example of a parity cell array write switch circuit; Fig. 15 is a circuit diagram of an example of an ordinary cell array read-write line write circuit; Fig. 16 is a circuit diagram of a parity cell array read-write line write circuit; Fig. 17 is a schematic diagram of a refresh circuit composed of ordinary cell arrays and parity cell arrays according to a first embodiment of the present invention; Fig. 18 is a schematic diagram of a refresh circuit composed of ordinary cell arrays and parity cell arrays according to a second embodiment of the present invention; Fig. 19 is a schematic diagram of a refresh circuit composed of ordinary cell arrays and parity cell arrays according to a third embodiment of the present invention; Fig. 20 is a plan view of a conventional chip layout; Fig. 21 is a plan view of a conventional chip layout; and Fig. 22 is a plan view of a conventional chip layout. Hereinafter, embodiments of the present invention will be explained, referring to the accompanying drawings. Fig. 1 shows a chip layout of a x18-bit structure, for example. A memory 11 is formed on a semiconductor substrate 10. The memory 11 is divided into four 4.5M-bit cell array blocks A, B, C, and D. Each of the cell block array blocks A, B, C, and D are further divided into eighteen 256K-bit blocks to produce 72 cell arrays in total. Between cell array blocks A and B, and between cell array blocks C and D, first peripheral circuits 11 1 containing row decoders for selecting word lines (not shown) are placed, respectively. Between cell array blocks A and D, and between cell array blocks B and C, a second peripheral circuit 11 2 containing a column decoder for selecting column lines is placed. Around the cell array blocks A through D, third peripheral circuits 11 3 are provided each of which contains bonding pads and an input protective circuit (not shown), a data column-line amplifier circuit DQB explained later, and a data column-line control circuit DBS for controlling the data column-line amplifier circuit DQB. In the figure, the shaded portions indicate cell arrays for parity only, or parity cell arrays PCA, and the other arrays are ordinary cell arrays NCA. The parity cell arrays PCA are located between the ordinary cell arrays NCA and the second peripheral circuit 11 2 . Figs. 2, 3A, 3B, and 4 show concrete arrangements of the cell arrays shown in Fig. 1. Because the cell array blocks A through D has almost the same arrangement, a concrete arrangement of cell array block B will be explained as the representative of the rest. Figs. 3A and 3B show ordinary cell array (NCA) K15, parity cell arrays (PCA) K16 and K17 in cell array block B divided as shown in Fig. 2. Fig. 3A corresponds to portion 11a of Fig. 2 and Fig. 3B corresponds to portion 11b. The ordinary cell arrays (not shown) other than K15 have the same arrangement as that of K15. In Figs. 3A and 3B, the individual cell arrays K15 through K17 are each made up of 256K bits. In each of cell arrays K15 through K17, BLn and BBLn (n = 0 to 1023) indicate a pair of bit lines, and SBLn and BSBLn (n = 0 to 7) denote a pair of spare bit lines. The BBLn is an inverted signal of BLn, and the BSBLn is an inverted signal of SBLn. Hereinafter, B marked at the head of a symbol is assumed to indicate an inverted signal. Memory cells (not shown) are connected to the individual bit lines BLn and BBLn and spare bit lines SBLn and BSBLn of each of cell arrays K15 through K17, respectively. CSL0 through CSL 255 indicate column lines, and SCSLn0 and SCSLn1 indicate spare column lines. Fig. 4 illustrates a portion of the cell array K16. Memory cells MC are provided at intersections of spare bit lines SBL0, SBL1, BSBL0, and BSBL1 and word lines WL. The memory cell is composed of, for example, a transistor and a capacitor. Spare bit lines SBL0 and BSBL0 are connected to a sense amplifier (S/A) 14, and spare bit lines SBL1 and BSBL1 are connected to a sense amplifier 15. The data read from the memory cell onto the spare bit lines is amplified by the sense amplifier 14 or 15. On both sides of each of cell arrays K15 through K17, two pairs of data column lines DQn150, BDQn150, DQn151, BDQn151 through DQn180, BDQn180, DQn181, BDQn181 are provided respectively. These data column lines DQn150, BDQn150, DQn151, BDQn151 through DQn180, BDQn180, DQn181, BDQn181 are connected via transistors to the spare bit lines SBLn and BSBLn (n = 0 to 7) and bit lines BLn and BBLn (n = 0 to 1023) of the individual cell arrays K15 through K17, respectively. For example, the current path of n-channel transistor N10 is connected to spare bit line SBL1 and data column line DQn 150 of cell array K15, and the current path of n-channel transistor N11 is connected to spare bit line SBL0 and data column line DQn 160 of cell array K15. Further, the current path of n-channel transistor N12 is connected to spare bit line SBL0 and data column line DQn 160 of cell array K16, and the current path of n-channel transistor N13 is connected to spare bit line SBL1 and data column line DQn 170 of cell array K16. Still further, the current path of n-channel transistor N14 is connected to spare bit line SBL1 and data column line DQn 170 of cell array K17, and the current path of n-channel transistor N15 is connected to spare bit line SBL0 and data column line DQn 180 of cell array K17. The gates of these transistors N10 through N15 are connected to spare column line SCSLn0. Therefore, when the transistors N10 through N15 are selected, the spare bit lines are connected to the data column lines. The back gate bias for the transistors in Figs. 3 and 4 is different from that for the transistors of the other circuits and is set to V BB . Since the arrangement between the ordinary cell arrays NCA, that between the ordinary cells and the parity cell arrays PCA, and that between the parity cell arrays PCA are all the same as the above arrangement, the circuit between these cell arrays are all standardized. With this arrangement, data reading will be explained, for example. A case where cell array K16 is selected by an address signal and column line CSL0 is selected is now considered. According to the selected address, the word line for cell array K16 is selected, and the data in the memory cell corresponding to the word line is transferred onto bit lines. Because a case where column line CSL0 is selected is now being considered, the data on bit lines BL0 through BL3, and BBL0 through BBL3 is transferred to sets of two pairs of DQ lines DQn160, BDQn160, DQn161, BDQn161, DQn170, BDQn170, and DQn171, BDQn17 on both sides of cell array K16. Next explained will be a circuit for selecting the data column lines DQn and BDQn. The relationship between the individual cell arrays is shown in Fig. 5. In the figure, k = 0 to 17 indicate 256K-bit cell arrays, and P = 0 to 18 indicate area numbers of intervals between cell arrays. As mentioned earlier, the sense amplifier, data column lines, and transistors for connecting data column lines to bit lines or spare bit lines are placed between the cell arrays. Fig. 6 is an enlarged circuit diagram of the shaded portion of Fig. 5. On both sides of each of cell arrays K14 through K17, the data column lines DQnij and BDQnij (i = 14 to 18, j = 0, 1) are located. These data column lines DQnij and BDQnij are connected to pairs of data column-line amplifier circuits DQB, DQB located between the cell arrays. These data column-line amplifier circuits DQB, DQB are connected to data column-line control circuits, respectively, which selectively control the data column-line amplifier circuits DQB, DQB. The data column-line amplifier circuits DQB, DQB, under the control of the data column-line control circuit DBS, selectively connect data column lines DQnij, BDQnij to read-write lines RWDn1, BRWDnl (l = 0 to 5) during a write and a read operation. Specifically, a pair of data column-line amplifier circuits DQB, DQB located at cell array interval P=14 connects data column lines DQn140, BDQn140, DQn141, BDQn141 to read-write lines RWDn0, BRWDn0, RWDn2, BRWDn2, respectively. A pair of data column-line amplifier circuits DQB, DQB located at area number P=15 connects data column lines DQn150, BDQn150, DQn151, BDQn151 to read-write lines RWDn1, BRWDn1, RWDn3, BRWDn3, respectively. A pair of data column-line amplifier circuits DQB, DQB located at area number P=16 connects data column lines DQn160, BDQn160, DQn161, BDQn161 to read-write lines RWDn4, BRWDn4, RWDn5, BRWDn5, respectively. A pair of data column-line amplifier circuits DQB, DQB located at area number P=17 connects data column lines DQn170, BDQn170, DQn171, BDQn171 to read-write lines RWDn4, BRWDn4, RWDn5, BRWDn5, respectively. A pair of data column-line amplifier circuits DQB, DQB located at area number P=18 connects data column lines DQn180, BDQn180, DQn181, BDQn181 to read-write lines RWDn4, BRWDn4, RWDn5, BRWDn5, respectively. For example, in the case of a x8-bit product or a x9-bit product, when ordinary cell array K14 and area number P=14 is selected, data column-line amplifier circuits DQB, DQB connect data column lines DQn140, BDQn140, DQn141, BDQn141 to read-write lines RWDn0, BRWDn0, RWDn2, BRWDn2, respectively. Further, when parity cell array K16 or K17 is selected, data column-line control circuit DBS actuates either of column-line amplifier circuits DQB, DQB on both sides of parity cell array K16 or K17 to connect data column lines to read-write lines RWDn4, BRWDn4, RWDn5, BRWDn5. Because all the pairs of data column-line amplifier circuits DQB, DQB have the same configuration and similarly all the data column-line control circuits DBS have the same configuration, the configuration of data column-line amplifier circuits DQB(12a), DQB(12b) located at area number P=14 and that of data column-line control circuit DBS(12c) will be explained as the representative of the rest. Figs. 7 and 8 show data column-line control circuit DBS. Fig. 7 depicts a circuit for generating an activating signal BDBSP to activate data column-line amplifier circuits DQB, DQB provided on both sides of the selected cell array. The activating signal BDBSP is determined by a combination of right-left select signals DBSCKN-A1, DBSCKN-B2, cell array select signals A9CA8CL-A2, A9CA8CL-B2 produced according to an address, and equalize signals BEQLA, BEQLB. This combination is determined with a combining circuit composed of NAND circuits ND4, ND5 and NOR circuits NR11, NR12, NR13. The activating signal BDBSP is outputted from the NOR circuit NR13. Fig. 8 shows a circuit for generating a write signal BWGT14, a read enable signal QBTR for enabling a read operation, a transfer enable signal BQBLK14 for enabling the transfer of the data on the data column lines to read-write lines RWDn1, BRWDn1, and a latch signal BQLTC14. This circuit produces each of the above signals by using the activating signal BDBS14, a setting signal BQDRVLN for setting an action during a write and a read operation (a low level during a write operation and a high level during a read operation), an activating signal QSELN for transferring data from data column lines to read-write lines RWDn1, BRWDn1 (a low level during a write operation and a high level during a read operation), and a precharge signal CEQP for data column lines, with the setting signal BQDRVLN and activating signal BDBS14 supplied to the input terminal of the NOR circuit NR10. An inverter circuit 15 is connected to the output terminal of the NOR circuit NR10. The inverter circuit I5 outputs the write signal BWGT14 at its output terminal. The activating signal BDBS14 is supplied to one input terminal of a NAND circuit ND1 via an inverter circuit I6. The other input terminal of the NAND circuit ND1 is supplied with the activating signal QSELN. The output terminal of the NAND circuit ND1 is connected to one input terminal of a NAND circuit ND3 via an inverter circuit I7. The other input terminal of the NAND circuit ND3 is connected to the output terminal of the inverter circuit I5. The NAND circuit ND3 outputs the transfer enable signal BQBLK14 at its output terminal. The output terminal of the NAND circuit ND3 is connected to one input terminal of a NAND circuit ND2. The output terminal of the inverter circuit I5 is connected to the other input terminal of the NAND circuit ND2. The NAND circuit ND2 outputs the read enable signal QBTR at its output terminal. Between a first power supply (a round mark in the figure indicates Vcc) and a second power supply (a rectangular mark in the figure indicates Vss), the current path of a p-channel transistor PT37 and those of n-channel transistors NT17 and NT18 are connected in series. The gates of the transistors PT37 and NT17 are supplied with the precharge signal CEQP, and the gate of the transistor NT18 is supplied with the output signal from the inverter circuit I7. The latch signal BQLTC14 is outputted from the junction point of the transistors PT37 and NT17. Fig. 9 shows data column-line amplifier circuit DQB (12a), and Fig. 10 shows data column-line amplifier circuit DQB (12b). Because the data column-line amplifier circuits 12a and 12b have the same arrangement, only the data column-line amplifier circuit 12a will be explained. In Fig. 9, the current paths of p-channel transistors PT1 and PT2 and that of an n-channel transistor NT1 are connected in series between the first and the second power supply. The gate of the transistor PT1 is supplied with the activating signal BDBS14 from the data column-line control circuit DBS. The write signal BWGT14 supplied from the data column-line control circuit DBS and the signal on the read-write line RWDn0 are supplied to the input terminal of the NOR circuit NR1. The output terminal of the NOR circuit NR1 is connected to the gates of the transistors PT2 and NT1. The junction point of the transistors PT2 and NT1 is connected to data column line DQn141. The current paths of p-channel transistors PT8 and PT9 and that of an n-channel transistor NT2 are connected in series between the first and the second power supply. The gate of the transistor PT8 is supplied with the activating signal BDBS14. The write signal BWGT14 and the signal on the read-write line BRWDn0 are supplied to the input terminal of the NOR circuit NR2. The output terminal of the NOR circuit NR2 is connected to the gates of the transistors PT9 and NT2. The junction point of the transistors PT9 and NT2 is connected to data column line BDQn141. Between data column lines DQn141 and BDQn141, p-channel transistors PT3, PT4, and PT5 constituting a precharge circuit is provided. The current path of the transistor PT3 is connected between the first power supply and data column line DQn141, the current path of the transistor PT4 is connected between the first power supply and data column line BDQn141 and the current path of the transistor PT5 is connected between data column line DQn141 and data column line BDQn141. The gates of these transistors PT3, PT4, and PT5 are supplied with the precharge signal CEQP. The current path of a p-channel transistor PT6 is connected between the first power supply and data column line BDQn141. The output terminal of the NOR circuit NR1 is connected to the gate of the transistor PT6 via an inverter circuit I1. The current path of a p-channel transistor PT7 is connected between the first power supply and data column line DQn141. The output terminal of the NOR circuit NR2 is connected to the gate of the transistor PT7 via an inverter circuit I2. The current path of a p-channel transistor PT10 is inserted between the data column line DQn141 and data column line DQn0141', and the current path of a p-channel transistor PT11 is inserted between the data column line BDQn141 and data column line BDQn141'. The gates of these transistors PT10 and PT11 are supplied with the read enable signal QBTR from the data column-line control circuit DBS. The read enable signal QBTR is made low during a read operation. Between data column lines DQn141' and BDQn141', p-channel transistors PT12, PT13, and PT14 constituting a precharge circuit are provided. The current path of the transistor PT12 is connected between the first power supply and data column line DQn141', and the current path of the transistor PT13 is connected between the first power supply and data column line BDQn141', and the current path of the transistor PT14 is connected between data column line DQn141' and data column line BDQn141'. The gates of these transistors PT12, PT13, and PT14 are supplied with the precharge signal CEQP. Further, between the data column lines DQn141' and BDQn141', p-channel transistors PT15 through PT18 and n-channel transistors NT13 and NT14 constituting an amplifier AMP are provided. Specifically, the current paths of the transistors PT15, PT17, and NT13 are connected in series between the first power supply and the input terminal of the latch signal BQLTC14 supplied from the data column-line control circuit DBS. Similarly, the current paths of the transistors PT16, PT18, and NT14 are also connected in series between the first power supply and the input terminal of the latch signal BQLTC14 supplied from the data column-line control circuit DBS. The gates of transistors PT15 and PT16 are supplied with the activating signal BDBS14. The junction point of the current paths of transistors PT17 and NT13 is connected to data column line DQn141', and the gates of transistors PT17 and NT13 are connected to data column line BDQn141'. The junction point of the current paths of transistors PT18 and NT14 is connected to data column line BDQn141', and the gates of transistors PT18 and NT14 are connected to data column line DQn141'. Data column line DQn141' is connected to one input terminal of a NOR circuit NR3, and data column line BDQn141' is connected to one input terminal of a NOR circuit NR4. The other input terminals of these NOR circuits NR3 and NR4 are connected to each other, and are supplied with the transfer enable signal BQBLK14 from the data column-line control circuit DBS. The output terminal of the NOR circuit NR3 is connected to the gate of an n-channel transistor NT5. The current path of the n-channel transistor NT5 is connected between read-write line RWDn0 and the second power supply. The output terminal of the NOR circuit NR4 is connected to the gate of an n-channel transistor NT6. The current path of the n-channel transistor NT6 is connected between read-write line BRWDn0 and the second power supply. Between the output terminal of the NOR circuit NR3 and the second power supply, the current path of an n-channel transistor NT7 is connected. The gate of the transistor NT7 is connected to the output terminal of the NOR circuit NR4. Between the output terminal of the NOR circuit NR4 and the second power supply, the current path of an n-channel transistor NT8 is connected. The gate of the transistor NT8 is connected to the output terminal of the NOR circuit NR3. With the above configuration, to read data, the activating signal BDBS14 is made low and the p-channel transistors PT10 and PT11 are brought into a conductive state by the read enable signal QBTR. The signals on data column lines DQn141 and BDQn141, after being amplified with the amplifier AMP, are transferred to read-write lines RWDn0 and BRWDn0 via NOR circuits NR3 and NR4 and n-channel transistors NT5 and NT6. To write data, the activating signal BDBS14 is made low and the p-channel transistors PT10 and PT11 are brought into a nonconductive state by the read enable signal QBTR. The write signal BWGT14 is made low and the signals on read-write lines RWDn0 and BRWDn0 are outputted from NOR circuits NR1 and NR2. The output signal of NOR circuit NR1 is supplied to data column line DQn141 via p-channel transistor PT2 and n-channel transistor NT1. The output signal of NOR circuit NR2 is supplied to data column line BDQn141 via p-channel transistor PT9 and n-channel transistor NT2. As mentioned above, the data transferred from ordinary cell arrays K14 and K15 to read-write lines RWDn1 and BRWDn1 is transferred to ordinary cell array read lines (not shown) via an ordinary cell-array data-read switch circuit shown in Fig. 11, and then is further transferred to an output circuit. Similarly, the data transferred from parity cell arrays K16 and K17 to read-write lines RWDn1 and BRWDn1 is transferred to dedicated parity read lines via a parity cell-array data-read switch circuit shown in Fig. 12, and then is further transferred to an output circuit and then outputted at the parity input/output terminals. The operation of a switch connecting the data on the read-write lines RWDn1 and BRWDn1 to the read lines is controlled by a signal selecting an address and x8, x9, x16, or x18. Fig. 11 shows the ordinary cell-array data-read switch circuit. The arrangement of an ordinary cell-array data-read switch provided on read-write line RWDn1 is the same as that of an ordinary cell-array data-read switch provided on read-write line BRWDn1. For this reason, the arrangement of only the ordinary cell-array data-read switch circuit provided on read-write line RWDn1 will be explained. The input terminal of a NAND circuit ND6 is supplied with cell array select signals A8R, A9R, A9CA10R, and A8CA11R produced according to the address signal. The output terminal of the NAND circuit ND6 is connected to one input terminal of NOR circuit NR14. The other input terminal of the NOR circuit NR14 is supplied with a test signal TEST. This test signal TEST is made high in the test mode and is normally in a low level. The output terminal of the NOR circuit NR14 is connected to the gates of n-channel transistors NT19 and NT23 constituting switches S1 and S2. It is also connected via an inverter circuit I8 to the gates of p-channel transistors PT38 and PT43 constituting switches S1 and S2. One end of the current path of transistors NT19 and PT38 constituting the switch S1 is connected to read-write line RWDn4 (BRWDn4) and the other end is connected to read line RDn11 (BRDn11). One end of the current path of transistors NT23 and PT43 constituting the switch S2 is connected to read-write line RWDn5 (BRWDn5) and the other end is connected to read line RDn12 (BRDn12). The input terminal of a NAND circuit ND7 is supplied with the output signal of the NAND circuit ND6, a cell array select signal A9CA8C produced according to an address signal, and a test signal TEST inverted by an inverter circuit I10. The output terminal of the NAND circuit ND7 is connected via an inverter circuit I9 to the gates of n-channel transistors NT20 and NT24 constituting switches S3 and S4. It is also connected to the gates of p-channel transistors PT39 and PT44 constituting the switches S3 and S4. One end of the current path of transistors NT20 and PT39 constituting the switch S3 is connected to read-write line RWDn0 (BRWDn0), and the other end is connected to read line RDn11 (BRDn11). One end of the current path of transistors NT24 and PT44 constituting the switch S4 is connected to read-write line RWDn2 (BRWDn2), and the other end is connected to read line RDn12 (BRDn12). The input terminal of a NOR circuit NR15 is supplied with a test signal TEST and a product identifying signal x16x18. This product identifying signal x16x18 is made high when the product is of x16 bits or x18 bits and made low when the product is of x8 bits or x9 bits. The input terminal of a NAND circuit ND8 is supplied with the output signal of the NAND circuit ND6, a cell array select signal A9CA8C produced according to an address signal, and the output signal of the NOR circuit NR15. The output terminal of the NAND circuit ND8 is connected via an inverter circuit I11 to the gates of n-channel transistors NT21 and NT25 constituting switches S5 and S6. It is also connected to the gates of p-channel transistors PT40 and PT45 constituting switches S5 and S6. One end of the current path of transistors NT21 and PT40 constituting the switch S5 is connected to read-write line RWDn1 (BRWDn1), and the other end is connected to read line RDn11 (BRDn11). One end of the current path of transistors NT25 and PT45 constituting the switch S6 is connected to read-write line RWDn3 (BRWDn3), and the other end is connected to read line RDn12 (BRDn12). Further, the product identifying signal x16x18 is connected to the gates of n-channel transistors NT22 and NT26 constituting switches S7 and S8. It is also connected via an inverter I12 to the gates of p-channel transistors PT41 and PT46 constituting switches S7 and S8. One end of the current path of transistors NT22 and PT41 constituting the switch S7 is connected to read-write line RWDn1 (BRWDn1) and the other end is connected to read line RDn21 (BRDn21). One end of the current path of transistors NT26 and PT46 constituting the switch S8 is connected to read-write line RWDn3 (BRWDn3) and the other end is connected to read line RDn22 (BRDn22). Between read line RDn21 (BRDn21) and the first power supply, the current path of p-channel transistor PT42 is connected. The gate of the transistor PT42 is connected to the gate of the transistor NT22. Further, between read line RDn22 (BRDn22) and the first power supply, the current path of p-channel transistor PT47 is connected. The gate of the transistor PT47 is connected to the gate of the transistor NT26. In the ordinary cell-array data-read switch circuit, switches S1 through S6 are turned on and off according to cell array select signals A8R, A9R, A9CA10R, A8CA11R, A9CA8C, a product identifying signal x16x18, and a test signal TEST, and switches S7 and S8 are turned on and off according to a product identifying signal x16x18. For example, then ordinary cell array K14 is selected, the data transferred from ordinary cell array K14 to read-write line RWDn1 (BRWDn) (l = 0, 1, 2, 3) is supplied to the ordinary cell-array data-read switch circuit. In this case, because ordinary cell array K14 is selected, the output of NAND circuit ND6 goes high. When the product is of x16 bits or x18 bits, the product identifying signal x16x18 is high and the cell array select signal A9CA8C is also high. Therefore, switches S1, S2, S5, and S6 are off, and switches S3, S4, S7, and S8 are on, which permits the data on read-write line RWDn1 (BRWDn1) to be transferred to read lines RDn11, RDn12, RDn21, and RDn22, respectively. When the product is of x8 bits or x9 bits, the product identifying signal x16x18 goes low and the cell array select signal A9CA8C turns off switches S1, S2, S7, and S8, and turns on switches S3, S4, S5, and S6, which permits the data on read-write line RWDn1 (BRWDn1) to be transferred to read lines RDn11 and RDn12, respectively. Further, for example, when ordinary cell array K15 is selected, the output of NAND circuit ND6 goes low. When the product is of x16 bits or x18 bits, the product identifying signal x16x18 is high. Therefore, switches S3, S4, S5, and S6 are off, and switches S1, S2, S7, and S8 are on, which allows the data on read-write line RWDn4 (BRWDn4), RWDn5 (BRWDn5) to be transferred to read lines RDn11, RDn12, respectively, and the data on read-write lines RWDn1 (BRWDn1), RWDn3 (BRWDn3) to read lines RDn21 and RDn22, respectively. When ordinary cell array K15 is selected, the product is of x8 bits or x9 bits, and cell array interval P=15 is selected, then the output of the NAND circuit ND6 goes high, which turns off switches S1, S2, S3, S4, S7, and S8, and turns on switches S5 and S6. As a result, the data on read-write line RWDn1 (BRWDn1), RWDn3 (BRWDn3) is transferred to read lines RDn11 and RDn12, respectively. When ordinary cell array K15 is selected, the product is of x8 bits or x9 bits, and cell array interval P=16 is selected, then the output of the NAND circuit ND6 goes low, which turns off switches S3, S4, S5, S6, S7, and S8, and turns on switches S1 and S2, which allows the data on read-write line RWDn4 (BRWDn4), RWDn5 (BRWDn5) to be transferred to read lines RDn11 and RDn12, respectively. Fig. 12 is a parity cell data read switch circuit. The input terminal of a NAND circuit ND9 is supplied with cell array select signals #-1, #-2 and a cell array select signal A9CA8C. The cell array select signal #-1 is, for example, BA9R, and the cell array select signal #-2 is, for example, BA8CA11R. The output terminal of the NAND circuit ND9 is connected to one input terminal of a NOR circuit NR16. The other input terminal of the NOR circuit NR16 is supplied with the test signal TEST. The output terminal of the NOR circuit NR16 is connected to the gate of an n-channel transistor NT27 constituting a switch S9. It is also connected to via an inverter circuit I13 to the gate of a p-channel transistor PT48 constituting the switch S9. One end of the current path of transistors NT27 and PT48 constituting the switch S9 is connected to read-write line RWDn4, and the other end is connected to dedicated parity read line RD8. The input terminal of a NAND circuit ND10 is supplied with cell array select signals #-1, #-2 and a product identifying signal x16x18. The output terminal of the NAND circuit ND10 is connected via an inverter circuit I14 to the gate of an n-channel transistor constituting a switch S10. It is also connected to the gate of a p-channel transistor PT49 constituting the switch S10. One end of the current path of transistors NT28 and PT49 constituting the switch S10 is connected to read-write line RWDn5, and the other end is connected to dedicated parity read line RD9. The input terminal of a NAND circuit ND11 is supplied with cell array select signals #-1, #-2 and a cell array select signal BA9CA8C. The output terminal of the NAND circuit ND11 is connected to the input terminal of a NOR circuit NR17. The input terminal of the NOR circuit NR17 is also supplied with the test signal TEST and product identifying signal x16x18. The output terminal of the NOR circuit NR17 is connected to the gate of an n-channel transistor NT29 constituting the switch S11. It is also connected via an inverter circuit I15 to the gate of a p-channel transistor PT50 constituting switch S11. One end of the current path of transistors NT29 and PT50 constituting the switch S10 is connected to read-write line RWDn5, and the other end is connected to dedicated parity read line RD8. The input terminal of a NAND circuit ND12 is supplied with the cell array select signals #-1, #-2 and cell array select signal A9CA8C. The output terminal of the NAND circuit ND12 is connected to one input terminal of a NOR circuit NR18. The other input terminal of the NOR circuit NR18 is also supplied with the test signal TEST. The output terminal of the NOR circuit NR18 is connected to the gate of an n-channel transistor NT30 constituting the switch S12. It is also connected via an inverter circuit I16 to the gate of a p-channel transistor PT51 constituting switch S12. One end of the current path of transistors NT30 and PT51 constituting the switch S12 is connected to read-write line RWDn4, and the other end is connected to dedicated parity read line BRD8. The input terminal of a NAND circuit ND13 is supplied with the cell array select signals #-1, #-2 and product identifying signal x16x18. The output terminal of the NAND circuit ND13 is connected via an inverter circuit I17 to the gate of an n-channel transistor NT31 constituting a switch S13. It is also connected to the gate of a p-channel transistor PT52 constituting the switch S13. One end of the current path of transistors NT31 and PT52 constituting the switch S13 is connected to read-write line BRWDn5, and the other end is connected to dedicated parity read line BRD9. The input terminal of a NAND circuit ND14 is supplied with the cell array select signals #-1, #-2 and cell array select signal BA9CA8C. The output terminal of the NAND circuit ND14 is connected to the input terminal of a NOR circuit NR19. The input terminal of the NOR circuit NR19 is also supplied with the test signal TEST and product identifying signal x16x18. The output terminal of the NOR circuit NR19 is connected to the gate of an n-channel transistor NT32 constituting a switch S14. It is also connected via an inverter circuit I18 to the gate of a p-channel transistor PT53 constituting the switch S14. One end of the current path of transistors NT32 and PT53 constituting the switch S14 is connected to read-write line BRWDn5, and the other end is connected to dedicated parity read line BRD8. Between the dedicated parity read line RD9 and the first power supply, the current path of a p-channel transistor PT54 is connected. The gate of the p-channel transistor PT54 is supplied with a product identifying signal x16x18. Between the dedicated parity read line BRD9 and the first power supply, the current path of a p-channel transistor PT55 is connected. The gate of the p-channel transistor PT55 is supplied with a product identifying signal x16x18. With the above configuration, when parity cell arrays K16 and K17 are selected, the data items on read-write lines RWDn4, RWDn5, BRWDn4, BRWDn5 are transferred to dedicated parity read lines RD8, RD9, BRD8, and BRD9 via the parity cell data read switch circuit shown in Fig. 12. For example, with parity cell array K16 being selected, when the product identifying signal x16x18 is high, the data on read-write lines RWDn4, RWDn5, BRWDn4, BRWDn5 are transferred to dedicated parity read lines RD8, RD9, BRD8, BRD9 via switches S9, S10, S12, S13. When the product identifying signal x16x18 is low, any of switches S9, S11, S12, and S14 turns on according to the cell array select signal A9CA8C (BA9CA8C), which allows the data on any of read-write lines RWDn4, RWDn5 (BRWDn4, BRWDn5) to be selected and transferred to dedicated parity read lines RD8, RD9 (BRD8, BRD9). Next explained will be the write operation. First, an overview will be given. The data written from an input/output terminal I/O (not shown) is transferred onto data lines via a data write circuit (not shown). Of the data transferred onto the data lines D, the data to be written in an ordinary cell array is transferred to ordinary cell array write data lines WD via the ordinary cell array write switch circuit shown in Fig. 13. Similarly, the data to be written in a parity cell array is transferred onto the parity cell array write data lines WDexn (n= 1, 2) via the parity cell write switch circuit shown in Fig. 14. In Figs. 13 and 14, switches S15 through S28 that transfer the data on data lines D to ordinary cell array write data lines WD and parity cell array write data lines WDexn, are on-off controlled by a cell array select signal according to an address and a product identifying signal x16x18 indicating types of products. The ordinary cell array write data transferred onto ordinary cell array write data lines WD shown in Fig. 13, is transferred to read-write lines RWDn1, BRWDn1 (1= 0 to 5) via the ordinary cell array read-write line write circuit shown in Fig. 15. Similarly, the parity cell array write data transferred to the parity cell array write data lines WDexn shown in Fig. 14, is transferred to the read-write lines RWDn1, BRWDn1 (1= 4, 5) via the parity cell array read-write line write circuit shown in Fig. 16. The data items transferred to read-write lines RWDn and BRWDn1, respectively, are transferred via the data column-line amplifier circuit DQB to data column lines DQn, BDQn, and bit lines. This operation is the opposite of a read operation. Next, the arrangement of each circuit will be explained. In an ordinary cell array write circuit shown in Fig. 13, the input terminal of a NAND circuit ND15 is supplied with cell array select signals A8R, A9R, A9CA10R, and A8CA11A. The output terminal of the NAND circuit ND15 is connected via an inverter circuit I19 to the gates of n-channel transistors NT33 and NT41 constituting switches S15 and S16. It is also connected to the gates of p-channel transistors PT56 and PT60 constituting switches S15 and S16. One end of the current path of transistors NT33 and PT56 constituting a switch S15 is connected to data line Dn11, and the other end is connected to ordinary cell array write data line WDj1. One end of the current path of transistors NT41 and PT60 constituting a switch S16 is connected to data line Dn12, and the other end is connected to ordinary cell array write data line WDj2. Between the ordinary cell array write data line WDj1 and the second power supply, the current path of n-channel transistor NT37 is connected, and between the ordinary cell array write data line WDj2 and the second power supply, the current path of an n-channel transistor NT45 is connected. The gates of these transistors NT37 and NT45 are connected to the output terminal of the NAND circuit ND15. The input terminal of a NAND circuit ND16 is supplied with the output signal of the NAND circuit NDq5 and cell array select signal BA9CA8C. The output terminal of the NAND circuit ND16 is connected via an inverter circuit I20 to the gates of n-channel transistors NT34 and NT42 constituting switches S17 and S18. It is also connected to the gates of p-channel transistors PT57 and PT61 constituting switches S17 and S18. One end of the current path of transistors NT34 and PT57 constituting the switch S17 is connected to data line Dn11, and the other end is connected to ordinary cell array write data line WDk1. One end of the current path of transistors NT42 and PT61 constituting the switch S18 is connected to data line Dn12, and the other end is connected to ordinary cell array write data line WDk2. Between the ordinary cell array write data line WDk1 and the second power supply, the current path of an n-channel transistor NT38 is connected, and between the ordinary cell array write data line WDk2 and the second power supply, the current path of an n-channel transistor NT46 is connected. The gates of these transistors NT38 and NT46 are connected to the output terminal of the NAND circuit ND16. The input terminal of an OR circuit OR is supplied with a test signal TEST and the output signal of the NAND circuit ND15. The input terminal of a NAND circuit ND17 is supplied with the output signal of the OR circuit OR, a cell array select signal A9CA8C, and a product identifying signal x16x18 inverted with an inverter circuit I22. The output terminal of the NAND circuit ND17 is connected via an inverter circuit I21 to the gates of n-channel transistors NT35 and NT43 constituting switches S19 and S20. It is also connected to the gates of p-channel transistors PT58 and PT62 constituting switches S19 and S20. One end of the current path of transistors NT35 and PT58 constituting a switch S19 is connected to data line Dn11, and the other end is connected to ordinary cell array write data line WDl1. One end of the current path of transistors NT43 and PT62 constituting a switch S20 is connected to data line Dn12, and the other end is connected to ordinary cell array write data line WDl2. Between the ordinary cell array write data line WDl1 and the second power supply, the current paths of n-channel transistors NT39 and NT40 are connected in series, and between the ordinary cell array write data line WDl2 and the second power supply, the current paths of n-channel transistors NT47 and NT48 are connected in series. The gates of these transistors NT39 and NT47 are connected to the output terminal of the NAND circuit ND17 and the gates of the transistors NT40 and NT48 are connected to the output terminal of the inverter circuit I22. The gates of n-channel transistors NT36 and NT44 constituting switches S21 and S22 are supplied with the product identifying signal x16x18. The gates of p-channel transistors PT59 and PT63 constituting switches S21 and S22 are supplied with the product identifying signal x16x18 inverted by an inverter circuit I22. One end of the current path of transistors NT36 and PT59 constituting a switch S21 is connected to data line Dn21, and the other end is connected to ordinary cell array write data line WDl1. One end of the current path of transistors NT44 and PT63 constituting a switch S22 is connected to data line Dn22, and the other end is connected to ordinary cell array write data line WDl2. In a parity cell array write switch circuit shown in Fig. 14, the gates of n-channel transistors NT49 and NT50 constituting switches S23 and S24 are supplied with the product identifying signal x16x18. The gates of p-channel transistors PT64 and PT65 constituting switches S23 and S24 are supplied with the product identifying signal x16x18 inverted by an inverter circuit I23. One end of the current path of transistors NT49 and PT64 constituting the switch S23 is connected to data line D9, and the other end is connected to parity cell array write data line WDex1. One end of the current path of transistors NT50 and PT65 constituting the switch S24 is connected to data line BD9, and the other end is connected to parity cell array write data line BWDex1. The gates of n-channel transistors NT51 and NT52 constituting switches S25 and S26 are supplied with the product identifying signal x16x18 inverted by an inverter circuit I24. The gates of p-channel transistors PT66 and PT67 constituting switches S25 and S26 are supplied with the product identifying signal x16x18. One end of the current path of transistors NT51 and PT66 constituting the switch S25 is connected to data line D8, and the other end is connected to parity cell array write data line WDex1. One end of the current path of transistors NT52 and PT67 constituting the switch S26 is connected to data line BD8, and the other end is connected to parity cell array write data line BWDex1. The gates of transistors NT53 and NT54 constituting switches S27 and S28 are supplied with the first power supply. The gates of transistors PT68 and PT69 constituting switches S27 and S28 are supplied with the second power supply. One end of the current path of transistors NT53 and PT68 constituting the switch S27 is connected to data line D8, and the other end is connected to parity cell array write data line WDex2. One end of the current path of transistors NT54 and PT69 constituting the switch S28 is connected to data line BD8, and the other end is connected to parity cell array write data line BWDex2. An ordinary cell array read-write line write circuit shown in Fig. 15 is connected to ordinary cell array write data lines WDj1 through WDl2 and read-write lines RWDnl, BRWDnl (l= 0 to 5) shown in Fig. 13. Fig. 15 shows one circuit as the representative of the rest. In Fig. 15, ordinary cell array write data lines BWDj, WDj are connected via inverter circuits I25 and I26 to the gates of p-channel transistors PT70 and PT71, respectively. Further, ordinary cell array write data line BWDj is connected to the gate of n-channel transistor NT56, and ordinary cell array write data line WDj is connected to the gate of n-channel transistor NT55. The transistors PT70 and NT55 are connected in series between the first and second power supplies. The junction point of these transistors PT70 and NT55 is connected to read-write BRWDnl (l = 0 to 5). The transistors PT71 and NT56 are connected in series between the first and second power supplies. The junction point of these transistors PT71 and NT56 is connected to read-write RWDnl (l = 0 to 5). A parity cell array read-write line write circuit shown in Fig. 16 is connected to parity cell array write data lines WDex1, WDex2 and read-write lines RWDnl, BRWDnl (l = 4, 5). Fig. 16 shows parity cell array write data line WDex1 only, with WDex2 not shown here. In Fig. 16, the input terminal of a NAND circuit ND18 is supplied with cell array select signals #-1, A9CA8C, #-2. The output terminal of the NAND circuit ND18 is connected to one input terminal of each of NAND circuits ND19 and ND20 via an inverter circuit I28. Parity cell array write data lines BWDex1, WDex1 are connected to the other input terminals of these NAND circuits ND19 and ND20. The output terminal of the NAND circuit ND19 is connected to the gate of a p-channel transistor PT72, the output terminal of the NAND circuit ND20 is connected to the gate of a p-channel transistor PT73. Further, the output terminal of the NAND circuit ND19 is connected via an inverter circuit I27 to the gate of an n-channel transistor NT58, the output terminal of the NAND circuit ND20 is connected via an inverter circuit I29 to the gate of an n-channel transistor NT57. The transistors PT72 and NT57 are connected in series between the first and the second power supply, and the junction point of transistors PT72 and NT57 is connected to read-write line BRWDnl (l= 4, 5). The transistors PT73 and NT58 are connected in series between the first and second power supplies, and the junction point of transistors PT73 and 58 is connected to read-write line RWDnl (l= 4, 5). With the above arrangement, the operation of writing ordinary cell array write data in ordinary cell array K14 will be explained. First, when the product is of x16 bits or x18 bits, the product identifying signal x16x18 goes high and the output signal of the NAND circuit ND15 goes high in the ordinary cell array write switch circuit shown in Fig. 13. For this reason, switches S15, S16, S19, and S20 are placed in the off state and switches S17, S18, S21, and S22 are placed in the on state. Therefore, the data items transferred to data lines Dn11, Dn12, Dn21, Dn22 are transferred to ordinary cell array write data lines WDk1, WDl1, WDk2, WDl2, respectively. The data transferred to these cell array write data lines WDk1, WDl1, WDk2, WDl2 are written in read-write lines RWDnl, BRWDnl (l= 0 to 3) via the ordinary cell read-write line write circuit shown in Fig. 15. The data items written in these read-write lines RWDnl, BRWDnl (l= 0 to 3) are transferred to data column lines DQn and bit lines via data column-line amplifier circuits DQB placed on both sides of ordinary cell array K14. Further, when the product is of x8 bits or x9 bits, the ordinary cell array write switch circuit shown in Fig. 13, depending on the state of the cell array select signal A9CA8C (BA9CA8C), transfers the data on data lines Dn11, Dn 12 to any of ordinary cell array write data lines WDk1 and WDl1 and any of WDk2 and WDl2. For example, when cell array select signal A9CA8C is high, the data on data lines Dn11, Dn12 is transferred to ordinary cell array write data lines WDl1, WDl2. The data items transferred to these ordinary cell array write data lines WDl1, WDl2 are transferred to data column lines DQn and bit lines via read-write lines RWDnl, BRWDnl (l= 0 to 3) and the data column-line amplifier circuit DQB. Next explained will be how ordinary cell array write data is written in ordinary cell array K15. First, when the product is of x16 bits or x18 bits, the product identifying signal x16x18 goes high and the output signal of the NAND circuit ND15 goes low in the ordinary cell array write switch circuit shown in Fig. 13. For this reason, the data items transferred to data lines Dn11, Dn12, Dn21, Dn22 are transferred to ordinary cell array write data lines WDj1, WDl1, WDj2, WDl2, respectively. These data items are written in read-write lines RWDnl, BRWDnl (l= 1, 3, 4, 5) via the ordinary cell read-write line write circuit shown in Fig. 15. The data items written in these read-write lines RWDnl, BRWDnl (l= 1, 3, 4, 5) are transferred to data column lines DQn and bit lines via data column-line amplifier circuits DQB placed on both sides of ordinary cell array K15. Further, when the product is of x8 bits or x9 bits, and writing data in area number P=15 is selected, the output signal of the NAND circuit ND15 is kept high and the cell array select signal A9CA8C is also kept high in the ordinary cell array write switch circuit shown in Fig. 13. Thus, the data items on data lines Dn11, Dn12 are transferred to ordinary cell array write data lines WDl1, WDl2. These data items are written in read-write lines RWDnl, BRWDnl (l= 1,3) via the ordinary cell array read-write line write circuit shown in Fig. 15. The data items written in these read-write lines RWDnl, BRWDnl (l= 1, 3) are transferred to data column lines DQn and bit lines via the data column-line amplifier circuit DQB located at cell array interval P=15. Further, when the product is of x8 bits or x9 bits, and writing data in area number P=16 is selected, the output signal of the NAND circuit ND15 goes low in the ordinary cell array write switch circuit shown in Fig. 13. Thus, the data items on data lines Dn11, Dn12 are transferred to ordinary cell array write data lines WDj1, WDj2. These data items are written in read-write lines RWDnl, BRWDnl (l= 4, 5) via the ordinary cell array read-write line write circuit shown in Fig. 15. The data items written in these read-write lines RWDnl, BRWDnl (l= 4, 5) are transferred to data column lines DQn and bit lines via the data column-line amplifier circuit DQB located at cell array interval P=16. Next explained will be how parity cell array write data is written in parity cell array K16. First, when the product is of x16 bits or x18 bits, the product identifying signal x16x18 is high in the parity cell array write switch circuit shown in Fig. 14, with the result that the parity cell array write data items are transferred via data lines D8, D9 (BD8, BD9) to parity cell array write data lines WDex2, WDex1 (BWDex2, BWDex1). These data items are written in read-write lines RWDnl, BRWDnl (l= 4, 5) via the parity cell array read-write line write circuit shown in Fig. 16. The data items written in these read-write lines RWDnl, BRWDnl (l= 4, 5) are transferred to data column lines DQn and bit lines via the data column-line amplifier circuit DQB placed on either area number P=16 or P=17 selected according to the address. Further, when the product is x8 bits or x9 bits, the product identifying signal x16x18 is low in the parity cell array write switch circuit shown in Fig. 14, with the result that the data on data line D8 is transferred to parity cell array write data lines WDex2, WDex1 (BWDex2, BWDex1). Because one of four data column-line amplifier circuits located at area numbers P=16 and P=17 is selected according to the address, the data transferred to the parity cell array write data lines WDex2, WDex1 (BWDex2, BWDex1) is written in read-write lines RWDnl, BRWDnl (l= 4, 5) via the parity cell array read-write line write circuit shown in Fig. 16. For example, when the data column-line amplifier circuit DQB connected to read-write line RWDl5 (BRWDl5) at area number P=16 is selected, the cell array select signal A9CA8C of the parity cell array read-write line write circuit shown in Fig. 16 goes high, with the result that the data on parity cell array write data line WDex1 is written in read-write line RWDn5 (BRWDn5). When the cell array select signal A9CA8C of the parity cell array read-write line write circuit shown in Fig. 16 goes low, with the result that the data on parity cell array write data line WDex2 is transferred to read-write line RWDn4 (BRWDn4). This transferred data is transferred to data column lines DQn and bit lines via the corresponding data column-line amplifier circuit DQB. Next explained will be how to refresh the ordinary cell arrays NCA and the parity cell arrays PCA. To simplify explanation, it is assumed that the number of cell arrays NCA is not a multiple of 9. Fig. 17 shows a first embodiment of a refresh circuit, where there are 8 ordinary cell arrays NCA and two parity cell arrays. In Fig. 17, row block selectors RBS-0 through RBS-9 are connected to a row address buffer 21 that retains row addresses. Row decoders R/D-0 through R/D-9 are connected to these row block selectors RBS-0 through RBS-9. These row decoders R/D-0 through R/D-9 are connected to ordinary cell arrays NCA and parity cell arrays PCA. A refresh-period changeover circuit 22 changes refresh periods according to a control signal CS and, in the self-refresh mode, is set to a specified refresh period. The refresh-period changeover circuit 22, which is composed of, for example, a logic circuit, generates three changeover signals for changing refresh periods according to the control signal CS. With the changeover signal, the ordinary cell arrays are divided into 8, 4, or 2 subdivisions for refreshing. For example, the ordinary cell array NCA is divided into 8 subdivisions for refreshing, only the change over signal corresponding to 1/8 is made high and the changeover signals corresponding to 1/4 and 1/2 are made low. The output terminal of the refresh period changeover circuit 22 is connected to the row block selectors RBS-0 through RBS-7 corresponding to the ordinary cell arrays NCA. It is also connected to an NCA step-up circuit 23 for raising the potential of the words lines of the ordinary cell arrays and a PCA step-up circuit 24 for raising the potential of the words lines of the parity cell arrays. The row block selectors, which are made up of logic circuits (not shown), select at least one row decoder according to the output signal of the row address buffer and the three changeover signal from the refresh period changeover circuit 22. The NCA step-up circuit 23 is connected to the row decoders R/D-0 through R/D-7 connected to the ordinary cell arrays NCA. The PCA step-up circuit 24 is connected to the row decoders R/D-8 and R/D-9 connected to the parity cell arrays PCA. With the above configuration, for a refresh operation, one of the two parity cell arrays PCA is selected by the PCA step-up circuit 24, and the voltage of a single word line in the selected parity cell array is raised. In the case of the ordinary cell arrays NCA, 8 ordinary cell arrays NCA are divided into 8, 4, or 2 subdivisions for selection according to the changeover signals from the refresh-period changeover circuit 22. For example, when the ordinary cell arrays NCA are divided into 8 subdivisions for selection, only the changeover signal corresponding to 1/8 is made high, and the changeover signals corresponding to 1/4 and 1/2 are made low. The row block selectors select one row decoder according to these changeover signals and the row address signal supplied from the row address buffer 21. This selected row decoder selects one word line in the cell array and the voltage of the selected word line is raised by the NCA step-up circuit 23. When the ordinary cell arrays NCA are divided into 4 subdivisions for selection, only the changeover signal corresponding to 1/4 is made high, and the changeover signals corresponding to 1/8 and 1/2 are made low. The row block selectors select two row decoders according to these changeover signals and the row address signal. These selected row decoders select one word line in each cell array and the voltages of a total of two selected word lines are raised by the NCA step-up circuit 23. Similarly, when the ordinary cell arrays NCA are divided into 2 subdivisions for selection, four row decoders are selected according to the changeover signals and row address signal. A total of 4 word lines are raised in voltage by the NCA step-up circuit 23. In this way, by changing the refresh period, the number of word lines selected changes. For this reason, the NCA step-up circuit 23 changes the capacity of the step-up capacitor according to the changeover signal so that the step-up level of the word line may be constant even if the refresh period changes. In the first embodiment of the refresh circuit, although when 1/8 and 1/4 are selected for the refresh period, the refresh period of the ordinary cell arrays NCA differs from that of the parity cell arrays PCA, when 1/2 is selected, the refresh period of the ordinary cell arrays NCA agrees with that of the parity cell arrays PCA. Fig. 18 shows a second embodiment of the refresh circuit, where there are 8 ordinary cell arrays NCA and 4 parity cell arrays PCA. In Fig. 18, row block selectors RBS-0 through RBS-11 are connected to a row address buffer 31 that retains row addresses. Row decoders R/D-0 through R/D-11 are connected to these row block selectors RBS-0 through RBS-11. These row decoders R/D-0 through R/D-11 are connected to ordinary cell arrays NCA and parity cell arrays PCA. A refresh period changeover circuit 32, like that in the first embodiment, outputs three changeover signals according to a control signal CS. The output terminal of the refresh-period changeover circuit 32 is connected to the row block selectors RBS-0 through RBS-11. It is also connected to an NCA step-up circuit 33 for raising the potential of the words lines of the ordinary cell arrays and to a PCA step-up circuit 34 for raising the potential of the words lines of the parity cell arrays. The NCA step-up circuit 33 is connected to the row decoders R/D-0 through R/D-7 connected to the ordinary cell arrays NCA. The PCA step-up circuit 34 is connected to the row decoders R/D-8 through R/D-11 connected to the parity cell arrays PCA. With the above configuration, 8 ordinary cell arrays NCA are divided into 8, 4, or 2 subdivisions for selection according to the changeover signals from the refresh period changeover circuit 32, and 4 parity cell arrays PCA are divided into 4 or 2 subdivisions for selection according to the changeover signals. For example, when the ordinary cell arrays NCA are divided into 8 subdivisions for selection, and the parity cell arrays PCA are divided into 4 subdivisions, the row block selectors select one row decoder from each group of the ordinary cell arrays NCA and parity cell arrays PCA according to the changeover signals and the row address signal. These selected row decoders select one word line in each group of the cell arrays and the voltages of the selected word lines are raised by the NCA step-up circuit 33 and PCA step-up circuit 34. When the ordinary cell arrays NCA and parity cell arrays PCA are both divided into 4 subdivisions for selection, the row block selectors select two row decoders corresponding to ordinary cell arrays NCA and a single row decoder corresponding to a parity cell array PCA according to the changeover signals and the row address signal. One word line in each of the cell arrays selected by these row decoders, that is, three word lines in total, are raised in voltage by the NCA step-up circuit 33 and PCA step-up circuit 34. Similarly, when the ordinary cell arrays NCA and parity cell arrays PCA are divided into 2 subdivisions for selection, six row decoders are selected according to the changeover signals and the row address signal. Then, one word line in each of the cell arrays selected by these row decoders, that is, six word lines in total, are raised in voltage by the NCA step-up circuit 33 and PCA step-up circuit 34. In this way, by changing the refresh period, the number of word lines selected changes. For this reason, the NCA step-up circuit 33 changes the value of the step-up capacity according to the changeover signals so that the step-up level of the word line may be constant even if the refresh period changes. In the above embodiment, although when 1/8 is selected for the refresh period, the refresh period of the ordinary cell arrays NCA differs from that of the parity cell arrays PCA, when 1/2 and 1/4 are selected, the refresh period of the ordinary cell arrays NCA agrees with that of the parity cell arrays PCA. Fig. 19 shows a third embodiment of the refresh circuit, where there are 8 ordinary cell arrays NCA and 8 parity cell arrays PCA. In Fig. 19, row block selectors RBS-0 through RBS-15 are connected to a row address buffer 41 that retains row addresses. Row decoders R/D-0 through R/D-15 are connected to these row block selectors RBS-0 through RBS-15. These row decoders R/D-0 through R/D-15 are connected to ordinary cell arrays NCA and parity cell arrays PCA. A refresh period changeover circuit 42, like that in the first embodiment, outputs three changeover signals according to a control signal CS. The output terminal of the refresh period changeover circuit 42 is connected to the row block selectors RBS-0 through RBS-15. It is also connected to an NCA step-up circuit 43 for raising the potential of the words lines of the ordinary cell arrays and a PCA step-up circuit 44 for raising the potential of the words lines of the parity cell arrays. The NCA step-up circuit 43 is connected to the row decoders R/D-0 through R/D-7 connected to the ordinary cell arrays NCA. The PCA step-up circuit 44 is connected to the row decoders R/D-8 through R/D-15 connected to the parity cell arrays PCA. With the above configuration, the ordinary cell arrays NCA and parity cell arrays PCA are both divided into 8, 4, or 2 subdivisions for selection according to the changeover signals from the refresh-period changeover circuit 32. In this embodiment, the refresh period of the ordinary cell arrays NCA agrees with that of the parity cell array PCA. For example, when the ordinary cell arrays NCA and parity cell arrays are both divided into 8 subdivisions for selection, one row decoder is selected for each group of the ordinary cell arrays NCA and parity cell arrays PCA according to the changeover signals and the row address signal. One word line in each group of the cell arrays selected by these row decoders is raised in voltage by the NCA step-up circuit 43 and PCA step-up circuit 44. When the ordinary cell arrays NCA and parity cell array PCA are both divided into 4 subdivisions for selection, four row decoders are selected by the refresh-period changeover circuit 42 and the row address. One word line in each of the cell arrays selected by these row decoders, that is, four word lines in total, are raised in voltage by the NCA step-up circuit 43 and PCA step-up circuit 44. Similarly, when the ordinary cell arrays NCA and parity cell arrays PCA are divided into 2 subdivisions for selection, 8 row decoders are selected according to the changeover signals and the row address signal. Then, one word line in each of the cell arrays selected by these row decoders, that is, 8 word lines in total, are raised in voltage by the NCA step-up circuit 43 and PCA step-up circuit 44. In this way, by changing the refresh period, the number of word lines selected changes. For this reason, the NCA step-up circuit 43 and PCA step-up circuit 44 change the value of the step-up capacity according to the changeover signals so that the step-up level of the word line may be constant even if the refresh period changes. Further, by making the refresh period of the ordinary cell arrays NCA different from that of the parity cell arrays PCA, the drawn current in the semiconductor memory device can be reduced in the active operation. Still further, by making the refresh period of the ordinary cell arrays NCA equal to that of the parity cell arrays PCA, the number of so-called self-refreshing operations during retaining data can be reduced, thereby decreasing the drawn current.

Claims: A semiconductor memory device comprising: a first through a fourth cell array block (A-D) placed next to each other on a semiconductor substrate, the cell array blocks containing memory cells arranged in a matrix form; a first peripheral circuit (11 1 ) containing a row decoder and connected to the first through fourth cell array blocks (A-D), the first and fourth cell array blocks (A, D) being placed on one side of the first peripheral circuit (11 1 ) and the second and third cell array blocks (B, C) on the other side thereof; and a second peripheral circuit (11 2 ) containing a column decoder and connected to the first through fourth cell array blocks (A-D), the first and second cell array blocks (A, B) being placed on one side of the second peripheral circuit (11 2 ) and the third and fourth cell array blocks (C, D) on the other side thereof, characterized in that said first through fourth cell array blocks (A-D) each having ordinary cell arrays (NCA) and dedicated parity cell arrays (PCA), with the total of the ordinary cell arrays (NCA) and the parity cell arrays (PCA) being a multiple of 9, and said parity cell arrays (PCA) being placed between said ordinary cell arrays (NCA) and said second peripheral circuit (11 2 ). A semiconductor memory device according to claim 1, characterized by further comprising data read-write circuits (DQB, DBS) connected to said ordinary cell arrays and said parity cell arrays, respectively, these read-write circuits having the same construction. A semiconductor memory device according to claim 1, characterized in that said first and second peripheral circuits (11 1 , 11 2 ) are shared by adjacent cell array blocks (A-D). A semiconductor memory device according to claim 1, characterized by further comprising select means (N10-N15) placed on both sides of each of said ordinary cell arrays (NCA) and parity cell arrays (PCA), these select means (N10-N15) selecting said ordinary cell arrays and said parity cell arrays according to an address signal (ADD). A semiconductor memory device according to claim 1, characterized by further comprising: bit lines (SBL0-BL1023) provided for said ordinary cell arrays (NCA) and said parity cell arrays (PCA) and connected to each of said memory cells (MC); first data column lines (DQn150-DBQn151) and first transistors (N10) provided between said ordinary cell arrays (NCA), said first transistors connecting the bit lines of said ordinary cell arrays (NCA) to said first data column lines, and said first data column lines receiving the data read from the bit lines of said ordinary cell arrays and transferring data to the bit lines; first read-write lines for transferring data (RWDn0-BRWDn3); second read-write lines for transferring data (RWDn4-BRWDn5); first data column-line control means (DBS) provided between said first data column lines (DQn150-BDQn151) and said first read-write lines (RWDn0-BRWDn3), which controls data transfer from said first data column lines to said first read-write lines, and data transfer from said first read-write lines to said first data column lines; second data column lines (DQn160, DQn161) and second transistors (N11, N12) provided between said ordinary cell arrays (NCA) and said parity cell arrays (PCA), said second transistors connecting the bit lines of said ordinary cell arrays (NCA) to said second data column lines, and the bit lines of said parity cell arrays (PCA) to said second data column lines; second data column-line control means (DBS) provided between said second data column lines (DQn160-BDQn161) and said second read-write lines (RWDn4-BRWDn5), which controls data transfer from said second data column lines to said second read-write lines, and data transfer from said second read-write lines to said second data column lines; third data column lines (DQn170-BDQn171) and third transistors (N13, N14) provided between said parity cell arrays (PCA), said third transistors (N13, N14) connecting the bit lines of said parity cell arrays to said third data column lines; and third data column-line control means (DBS) provided between said third data column lines (DQn170-BDQn171) and said second read-write lines (RWDn4-BRWDn5), which controls data transfer from said third data column lines to said second read-write lines, and data transfer from said second read-write lines to said third data column lines. A semiconductor memory device according to claim 5, characterized in that said ordinary cell arrays (NCA) have first read-write circuits (DQB) and said parity cell arrays have second read-write circuits (DQB), said first read-write circuits (DQB) being connected to said first read-write lines (RWDn0-BRWDn3), said second read-write circuits (DQB) being connected to said second read-write lines (RWDn4-BRWDn5), and only when said second data column-line control means (DBS) provided between said ordinary cell arrays and said parity cell arrays is driven and said ordinary cell arrays are selected, said ordinary cell arrays being connected to said second read-write lines (RWDn4-BRWDn5). A semiconductor memory device according to claim 1, characterized by further comprising: first word-line driving circuits (R/D-0 to R/D-7) connected to said ordinary cell arrays (NCA), the first word-line driving circuits driving the word lines contained in said ordinary cell arrays; second word-line driving circuits (R/D-8 to R/D-9) connected to said parity cell arrays (PCA), the second word-line driving circuits driving the word lines contained in said parity cell arrays; and changeover means (22) connected to at least said first word-line driving circuits (R/D-0 to R/D-7), which changes the refresh periods of said ordinary cell arrays (NCA) and said parity cell arrays (PCA) in accordance with a division rate of said ordinary cell array (NCA) and said parity cell array (PCA). A semiconductor memory device according to claim 7, characterized by further comprising: first supply means (23) connected to said first word-line driving circuits (R/D-0 to R/D-7), which supplies a voltage to said first word-line driving circuits according to the output signal of said changeover means (22); and second supply means (24) connected to said second word-line driving circuits (R/D-8, R/D-9), which supplies a voltage to said second word-line driving circuits according to the output signal of said changeover means (22).

Inventors: IMAI KIMIMASA, IMAI, KIMIMASA, Imai, Kimimasa, c/o Intellectual Property Div.
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1993
Main classification: G11C5
IPC codes: H01L21, G11C11, G11C5, G11C29, H01L27