Abstract:
A semiconductor memory device provided with an improved system for detecting an address of a defective column or row of memory cells replaced by a redundant column or row of memory cells through an output port comprises normal memory cells, at least one redundant memory cell, a power-on detection for generating a detection signal when a power supply to the memory circuit is switched on, a first circuit for initializing the normal memory cells at a first logic state in response to the detection signal, and a second circuit for initializing the redundant memory cell at a second logic state different from the first logic state in response to the detection signal.

Description:
This is a continuation of application Ser. No. 385,528, filed July 27, 1989, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a semiconductor memory device having a redundant structure, and more particularly to a system for detecting the memory cell positions using the redundant structure. 
     2. Description of the Related Art 
     Memory capacity of semiconductor memory device has been remarkably increasing. With the increase in the capacity of semiconductor memories, redundant circuit technology has been introduced. The redundant circuit has a redundant column or row of memory cells which are added for a normal memory cell array and a redundant decoder for selecting the redundant column or row of memory cells. If the normal memory cell array contains any defective memory cells in a column or a row, the address corresponding to the defective column or row of memory cells is programmed into the redundant decoder in a known manner, thereby replacing the defective column or row of memory cells with the redundant column or row of memory cells, and thus enabling the defective chip to be relieved. 
     A memory device having such a redundant circuit involves necessity to know information about relief of the memory cell, that is whether or not the redundant circuit has been actually used, and the address of a defective part in the normal memory cell array which has been replaced with the redundant column or row, when the memory is evaluated or tested. Conventional practices therefor include a roll call circuit which is arranged such that a special circuit is provided in a memory chip to obtain relief information. 
     One approach for indicating whether the redundant circuit is actually used and which address of the normal memory array is replaced by the redundant structure is disclosed in the U.S. Pat. No. 4,731,759 issued to Watanabe. According to this U.S. Patent, a series circuit of field effect transistors is inserted between two power voltage terminals (Vcc and GND). The series circuit causes a DC current flowing the two power voltage when the redundant circuit is used for replacing the defective portion of the normal memory array. Therefore, by checking an amount of the DC current flowing through the two power voltage terminals, the usage of the redundant circuit can be known. 
     However, it is difficult to accurately measure the current flowing through the series circuit, because the memory circuit consumes an operating current which also flows between the two power voltage terminals. Moreover, the series circuit always consumes some current flowing therethrough at least when the memory circuit is enabled in a case where the redundant circuit is used. This consumes a wasteful power. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a semiconductor memory device provided with a novel system for detecting the usage of the redundant circuit with ease. 
     It is another object of the present invention to provide a semiconductor memory device having an improved system for detecting the memory position replaced with the redundant circuit operable without causing any wasteful current consumption. 
     A semiconductor memory device according to the present invention comprises a plurality of normal memory cells arranged in an array, at least one redundant memory cell, means for receiving address information, a selection circuit coupled to the array of the normal memory cells and the redundant memory cell, the selection circuit operatively selecting one memory cell from the array of the normal memory cells in accordance with the address information when the normal memory cell corresponding to the address information is operable and selecting the redundant memory cell when the normal memory cell corresponding to the address information is defective, a read-write circuit coupled to the selection circuit for performing a read operation of the selected memory cell in a read mode and a write operation to the selected memory cell in a write operation, a power voltage terminal for receiving a power voltage, a detection circuit coupled to the power voltage terminal for generating a detection signal when the power voltage is initiated to be applied the power voltage terminal, a first initializing circuit for setting the normal memory cells at a first logic state in response to the detection signal, and a second initializing circuit for setting the redundant memory cell at a second logic state different from the first logic state in response to the detection signal. 
     According to the present invention, the normal memory cells and the redundant memory cell are automatically initialized in different logic states, respectively upon the application of the power voltage to the memory circuit. Therefore, the address of the defective memory cell which is replaced by the redundant memory cell can be detected by simply checking read-out data. Any wasteful current does not flow for showing the using state of the redundant memory cell. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The above and further objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, wherein: 
     FIG. 1 is a schematic block diagram of an indicator circuit for a redundant circuit in the prior art; 
     FIG. 2 is a schematic block diagram showing a memory device according to one embodiment of the present invention; 
     FIG. 3 is a timing diagram showing an operation of a power-on detection circuit employed in the memory device of FIG. 2; 
     FIG. 4 is a schematic circuit diagram showing a memory cell; 
     FIG. 5 is a schematic block diagram showing a memory device according to another embodiment of the present invention; and 
     FIG. 6 is a schematic circuit diagram of a redundant memory cell employed in the memory of FIG. 5. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Prior Art 
     A conventional indicator circuit for indicating a using state of a redundant circuit in a memory circuit will be explained with reference to FIG. 1. 
     A program circuit 1 includes a series connection of a fuse F and an N-channel MOS field effect transistor Q 1  connected between a power voltage terminal Vcc and a reference voltage terminal (GND) and a feed-back inverter IV 1  to form a fuse type flip-flop. 
     The fuse F is cut when a redundant circuit including a redundant word line WLR, a redundant row decoder 4, a gate 5 and an inverter IV 2  is utilized for replacing a defective word of a normal memory cell array (not shown in FIG. 1). Therefore, a signal EN is set at a high level. To the contrary, when the normal memory array is perfectly good and the redundant circuit is not used, the fuse F is not cut to produce a low level of the signal EN. When the redundant circuit is used, the address of a defective part, e.g. word line to be replaced with a redundant word line WLR is programmed in the redundant decoder 4 in a known way. Accordingly, when address information AR indicates the address of the defective part, the output of the redundant decoder 4 is selected to select the redundant word line through the gate 5 and the inverter IV 2  in response to the high level of EN. A first roll-call circuit 2 having a P-channel MOS (PMOS) transistor Q 3  and an N-channel MOS (NMOS) transistor Q 4  causes a current flowing therethrough between Vcc and GND when the signal EN is at the high level. A second roll-call circuit 3 including a PMOS transistor Q 5  and an NMOS transistor Q 6   connected between Vcc and GND and causes a current flowing between Vcc and GND when the redundant word line is selected. 
     Thus, in the case where the redundant circuit is used, the signal EN is at the high level and therefore Q 4  is ON, so that the roll call circuit 2 constantly generates a current from the power supply to the ground (GND). For this reason, the current consumption is greater than in a memory in which the redundant circuit is not used by an amount corresponding to the current flowing through the roll call circuit 2. 
     In the memory wherein a redundant circuit is used, when the address of the defective part which has been replaced with the redundant circuit is selected, the output of the redundant decoder 4 is at a high level and the redundant word line WLR is at a high level. As a result, Q 6  turns ON and the roll call circuit 3 generates a current from the power supply Vcc to the ground. When another address is selected, the output of the redundant decoder 4 is at a low level and WLR is also at a low level, so that Q 6  turns OFF. Therefore, no current flows through the roll call circuit 3. Accordingly, the current consumption at the time when the address of a defective part replaced with the redundant circuit is selected is greater than that in the case where another address is selected. Thus, by checking the current consumption of the memory and the current that is consumed when each address is selected, it is possible to obtain information about whether or not the redundant circuit has been used and information about the address of a defective part replaced with the redundant column or row. 
     The above-described prior art has the disadvantages that the current consumption of the memory is increased because of the use of the redundant circuit and it is time-consuming since it is necessary to check, for all the addresses, the current that is consumed when each address is selected. 
     Embodiments 
     With reference to FIG. 2, the memory device according to a first embodiment of the present invention will be explained below. 
     The memory device comprises a normal memory array having a plurality of normal memory cells MC, a plurality of word lines WL l  - WL m  arranged in rows, and a plurality of pairs of bit lines BL, BL (in the drawing, only i-th pair of bit lines BL i , BL i  are representatively shown), and a redundant array of redundant memory cells MC&#39; coupled to the word lines WL l  - WL m  and a pair of redundant bit lines BL R , BL R . Thus, in this memory, a redundant column of memory cell MC&#39; are provided for replacing a defective column of memory cells of the normal memory array. Each of the memory cells MC and the redundant memory cells MC&#39; is constructed as shown in FIG. 4. Namely, the memory cells MC and MC&#39; include a flip-flop composed of load resistors R1, R2 and a pair of NMOS transistors Q M1 , Q M1 , and a pair of transfer gate NMOS transistors Q M3 , Q M4  coupled to one word line WL and a pair of bit lines BL, BL. 
     A plurality of row decoders 11-l to 11-m are provided for selecting the word lines WL l  - WL m , respectively. The pairs of bit lines BL i , BL i , BL R , BL R  are connected to a pair of bus lines DB, DB connected to a read-write circuit 13 connected to an input/output terminal I/O through a plurality of pairs of transfer gate NMOS transistors QY i , QY i  &#39;, QY R , QY R  &#39;. Each pair of transfer gate transistors (QY i , QY i  &#39;) are selected by the corresponding column decoder (12-i) and the pair of transistors QY R , QY R  &#39; for the redundant column are selected by the redundant column decoder 12-R. The redundant column decoder 12-R is enabled in response to the high level of the signal EN generated from the program circuit 1 such as shown in FIG. 1 and generates an active (high) level of output Y R  when column address information ARY indicates a defective column of the normal array. The selective level of Y R  inhibits operations of the normal column decoders such as 12-i. The memory circuit also includes a power-on detection circuit 10 including PMOS transistor Q 11  and NMOS transistors Q 12 , Q 13  connected in series between Vcc and GND and inverters IV 3  and IV 4 . The power-on detection 10 a high level pulse signal FC and a low level pulse signal FC when the power voltage Vcc is switched on, as will be explained in detail later. 
     Each of the row decoders 11-l to 11-m includes a NAND gate AGl receiving row address signals ARX, PMOS transistors Q 14 , Q 15 , Q 16  and NMOS transistors Q 17  to Q 19  and is enabled to select its corresponding word line in accordance with ARX in response to a low level of a control signal XE and selects its corresponding word line irrespective of ARX when the pulse signal FC is at the low level. In the normal memory array, as shown in by way of the pair of bit lines BL i , BL i , an NMOS transistor Q 22  receiving FC at its gate is connected between the true bit line BL i  and the ground voltage source and a PMOS transistor Q 33  having a gate receiving FC is connected between Vcc and the ground voltage source. While a PMOS transistor having a gate receiving FC and an NMOS transistor receiving FC at its gate are connected between the true bit line BL R  and Vcc and the complementary bit line BL R  and the ground voltage source, respectively. 
     Load PMOS transistors Q 20 , Q 21 , Q 24 , Q 25  for the bit lines BL i , BL i , BL R , BL R  are controlled by FC. 
     The operation of the power-on detection circuit 10 will first be explained with reference to FIG. 3. The threshold voltage VTN of the NMOSFET transistors Q 12 , Q 13  is set so as to be greater than the absolute value |VTP| of the threshold voltage of the PMOSFET transistor Q 11 , i.e., |VTP| &lt; VTN. When the power supply voltage Vcc which gradually rises from OV and becomes equal to |VTP| at a time t0, Q 11  turns ON, so that the node Nl rises to a potential which is equal to Vcc. When Vcc becomes equal to 2VTN + Δv at a time t1, Q 12  and Q 13  turn ON in addition to Q 15 , wherein Δv is an increase in the threshold voltage of the NMOSFET transistors caused by the substrate bias effect of Q 12 . If Q 12  and Q 13  which are series-connected have an extremely greater current capacity than that of Q 11 , the potential at Nl falls at the time t1, as shown in FIG. 3. As has been described above, in the process of the gradual rise of the power supply voltage Vcc from 0 V, the potential at the node Nl forms a pulse signal such as that shown in FIG. 3. Accordingly, FC which is a pulse signal of the same phase as Nl, and FC which is a pulse signal of the opposite phase to Nl are generated. The following is a description of the circuit operation by which &#34;0&#34; and &#34;1&#34; are respectively written into normal memory cells MC and the redundant memory cells MC&#39; in synchronism with the pulse signals FC and FC which are generated when it is detected that the power supply has been turned ON. When FC change from the low level to the high level and FC changes from the high level to the low level as a result of the detection that the power supply has been turned ON, Q 16  of the row decoders turns ON, while Q 16  turns OFF. Thus, the word lines WL l  - WL m  are forcedly raised to the high level irrespective of the address ARX and the level of XE. As FC changes from the low level to the high level, Q 20  and Q 21  turn OFF, while Q 22  and Q 23  turn ON. Accordingly, BL i  is set at the GND level, while BL i  is set at the Vcc level. Thus, &#34;0&#34; is written into the normal memory cells MC. Similarly, Q 24  and Q 25  turn OFF, while Q 26  and Q 27  turn ON, so that BL R  is set at the Vcc level, while BL R  is set at the GND level. Thus, &#34;1&#34; is written into the redundant memory cells MC&#39;. Then, when FC changes from the low level to the high level, while FC changes from the high level to the low level, Q 16 , Q 22 , Q 23 , Q 26  and Q 27  turn OFF, while Q 19  to Q 21 , Q 24  and Q 25  turn ON, so that the row decoders and memory cell peripheral circuits become equivalent to those in ordinary memories. Thus, it is possible to effect read and write operations. 
     As has been described above, after the power supply has been turned ON, &#34;0&#34; and &#34;1&#34; are respectively written into all the normal memory cells and all the redundant memory cells and, thereafter, the operation mode is shifted to an ordinary read or write mode. 
     By virtue of the above-described operation, if information stored in the memory is read out in the address order without performing a write operation after the power supply has been turned ON, &#34;1&#34; is output from an address where the normal memory cell has been replaced with a redundant memory cell, while &#34;0&#34; is output from an address where the normal memory cell has not been replaced. It is therefore possible to obtain information about the address of a normal memory cell replaced and information about whether or not the redundant circuit has been used, that is, memory relief information, by checking read-out information in the address order. 
     Although all the word lines WL l  - WL m  are selected upon the power-on of Vcc in the memory of FIG. 2, it is also possible to select a predetermined one word line. In this case, it is necessary to select this predetermined word line for checking the address replaced by the redundant column. 
     With reference to FIGS. 5 and 6, a memory circuit according to a second embodiment of the present invention will be explained. In the memory of this embodiment, a redundant row of memory cells MC&#34; are provided for replacing a defective row of memory cells MC in a normal memory cell array. In FIGS. 5 and 6, elements or portions corresponding to those in the previous drawings are denoted by the same or similar references. The normal memory cells MC have the same structure as those in FIG. 2, as shown in FIG. 4. The redundant row of memory cells MC&#34; are constructed as shown in FIG. 6. Namely, NMOS transistors Q M5  and Q M6  connected to a control line WL&#39; and a pair of data set lines BL&#39; and BL&#39; of the corresponding column are provided in addition to the memory cells MC shown in FIG. 4. 
     The normal row decoders such as 11-j for the normal memory array (MC) have the same structure as those 11-l to 11-m of FIG. 2, while a redundant row decoder 11-R includes PMOS transistors Q 31  - Q 33  and NMOS transistors Q 34  - Q 36  and is enabled in response to the low level of XE. The output (i.e. WL R ) of the redundant row decoder is forcibly set at the low level in response to the high level of FC. 
     When FC changes from the high level to the low level, while FC changes from the low level to the high level, as a result of the detection that the power supply has been turned ON, Q 33  in the redundant row decoder 11-R turns OFF, while Q 36  therein turns ON, so that the redundant word line WLR in the redundant memory cells MC&#34; is forcedly shifted to the low level irrespective of the address input ARX and the level of XE. On the other hand, the other word line WL&#39; which is paired with WLR is raised to the high level. The word lines such as WLj in the normal memory cell array are forcedly raised to the high level in the same way as in the first embodiment. Simultaneously, Q 20  and Q 21  turn OFF, while Q 22  and Q 23  turn ON, so that the bit lines BL l  - BL n  are set at the GND level, while the bit lines BL l  - BL n  are set at the Vcc level. Thus, &#34;0&#34; is written into all the normal memory cells MC. While the transistors Q 24  and Q 25  turn OFF, and Q 26  and Q 27  turn ON, so that the data set lines BL&#39; l  - BL&#39; n  for the redundant memory cells MC&#34; are at the Vcc level, while the data set lines BL&#39; l  - BL&#39; n  are set at the GND level. Thus, &#34;1&#34; is written into all the redundant memory cells MC. When FC changes from the low level to the high level, while FC changes from the high level to the low level, Q 36 , Q 22 , Q 23 , Q 26  and Q 27  turn OFF, while Q 33 , Q 20 , Q 21 , Q 24  and Q 25  turn ON. Accordingly, the normal and redundant row decoders and peripheral circuits become equivalent to those in ordinary memories and it is therefore possible to carry out read and write operations in the same way as in the first embodiment. 
     The method of obtaining memory relief information in this memory is the same as in the first embodiment, and the memory having a redundant row in this embodiment also exhibits advantageous effects similar to those of the memory having a spare column in the first embodiment. 
     As has been described above, the present invention provides a memory circuit having a redundant circuit, comprising a power-on detection circuit which generates a pulse signal when detecting that the power supply has been turned on, and a circuit capable of writing &#34;0&#34; (or &#34;1&#34;) into all normal memory cells and &#34;1&#34; (or &#34;0&#34;) into all redundant memory cells in synchronism with the pulse signal, whereby it is possible to obtain memory relief information within a short period of time by such an easy method that information stored in the memory cells is read out in the address order after the power supply is switched ON, without any increase in the current consumption which has heretofore been caused by a circuit provided to obtain relief information.