Abstract:
A static memory which can operate with a small power consumption and produces at an output terminal the same data that is written into a selected memory cell, is disclosed. The memory comprises a memory array, a sense amplifier, a latch circuit for holding data from the sense amplifier and a data-in buffer for generating a buffered input signal, and is featured by a circuit for directly writing the buffered input signal to the latch circuit in a write mode.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a memory circuit and more particularly to a static memory circuit of an asynchronous type. 
     Asynchronous type static memories are known and widely used as high speed memories. The asynchronous type static memory operates without receiving any clock signal from the outside memory; it generates timing signals for controlling the respective sections in accordance with changes in address signals and a write enable signal. However, in the prior art the respective peripheral circuits of the memory are controlled in the same manner both in a read operation and in a write operation, and a sense amplifier is also enabled in a write operation even though a function of the sense amplifier is not necessary in a write operation, resulting in large power consumption. 
     Also, it is frequently required to output the same data written into a selected memory cell to an output terminal. To that end, after the write operation, the same word line is selected again to perform a read operation on the same memory cell which was selected in the previous write operation. Thus, the reading of the written data cannot be performed at a high speed and such read operation also has a large power consumption. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a memory circuit which can operate in a write mode with reduced power consumption. 
     It is another object of the present invention to provide a memory circuit which can output the same data as that written into a selected memory cell at a high speed. 
     The memory according to the present invention comprises an array of memory cells, at least one sense amplifier for amplifying a signal from a selected memory cell, a data latch circuit for holding data from the sense amplifier, an output terminal from which data held at the data latch circuit is outputted, and an input buffer for generating an internal data signal responsive to an input signal from the outside, and has the feature that a circuit for applying the internal data signal to the latch circuit directly in a write mode is provided. 
     According to the present invention, the internal data signal is directly written into the latch circuit, and therefore the same data as the internal data signal can be outputted to the output terminal in the same write cycle. 
     In the present invention, in a write mode, the sense amplifier is not enabled to reduce power consumption. Also, a signal for selecting a word line is also generated when a write enable signal is enabled even if no address signal is not changed. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a schematic block diagram of a memory circuit according to a prior art; 
     FIG. 2 is a schematic circuit diagram of a memory cell matrix; 
     FIG. 3 is a schematic circuit diagram of a memory cell; 
     FIG. 4 is a schematic block diagram of an address buffer; 
     FIG. 5 is a schematic block diagram of a chip select input buffer; 
     FIG. 6 is a schematic block diagram of a data input buffer; 
     FIG. 7 is a schematic block diagram of a write control signal buffer; 
     FIG. 8 is a schematic block diagram of a word line driver; 
     FIG. 9 is a schematic block diagram of a data latch circuit; 
     FIG. 10 is a schematic block diagram of a clock signal generator; 
     FIG. 11 is a schematic block diagram of a data input driver; 
     FIG. 12 is a schematic block diagram of a switching circuit; 
     FIG. 13 is a wave-form diagram of a read operation of the circuit in FIG. 1; 
     FIG. 14 is a wave-form diagram of a write operation of the circuit in FIG. 1; 
     FIG. 15 is a schematic block diagram of a memory according to the present invention; 
     FIG. 16 is a schematic block diagram of a clock generator memory of FIG. 15; 
     FIG. 17 is a schematic block diagram of a data latch section of the memory of FIG. 15; 
     FIG. 18 is a wave-form diagram showing an operation of the memory of FIG. 15; 
     FIG. 19 is a block diagram of a data latch section as another example employed in the memory of FIG. 15; 
     FIG. 20 is a diagram of a column selection circuit as another example, employed in the memory of FIG. 15; and 
     FIG. 21 is a schematic block diagram of a switching circuit, as another example, employed in the memory of FIG. 15. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Referring to FIG. 1, a memory circuit according to the prior art is explained. 
     A memory cell matrix 609 includes a plurality of static type memory cells in a known way. 
     FIG. 2 shows the major structure of the matrix 609. 
     As shown in FIG. 2, a plurality of pairs of bit lines (BL, BL) are arranged in parallel in the column direction while a plurality of word lines Wi are arranged in the row direction. Each of the bit lines is connected to a power voltage terminal Vcc through a P channel load transistor Q 91 . In the drawings, P channel transistors are indicated with a circle while N-channel transistors are indicated without a circle. A plurality of memory cells 901 are arranged at the intersections of the word lines and the bit line pairs in a known way. Each of the memory cells 901 is shown in FIG. 3 and is composed of a pair of flip-flop transistors Q 98 , a pair of resistors R 9l  and a pair of transfer gate transistors Q 97 . A column selection gate 902 is provided between each pair of bit lines BL, BL and a pair of data bus lines DB, DB. Each of the gates 902 includes a pair of CMOS switches, each composed of an N channel transistor Q 92  and a P channel transistor Q 93 , which are controlled by a column selection signal such as Yo generated from a column decoder 606. A sense amplifier 903 includes a differential amplifier composed of transistors Q 94  to Q 96  and a CMOS inverter INV from which a read signal PB is produced. 
     In the memory of FIG. 1, although a plurality of address input buffers are employed, one address input buffer 601 for an address input signal Ai is representatively shown. The address input buffer 609 is structured as shown in FIG. 4, in which three inverters IV1-IV3 are used to generate true and complementary address signals Ai&#39; and Ai&#39; and a delay circuit 701 and logic gates G1-G3 form a detection circuit for detecting a change in the address signal Ai to generate a detection signal φ i . 
     Other address buffers have the same structure as 601 but receive other address signals in a known way. A row decoder 605 receives a plurality of row address signals such as Ai&#39;, Ai&#39; from the address buffers and generates row selection signals such as Xi of the same number as the word lines. Among the row selection signals, only one is selected with others non-selected. A word line drive circuit 607 includes a plurality of drive units each of which is structured by an AND gate receiving the row selection signal Xi and a drive timing signal φ x , an output of the AND gate being coupled to the word line Wi as shown in FIG. 8. A chip select signal buffer 602 receives a chip selection signal CS and generates an internal chip selection signal CS; and a timing signal φ CS  when the chip selection signal CS is changed from a high inactive level to a low active level. The structure of the buffer 602 is illustrated in FIG. 5 in which inverters IV4 and IV5 are used to invert the signal CS and a delay circuit 701, an inverter IV6 and an AND gate G4 form a detection circuit for change of CS. A data-in buffer 603 buffers an input data D IN  to generate a buffered data signal D&#39; IN , and is structured as shown in FIG. 6. A write enable signal WE is input to a buffer 604 and an internal write signal WE&#39; is generated therefrom. The buffer 604 is structured by three inverters as shown in FIG. 7. 
     A data write circuit (D IN ) 608 receives the buffered data signal D&#39; IN  and the internal write signal WE&#39; to generate true and complementary write data signals to DB and DB when WE&#39; is high in level. The circuit 608 is structured as shown in FIG. 11 in which two CMOS inverters are employed in a driver stage 801. 
     A data latch circuit 610 incorporates the read signal RB through a CMOS transfer circuit 802 when a control signal φ L  is a high level and holds the signal RB by a flip-flop 803. The state of the flip-flop 803 is inputted to an inverter and outputted as a latched signal LB. A switch circuit 611 is composed of two CMOS transfer gates Sll and Sl2 which are controlled by a control signal φ SW  and its inverted signal generated by an inverter IVC, as shown in FIG. 12. When the control signal φ SW  is high in level, the signal RB is outputted as a selected signal SB via the transfer gate S11 when the signal φ SW  is at a low level, the latched signal LB is outputted via the transfer gate S12 as the signal SB. A data output circuit 612 produces an output signal D OUT  in accordance with the signal SB when CS&#39; is at a low level and WE&#39; is at a low level. 
     A clock generator 613 has an OR gate receiving the signal WE&#39;, the plurality of detection signals φ i  from all the address buffers and the signal φ CS  and a plurality of buffers B11 to B14 from which control signals φ X , φ S , φ L  and φ SW  are generated with predetermined delay times. 
     A read operation of the memory of FIG. 1 is explained with reference to FIG. 13. Under the low level of CS i.e. the active state of the memory, at least one address signal Ai is changed at a time t 1 . Thereafter, the buffered signals A&#39;i, A&#39;i are changed in level. Also, the detection signal φ i  of a high level is generated. The row and column decoders 605 and 606 generate the high level of selection signals Xi and Yj, respectively. Thereafter the signal φ X , φ S , φ SW  and φ L  are sequentially generated by the generator 613, as shown in FIG. 13. The word line Wi is selected in response to the rise of φ X  so that the states of the memory cells coupled to the selected word line Wi are generated to the respective pairs of bit lines (BL, BL) and the level of the bit lines are subjected to change in level. Only one of the column selection circuit 902 is enabled so that the state of the bit line pair coupled to the enabled transfer gate 902 is transmitted to the sense amplifier 903 via DB and DB and the read signal RB is developed in response to the signal φ S . After the signal RB is developed, the signal φ SB  is raised and the signal RB is transmitted as the signal SB via the switch circuit 611. Thereafter, the circuit 612 produces the output signal D OUT  in accordance with the signal SB. While, the signal φ L  is raised after the state of the signal RB and the latch circuit 610 holds the signal RB by the flip-flop 803 and the latch signal LB of the sam level as RB is produced. 
     Accordingly, in this instance, the read signal RB is transmitted as both of the signals SB and LB. 
     In the above memory, the word line Wi is selected during the period that the signal φ X  is at the high level and after this period, the output signal D OUT  is maintained by the state of the latch circuit 610, and the signals φ S , φ L , φ X  and φ SW  are deactivated. Accordingly, power consumption is reduced after the deactivation of the signals φ S , φ L , φ X  and φ SW  although the D OUT  is maintained. 
     Next, a write operation of the memory of FIG. 1 is explained with reference to FIG. 14. 
     Under the active level of the signal CS (low level) and the predetermined fixed state of the address signals, the write enable signal WE is changed from the inactive (high) level to the active (low) level at a time point t 1 . Thereafter the internal write signal WE&#39; is raised and the clock generator 603 generates the control signal φ X , φ S , φ SW  and φ L  which are raised in the order as shown in FIG. 14. After the change in WE, the input data signal D IN  is determined. In response to the rise of WE&#39;, the driver 801 in the circuit 608 is activated so that the state of the signals DB and DB are determined by the buffered data signal D&#39; IN  and the signals DB and DB are written into the selected memory cell 901 and thereafter the state (LB) of the latch circuit 610 is also determined in response to the rise of φ L  according to D IN . 
     Thus, the write operation of D IN  to the selected memory cell 901 is accomplished and the write enable signal WE is returned to the inactive level at a time point t 2 . 
     Throughout the write operation, the selected word line Wi is maintained at the high level and DC current flows from Vcc to ground via one of the transistors Q 91  and the selected memory cell 901 in the respective bit line pairs and the sense amplifier 903 also consumes DC current in this period since the amplifier 903 is also enabled in response to φ S . 
     The current flowing through the sense amplifier 903 is unnecessary to the function of writing. 
     When the data written into the selected memory cell 901 is to be read, the selected word line Wi is deactivated to the low level and then the same word line Wi is selected again to produce the data written as the output signal D OUT . Therefore, it has been necessary to perform the selection of the word line twice, resulting in a low speed operation and a large power consumption. 
     A memory circuit according to one embodiment of the present invention is explained with reference to FIGS. 15 to 17. 
     The present embodiment is achieved by replacing the clock generator 613 and the latch circuit 610 in FIGS. 1, 10 and 9 with a clock generator 613&#39; and a latch circuit 610&#39; as shown in FIG. 15. The latch circuit 610&#39; receives the signal WE&#39; and the buffered input signal D&#39; IN  in addition to φ L  and RB. 
     The detailed structure of the latch circuit 610&#39; is shown in FIG. 17. Specifically, as compared to the latch circuit 610 the latch circuit 610&#39; further comprises a delay circuit having an input supplied with D&#39; IN  and a CMOS transfer gate 302 coupled between the output of the delay circuit 301 and the input of the latch circuit 803, in addition to the transfer gate 802 controlled by φ L  and the flip-flop 803. The transfer gate 302 is enabled to transmit D&#39; IN  to the flip-flop when WE&#39; is at the high level. 
     The detailed structure of the clock generator 613&#39; is shown in FIG. 16. The internal write enable signal WE&#39; is not applied to an OR gate receiving the signals φ i  and φ CS  but is applied to an OR gate G11 receiving the output of the OR gate G10. The signal φ X  for enabling the word line driver 607 is generated from the OR gate G11. 
     A read operation of the circuit of FIG. 15 is the same as the memory of FIG. 1. 
     A write operation of the present embodiment is explained with reference to FIG. 18. 
     The write enable signal WE is changed from the inactive (high) level to the active (low) level at a time point t 1 . Then, the signal WE&#39; is raised and the state of the input data signal D IN  is determined. In response to the rise of WE&#39;, the signal φ X  is generated from the OR gate G11 in the clock generator 613&#39; at a time point t 2 . In this instance, φ S , φ L  and φ SW  are all low in level. At a time t 3 , the buffered input signal D&#39; IN  is generated by the buffer 603 and the circuit 608 determines the levels of DB and DB in accordance with the level of D&#39; IN  and the state of the bit lines BL, BL are determined at a time t 4  according to the D&#39; IN . Thus, the state of the selected memory cell 901 is determined in accordance with D&#39; IN  at a time t 5 . 
     Meanwhile, at the time t 4 , the delay circuit 301 in the latch circuit 610&#39; produces at its output node 31 a delayed signal of D&#39; IN  and the output 31 of the delay circuit 301 is transferred to the flip-flop 803 via the transfer gate 302 enabled by WE&#39; and held thereby. Thus, the same data written into the selected memory cell 901 is also stored in the flip-flop 803 in the latch circuit 610&#39;. 
     Thus, the write operation to the selection memory cell is accomplished at a time t 6 . 
     In the above embodiment, the delay time of the delay circuit is set at such value that the write to the selected memory cell and the determination of the state of the flip-flop 803 are accomplished simultaneously. 
     According to the above embodiment, the same data written to the selected memory cell is simultaneously latched by the latch circuit 610&#39; and produced as the signal LB. Therefore, the data latched by the latch circuit 610&#39; is produced as the output signal D OUT  because the switch circuit 611 transmits the signal LB in response to the low level of φ SW . 
     Since the signal φ S  is maintained at the low level in the write operation, the sense amplifier 903 is not enabled, thus avoiding DC current flowing in the sense amplifier 903 and, resulting low power consumption in the write operation. 
     Moreover, the write data is outputted as D OUT  in the write operation, thus it is not necessary to drive the selected word line again to read the written data. 
     FIGS. 19, 20 and 21 show another example of the latch circuit 610&#34;, column selection circuit 902&#39; and the switch circuit 611&#39;. In the modified circuits 610&#34;, 902&#39; and 611&#39;, transistors Q101-Q106 have a small value of threshold voltage, such as 0.3 volts and they are employed as transfer gates in place of the CMOS transfer gates in the previous embodiment. The operations and functions of those circuits 610&#34;, 902&#39; and 611&#39; are the same as the previously explained circuits 610&#39;, 902 and 611, respectively.