Semiconductor memory device
FIELD OF THE INVENTION 
     This invention relates to a semiconductor memory device and particularly to an improved static RAM (Random Access Memory) of the automatic power-down system type. 
     BACKGROUND OF THE INVENTION 
     Recently static RAMs employing an automatic power-down system have been developed which make word lines and sense amplifiers inoperative after completion of a series of read operations by use of an address signal change detection signal. Examples of such static RAMs include devices &#34;HM62256, HM628128&#34; marketed by Hitachi, Ltd. 
     The automatic power-down system described above makes word lines and sense amplifiers inoperative at the time of completion of a data read operation even if a chip select signal CS or the like is under the low level active state, and thereby reduces current consumption. However, since the automatic power-down function operates even in an acceleration test such as aging, the actual operation time of an internal circuit becomes shorter than the test cycle of the acceleration test. This results in the problem that the time necessary for the acceleration test becomes extended. 
     It is an object of the present invention to provide a static RAM which can shorten the test time of such an acceleration test while still accomplishing the low power consumption advantages of an automatic power-down system in an ordinary operation mode. 
     The abov and other objects and novel features of the present invention will become more apparent from the following detailed description in conjunction with the accompanying drawings. 
     SUMMARY OF THE INVENTION 
     Among the inventions disclosed in this application, the following will illustrate briefly a typical example. Namely, the present invention provides the function of effectively invalidating an internal activation pulse formed in the automatic power-down system o the basis of an address signal change detection pulse in a predetermined test operation mode. 
     According to the means described above, the internal activation pulse is effectively invalidated by the function described above so that word lines and sense amplifiers are activated in a longer period of time. Therefore, the acceleration test time such as aging can be shortened. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing a static RAM in accordance with one embodiment of the present invention; 
     FIG. 2 is a circuit diagram of one definite example of the memory array MARY and peripheral circuits of the static RAM of FIG. 1; 
     FIG. 3 is a timing chart useful for explaining one example of the ordinary operation mode of the static RAM of the present invention; 
     FIG. 4 is a timing chart useful for explaining one example of a test mode in accordance with the present invention; 
     FIG. 5 is a circuit diagram showing in detail a sense amplifier circuit that can be used for the read circuit in FIG. 2; 
     FIG. 6 is a circuit diagram showing an alternative embodiment of an address decoder circuit that can be used in the present invention; and 
     FIGS. 7a and 7b and 8a and 8b are circuit diagrams showing alternative embodiments of a voltage detection circuit that can be used in the present invention. 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 is a block diagram of a static RAM in accordance with one embodiment of the present invention. The RAM shown in the drawing is formed on a semiconductor substrate such as a single crystal silicon by known CMOS integration circuit technology. 
     Though not particularly limited thereto, the integrated circuit is formed on a semiconductor substrate made of a single crystal N-type silicon. P-channel MOSFETs of the static RAM each include a source region and a drain region that are formed on the surface of the semiconductor substrate and a gate electrode made of polysilicon and formed on the surface of the semiconductor substrate between a source region and the drain region through a thin gate insulating film. N-channel MOSFETs of the static RAM each are formed in a P-type well region which is formed on the semiconductor substrate surface. The semiconductor substrate constitutes a common substrate gate for a plurality of P-channel MOSFET formed thereon. The P-type well region constitutes a substrate gate for the N-channel MOSFET formed thereon. 
     In the drawing, a P-channel MOSFET is distinguished from an N-channel MOSFET by an arrow pointing to its channel (back-gate) portion. This also holds true of later-appearing FIGS. 2, 5 and 7. 
     As will be described later in further detail, a memory array MARY is formed by disposing static memory cells in matrix form at the points of intersection between a plurality of word lines and a plurality of complementary data lines. 
     Address signals A0-Am supplied from external terminals are supplied to address buffers ADB0-ADBm on one hand and to address signal change detection circuits ATD0-ATDm, on the other. The internal address signals formed by the address buffers ADBO, ADBl, etc., receiving the X address signals among the address buffers are supplied to an X decoder XDCR. The X decoder decodes the X address signals and generates a select signal for selecting one word line from a plurality of word lines of the memor array MARY. This select signal is transferred to the corresponding word line through a driving circuit DRV. In the drawing, the X decoder XDCR and the driving circuit DRV are shown as one circuit block for purposes of drawing simplification. In this embodiment, during normal operation the X decoder XDCR outputs the select signal only for a predetermined period in accordance with an internal activation pulse in order to attain low power consumption, as will be discussed later. 
     The internal address signal formed by the address buffer ADBm, etc., receiving the Y address signals among the address buffers described above, is supplied to a Y decoder YDCR. The Y decoder YDCR decodes the Y address signals and generates a select signal for selecting a pair of complementary data lines from a plurality of complementary data lines of the memory array MARY. This select signal is transferred to a column switch. The column switch CW connects the selected complementary data lines to the common complementary data lines. A sense amplifier is coupled to the common complementary data lines. In the drawing, the column switch CW and the sense amplifier SA are shown as one circuit block for purposes of drawing simplification. In this embodiment, during normal operation, the Y decoder YDCR and the sense amplifier SA output the select signal only for a predetermined period in accordance with an internal activation pulse and exhibit the sense operation, respectively, in order to attain low power consumption, as will be discussed later. 
     The address signal change detection circuit ATD0 consists of an exclusive-OR circuit, not shown, for receiving the address signal and a delay signal thereof, and for generating an address signal change detection pulse φ ATD  in accordance with the change of the address signal AO from the high level to the low level or from the low level to the high level. Each of the other address signal change detection circuits ATD1, etc., operates in this same manner with regard to the address signal it receives. The address signal change detection pulse φ ATD  generated so as to correspond to each address signal A0-Am is supplied to an OR gate circuit G5. If even one bit of any address changes as described above from among a plurality of address signals A0 through Am, the OR gate circuit G5 outputs the address signal change detection output pulse φ c  in accordance with its change timing. This detection output pulse φ c  is supplied to the internal activation pulse generation circuit WPG. This internal activation pulse generation circuit WPG performs a pulse width extension operation and generates the internal activation pulse φ w  having a pulse width which is matched with the time necessary for the read operation of the memory cell. 
     In this embodiment the internal activation pulse φ w  itself is not supplied directly to the decoders XDCR and YDCR, but instead is supplied through the OR gate circuit G6. In other words, during normal operation the output pulse φ wc   of the OR gate circuit G6 substantially corresponds to internal activation pulse φ w . However, as will be discussed later, this is not the case during a test operation. 
     A gate control operation of the OR gate circuit G6 is accomplished by the output signal TM of a high voltage detection circuit which will now be discussed. The high voltage detection circuit can be formed with the following circuits. Series MOSFETs Q30-Q34 disposed between the power source voltage V cc  and the ground potential point of the circuit constitute a level shift circuit for shifting the level of the power source voltage V cc . In other words, MOSFETs Q30 through Q34 described above have a diode structure wherein their gates and their drains are connected. When the power source voltage V cc  exceeds the combined threshold voltage of MOSFETs Q30 through Q34, a voltage which is a divided voltage of the power source voltage in proportion to the ratio of the combined conductance of MOSFETs Q30 through Q34 to the conductance of MOSFET Q34 is outputted from the junction between MOSFETs Q33 and Q34. As an example, the threshold voltages for Q30 to Q34 can be such that a power source voltage V cc  is below the combined threshold voltage of MOSFETs Q30 through Q34 within the range of 5 V± 10% whereby D.C. current will be prevented from flowing through the series MOSFETs Q30 through Q34. On the other hand, when the power source voltage V cc  is set to a relatively high voltage about 8 V, for example, MOSFETs Q30 through Q34 are ON and the ratio of conductance of MOSFETs Q30 through Q34 to the conductance of MOSFETs Q35 and Q36 forming an inverter circuit is set so that the divided voltage described above is above the threshold voltage of a CMOS inverter circuit consisting of P-channel MOSFET Q35 and N-channel MOSFET Q36 serving as a voltage comparison circuit. 
     The output signal of the CMOS inverter circuit consisting of MOSFETs Q35 and Q36 described above is made the control signal TM for controlling the OR gate circuit G6 through a similar CMOS inverter circuit N3. 
     FIG. 2 shows a more detailed circuit diagram of the memory array MARY described above and peripheral circuitry that can be used in conjunction with it. 
     The memory array MARY is formed of a plurality of memory cells disposed in matrix form, word lines W0 through Wn and complementary data lines D0, D0 through D1, D1. Each of the memory cells MC has the same structure. As can be seen from a definite circuit example shown in the drawing, this structure includes N-channel memory MOSFETs Q1 and Q2 whose gates and drains are mutually cross-coupled and whose sources are connected to the ground point of the circuit, and high resistance value resistors R1 and R2 disposed between the drains of MOSPETs Q1, Q2 and the power source terminal V cc  and made of a poly (polycrystalline) silicon layer. N-channel transfer gate MOSFETs Q3 and Q4 are disposed between the common junction of MOSFETs Q1, Q2 and the complementary data lines D0, D0, respectively. The gates of the transfer gate MOSFETs Q3, Q4, etc., of the memory cells disposed on the same row are commonly connected to the corresponding word lines W0-Wn shown typically, and the input/output terminals of the memory cells disposed on the same column are connected to a pair of complementary data lines (bit line or digit line) D0, D0 shown typically. 
     In each memory cell, MOSFETs Q1, Q2 and the resistors R1, R2 constitute a kind of flip-flop circuit, but its operation point in the data latch state is somewhat different from that of the flip-flop circuit in the ordinary sense of the term. In other words, in the memory cell MC described above, the resistance value of its resistor R1 is set to an extremely high resistance value so as to keep the gate voltage of MOSFET Q2 at a voltage which is considerably higher than its threshold voltage when MOSFET Q1 is OFF, in order to reduce power consumption of the memory cell. Similarly, the value of the resistor R2 is set to a high resistance value. In other words, the resistors R1 and R2 have a high resistance value so that they can compensate for the drain leakage current of MOSPETs Q1, Q2. The resistors R1, R2 have a current supply capacity to such an extent as to prevent the data charge stored in the gate capacitance (not shown) of MOSFET Q2 from being discharged. 
     In accordance with this embodiment, though the RAM is fabricated by the CMOS-IC technique, the memory cell MC is composed of the N-channel MOSFET and polysilicon resistance elements as described above. 
     The memory cell and the memory array in this embodiment ca reduce the size in comparison with the case where a n P-channel MOSFET is used in place of the polysilicon resistance element described above. In other words, when the polysilicon resistor is used, it can be formed on the gate electrode of a driving MOSFET Q1 or Q2 and its own size can be reduced. Since there is no neoessity of spacing P-channel MOSFETs from the driving MOSFETs Q1, Q2 with a relatively large distance such as when the P-channel MOSFET is used, a waste space portion does not occur in this embodiment. 
     P-channel load MOSFETs Q5 through Q8, which operate as the resistance elements when the ground potential of the circuit is steadily applied to their gates, are disposed between the complementary data lines D0, D0, D1, D1 and the power source voltage V cc  in the drawing, although the invention is not particularly limited to this. Since the size of each MOSFET Q5-Q8 is relatively reduced, each transistor has a small conductance. P-channel load MOSFETs Q9 through Q12 are disposed in parallel with these load MOSFETs Q5 through Q8. Since the size of these load MOSFETs Q9-Q12 is relatively great, each transistor has a relatively large conductance. The ratio of combined conductance of MOSFETs Q5-Q8 when MOSFETs Q9-Q12 are ON to the combined conductance of the transfer gate MOSFET and memory MOSFET of the memory cell MC is set so that the complementary data lines D0, D0, D1, D1 have a desired potential difference in accordance with their memory data in the read operation of the memory cell MC. An internal write signal WE which is set to a high level such as the power source voltage V cc  at the time of the write operation is supplied to the gate of each load MOSFET Q9-Q12. Therefore, each load MOSFET Q9-Q12 is OFF at the time of the write operation, and the load means in the complementary data lines in the write operation is only MOSFET Q5-Q8 having the small conductance. 
     In the drawing, the word line W0 is selected by the X decoder XDCR and the driving circuit DRV as described above. 
     The X address decoder XDCR can be formed of mutually similar NAND gates Gl, G2, etc. Internal complementary address signals generated by an address buffer XADB for receiving X external address signals AX consisting of a plurality of bits are applied in a predetermined combination to the input terminals of these NAND gate circuits G1, G2, etc. The internal activation pulse φ wc  outputted through the OR gate circuit G6 is commonly supplied to these NAND gate circuits G1, G2, etc. 
     A CMOS switch circuit consisting of a parallel circuit of N-channel MOSFET Q13 and P-channel MOSFET Q14 is disposed between the complementary data line DO and the common complementary data line CD in the memory array described above. The other data lines D0, D1, D1, etc., are connected to the corresponding common complementary data lines CD, CD by similar CMOS switch circuits. These CMOS switch circuits together form a column switch CW. 
     The select signals Y0, Y1 generated by the Y address decoder YDCR are supplied to the gates of the N-channel MOSFETs Q13, Q15 and Q17, Q19 forming the column switch CW. The output signals of CMOS inverter circuits N1, N2 for receiving the select signals YO, Y1 described above are supplied to the gates of the P-channel MOSFETs Q14, Q16 and Q18, Q20. 
     The Y address decoder YDCR consists of mutually similar NAND gate circuits G3, G4, etc. The internal complementary address signals formed by the Y address buffer YADB for receiving the Y external address signals AY consisting of a plurality of bits are applied in a predetermined combination to these NAND gate circuits G3, G4, etc. The internal activation pulse φ wc  outputted through the OR gate circuit G6 is commonly supplied to the NAND gate circuits G3, G4, etc. 
     In this embodiment the common complementary data lines CD, CD are provided with P-channel type load (pull-up) MOSFETs Q21 and Q22 in order to accomplish a high speed write recovery operation when the internal write signal WE is supplied to their gate and thus to speed up the write operation, though the invention is not particularly limited to this circuit arrangement. 
     The common complementary data lines CD, CD are connected to the input terminal of the read circuit RA and the output terminal of the write circuit WA. The read circuit RA supplies the read signal to the data output terminal D out  and the write data signal supplied from the data input terminal D in  is supplied to the input terminal of the write circuit WA. 
     The timing control circuit TC receives the control signals from the external terminals WE, CS and generates the internal control timing signals φ r , φ wr  and WE. 
     The read circuit RA includes a sense amplifier and an output circuit, and receives the control signal φ r  supplied from the control circuit TC and internal activation pulse φ wc . As noted above, read circuit RA includes a sense amplifier and exhibits a high sensitivity sensing operation. 
     FIG. 5 is a circuit diagram showing the sense amplifier of the read circuit RA of FIG. 2. The sense amplifier can consist of two differential amplifiers formed with MOSFETs Q23-Q26 and Q27-Q30. The gates of input MOSFETs Q25, Q26 and Q30, Q29 are connected to the common complementary data lines CD, CD, respectively. A constant current source MOSFET Q31 is connected to both differential amplifiers in common, and the internal activation pulse φ r  ·φ wc  is supplied to the gate of the constant current source MOSFET Q31 so that the sense amplifier performs the amplification operation for a predetermined period of time in a read operation. When rendered operative, the sense amplifier amplifies differentially the data signals supplied to the common complementary data lines CD and CD, and amplified data signals are supplied to a latch circuit (not shown in the figure) through complementary output lines D out , D out . The latch circuit latches the data signals and outputs to the data output terminal D out  (see FIG. 2). When rendered inoperative, the output terminal D out  of the read circuit RA is set to the high impedance state or to the floating state. 
     The operation of the write circuit WA of FIG. 2 is controlled by the typical control signal φ wr . When rendered operative, the write circuit WA outputs the complementary data signals corresponding to the input data supplied to the data input terminal D in  to the common complementary data lines CD, CD. When the write circuit WA is rendered inoperative, its pair of output terminals are set to the high impedance state or to the floating state. 
     It is also possible to dispose equalizing MOSFETs between the pairs of complementary data lines D0, D0, between D1 and D1 and/or between the common complementary data lines CD, CD, though this arrangement is not particularly limitative. Upon receiving the change detection signal φ c  of the address signal, etc., these equalizing MOSFETs short-circuit temporarily the complementary data lines and/or common complementary data lines to make their potential equal to one another. 
     FIG. 3 is a timing chart useful for explaining an example of the read operation in the ordinary mode. When the chip select signal CS, not shown, is at the low level and any one of the address signals Ai changes due to the supply of the address signal for the memory access, the address signal change detection circuit ATDi operates in response thereto and generates the address signal change detection pulse φ ATD . This pulse φ ATD  is transferred to the internal activation pulse generation circuit WPG through the OR gate circuit G5. The internal activation pulse generation circuit WPG generates the activation pulse φ w  having a pulse width which is matched with the predetermined read completion time of the memory data of the memory cells. In the ordinary mode such as described above, the power source voltage V cc  is about 5 V and the control signal TM is at the low level (logic &#34;0&#34;), although the invention is not limited to this. Therefore, the activation pulse φ w  is essentially the same as the internal activation pulse φ wc , and is transferred to the decoders XDCR, YDCR and the sense amplifier SA. Therefore, the selected word line W0 is set to the high level selection state for the time corresponding to the pulse width of the activation pulse φ wc  (which, in normal operation, corresponds to the pulse φ w ). Similarly, the switch MOSFETs constituting the column switch CW selected by the Y decoder YDCR are turned ON for the same period. The sense amplifier SA, too, is activated for the time corresponding to the pulse width of the activation pulse φ wc . It should be noted that, in practice, the memory information of the memory cell is transferred to the sense amplifier after the above-mentioned word line selection operation and the selection operation of the complementary data lines is made so that the amplification start timing of the sense amplifier is delayed in the manner shown in the drawing. 
     The amplification output of the sense amplifier is latched by the latch circuit FF and, in the former half of the memory cycle, the data lines of the previous cycle are kept as such. 
     In this embodiment the selection operation of the word lines and the complementary data lines is conducted for a predetermined period by the internal activation pulse φ wc . Accordingly, the current flowing from the complementary data lines to a large number of memory cells connected to the selected word line can be reduced to the minimum necessary level so that low power consumption can be attained. Since the sense amplifier for amplifying the relatively small memory information with high sensitivity consumes the current only for the necessary period, low consumption can be accomplished too. This operation is known as an automatic power-down operation since the pulse φ w  from the pulse circuit WPG serves to power down the word line and the sense amplifier operation when φ w  returns to its low level. 
     FIG. 4 is a timing chart for explaining an example of the acceleration test operation mode such as aging. 
     By way of example, the source voltage V cc  is set to a relatively high voltage value such as about 8 V in the acceleration test such as aging. Under this state, if the chip select signal CS is set to the low level and any one of the address signals Ai changes due to the supply of the address signal for memory access, the address signal change detection circuit ATDi operates in response thereto and generates the address signal change detection pulse φ ATD . This detection pulse φ ATD  is transferred to the internal activation pulse generation circuit WPG through the OR gate circuit G5. As in the case of ordinary operation, the internal activation pulse generation circuit WPG generates the activation pulse φ w  having the pulse width which is matched with the predetermined read completion time of the memory information of the memory cell in the same way as described already. However, in the test mode such as described above, the power source voltage is about 8 V and the control signal TM is at the high level (logic &#34;1&#34;). This means that φ wc  will have a constant high level (e.g. logic &#34;1&#34;) for as long as TM is high. Therefore, the activation pulse φ w  described above is overridden, and, therefore, effectively invalidated (i.e., it does not correspond to φ wc ), and the decoders XDCR, YDCR and the sense amplifier SA are rendered steadily operative. Preferably, this will last for a whole period of an operating cycle of the memory. Accordingly, in the memory access period in which the chip select signal CS is at the low level, any one of the word lines will always be selected and a pair of complementary data lines are selected and coupled to the common complementary data lines. In the modes other than the write mode, the sense amplifier is rendered operative. As a result, the D.C. current from the complementary data lines is caused to flow through the memory cells connected to the selected word line, and the read circuit RA such as the sense amplifier, too, becomes operative so that the aging time described above can be made shorter. 
     The action and effect brought forth by the embodiment described above is as follows. 
     (1) In the acceleration test mode such as aging, the internal activation pulse φ w  formed on the basis of the address signal change detection pulse is substantiallY invalidated. Accordingly, since the selection state of the word lines and the complementary data lines and the operation state of the sense amplifier can be continued, the acceleration test time such as aging can be shortened while attaining low power consumption in the ordinary mode (where φ w  is not invalidated). 
     (2) The circuit for substantially invalidating the internal activation pulse φ w  is one that detects the rise of the power source voltage V cc  to a predetermined high voltage. Therefore, since the test mode can be set automatically by utilizing the operation voltage at the time of the acceleration test such as aging, the increase in the number of external terminals and control signals can be restricted. 
     Although the present invention completed by the present inventors has thus been described definitely with reference to the embodiments thereof, the invention is not particularly limited thereto but can of course be changed or modified in various ways without departing from the spirit and scope thereof. For example, the test mode can be set by various methods such as the disposition of test mode setting terminals, the combination of the chip select signals, the write enable signal and the input/output terminals D in , D out  and the like, besides the method described above which sets the power source voltage to the high voltage. The circuit construction for controlling the selection operation of the word lines in accordance with the internal activation pulse may employ a structure which controls the operation of the driving circuit, besides the method described above which uses the address decoder. In this manner, means for controlling the activation of the internal circuit may assume various forms. 
     FIG. 6 shows another embodiment of an X address decoder circuit XDCR. The internal address signals aO, a 1  . . . a n  supplied from the X address buffer XADB are predecoded by the AND gates G5, G6, etc., in order to reduce the number of address signal lines fed to X decoder circuit XDCR. The AND gate G5 generates a predecoded signal a 1  ·a 0  and transfers it to decoder circuits such as the NAND gate G1. The NAND gate G6 generates another predecoded signal a n-1  ·a n  ·φ wc  which includes the internal activation signal φ wc . Thus, the NAND gate G1 outputs a word line seleotion signal to the word line W0 through a driver circuit N3 for a predetermined period of time in accordance with the internal activation pulse signal φ wc . Besides the use of the OR gate circuit such as described above, means for invalidating the supply of the internal activation pulse φ w  may be circuits that use other logic gate circuits or switches. 
     The high voltage detection circuit to detect a test mode can be changed or modified in various manners. FIG. 7A is a circuit diagram showing another embodiment of a voltage detection circuit which can be used in the present invention, and FIG. 7B is a diagram showing aspects of the operation of the circuit of 7A. 
     Referring to FIGS. 7A and 7B, a voltage level node  ○ is increased corresponding to an increase of V cc  when a voltage difference between nodes  ○ and  ○ , i.e. a voltage difference between a base and an emitter of bipolar transistor Q32, is over a threshold voltage of transistor Q32, transistor Q32 turns ON and the voltage level  ○ begins increasing. 
     When the voltage level of node  ○ is higher than a threshold voltage of transistor Q35, a voltage level of node  ○ becomes a low level. Inverter N4 will then give a high level output to indicate that V cc  has increased above a predetermined level. 
     FIGS. 8A and 8B show another embodiment for detecting a high voltage test mode state. Transistors Q37, Q38 and Q39 clamp a voltage level of node ○ at V th  Q37+V th  Q38+V th  Q39. 
     When a voltage difference between V cc  and the voltage level of node ○ is over the V th  Q40, transistor Q40 becomes the ON state to indicate that V cc  has increased above a predetermined level. 
     The number of transistors connected in series (Q37, Q38, Q39) is designed to control the voltage which activates the transistor Q40. 
     The load means in the static memory cell may be of a complete static type using the P-channel MOSFETs whose current supply capacity is set to a low level, besides the means using high resistance polysilicon described above. Besides the means described above which uses two MOSFETs, the load means disposed in the complementary data lines of the memory array may consist of only one MOSFET. In this manner, the structure of the memory array and definite circuit construction of its peripheral circuits can take various forms. For example, the peripheral circuit may consist of the combination of a CMOS circuit and bipolar transistors. 
     This invention can be used widely for static RAMs and may be incorporated, for example, in various digital integrated circuits such as a 1-chip microcomputer. 
     In summary, a major advantage of the present invention is the fact that in an acceleration test mode such as aging, an internal activation pulse formed on the basis of the change detection pulse of the address signal is substantially invalidated so that the selection state of the word lines and complementary data lines and the operation state of the sense amplifier can be continued. Accordingly, the acceleration test time such as aging can be shortened while accomplishing low power consumption in the ordinary mode. 
     It is to be understood that the above-described arrangements are simply illustrative of the application of the principles of this invention. Numerous other arrangements may be readily devised by those skilled in the art which embody the principles of the invention and fall within its spirit and scope.