Semiconductor memory with improved write function

Information

  • Patent Grant
  • 4858188
  • Patent Number
    4,858,188
  • Date Filed
    Tuesday, September 8, 1987
    37 years ago
  • Date Issued
    Tuesday, August 15, 1989
    35 years ago
  • Inventors
  • Original Assignees
  • Examiners
    • Hecker; Stuart N.
    • Gossage; Glenn A.
    Agents
    • Sughrue, Mion, Zinn, Macpeak & Seas
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.sub.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.sub.98, a pair of resistors R.sub.9l and a pair of transfer gate transistors Q.sub.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.sub.92 and a P channel transistor Q.sub.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.sub.94 to Q.sub.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' and Ai' 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 .phi..sub.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', Ai' 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 .phi..sub.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 .phi..sub.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.sub.IN to generate a buffered data signal D'.sub.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' is generated therefrom. The buffer 604 is structured by three inverters as shown in FIG. 7.
A data write circuit (D.sub.IN) 608 receives the buffered data signal D'.sub.IN and the internal write signal WE' to generate true and complementary write data signals to DB and DB when WE' 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 .phi..sub.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 .phi..sub.SW and its inverted signal generated by an inverter IVC, as shown in FIG. 12. When the control signal .phi..sub.SW is high in level, the signal RB is outputted as a selected signal SB via the transfer gate S11 when the signal .phi..sub.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.sub.OUT in accordance with the signal SB when CS' is at a low level and WE' is at a low level.
A clock generator 613 has an OR gate receiving the signal WE', the plurality of detection signals .phi..sub.i from all the address buffers and the signal .phi..sub.CS and a plurality of buffers B11 to B14 from which control signals .phi..sub.X, .phi..sub.S, .phi..sub.L and .phi..sub.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.sub.1. Thereafter, the buffered signals A'i, A'i are changed in level. Also, the detection signal .phi..sub.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 .phi..sub.X, .phi..sub.S, .phi..sub.SW and .phi..sub.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 .phi..sub.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 .phi..sub.S. After the signal RB is developed, the signal .phi..sub.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.sub.OUT in accordance with the signal SB. While, the signal .phi..sub.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 .phi..sub.X is at the high level and after this period, the output signal D.sub.OUT is maintained by the state of the latch circuit 610, and the signals .phi..sub.S, .phi..sub.L, .phi..sub.X and .phi..sub.SW are deactivated. Accordingly, power consumption is reduced after the deactivation of the signals .phi..sub.S, .phi..sub.L, .phi..sub.X and .phi..sub.SW although the D.sub.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.sub.1. Thereafter the internal write signal WE' is raised and the clock generator 603 generates the control signal .phi..sub.X, .phi..sub.S, .phi..sub.SW and .phi..sub.L which are raised in the order as shown in FIG. 14. After the change in WE, the input data signal D.sub.IN is determined. In response to the rise of WE', 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'.sub.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 .phi..sub.L according to D.sub.IN.
Thus, the write operation of D.sub.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.sub.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.sub.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 .phi..sub.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.sub.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' and a latch circuit 610' as shown in FIG. 15. The latch circuit 610' receives the signal WE' and the buffered input signal D'.sub.IN in addition to .phi..sub.L and RB.
The detailed structure of the latch circuit 610' is shown in FIG. 17. Specifically, as compared to the latch circuit 610 the latch circuit 610' further comprises a delay circuit having an input supplied with D'.sub.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 .phi..sub.L and the flip-flop 803. The transfer gate 302 is enabled to transmit D'.sub.IN to the flip-flop when WE' is at the high level.
The detailed structure of the clock generator 613' is shown in FIG. 16. The internal write enable signal WE' is not applied to an OR gate receiving the signals .phi..sub.i and .phi..sub.CS but is applied to an OR gate G11 receiving the output of the OR gate G10. The signal .phi..sub.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.sub.1. Then, the signal WE' is raised and the state of the input data signal D.sub.IN is determined. In response to the rise of WE', the signal .phi..sub.X is generated from the OR gate G11 in the clock generator 613' at a time point t.sub.2. In this instance, .phi..sub.S, .phi..sub.L and .phi..sub.SW are all low in level. At a time t.sub.3, the buffered input signal D'.sub.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'.sub.IN and the state of the bit lines BL, BL are determined at a time t.sub.4 according to the D'.sub.IN. Thus, the state of the selected memory cell 901 is determined in accordance with D'.sub.IN at a time t.sub.5.
Meanwhile, at the time t.sub.4, the delay circuit 301 in the latch circuit 610' produces at its output node 31 a delayed signal of D'.sub.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' 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'.
Thus, the write operation to the selection memory cell is accomplished at a time t.sub.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' and produced as the signal LB. Therefore, the data latched by the latch circuit 610' is produced as the output signal D.sub.OUT because the switch circuit 611 transmits the signal LB in response to the low level of .phi..sub.SW.
Since the signal .phi..sub.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.sub.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", column selection circuit 902' and the switch circuit 611'. In the modified circuits 610", 902' and 611', 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", 902' and 611' are the same as the previously explained circuits 610', 902 and 611, respectively.
Claims
  • 1. A memory circuit comprising a memory cell array having a plurality of memory cells, means for selecting a memory cell in said memory cell array, a sense amplifier for amplifying a signal from the selected memory cell, means for receiving an input data signal to be stored, an input data buffer for generating an internal data signal in response to said input data signal, means for writing said internal data signal to the selected memory cell, a latch circuit having inputs coupled to said input data buffer and said sense amplifier and an output, a switch circuit coupled to said latch circuit, said sense amplifier and said input data buffer circuit for applying the output of said sense amplifier to said latch circuit in a read mode and said internal data signal to said latch circuit in a write mode, an output terminal, and means for determining a level of said output terminal in accordance with data held in said latch circuit.
  • 2. The memory circuit according to claim 1, in which said memory cells are static memory cells.
  • 3. The memory circuit according to claim 1, wherein said switch circuit includes a first transfer gate coupled between the output of said sense amplifier and said latch circuit, a second transfer gate coupled between the output of said data input buffer circuit and said latch circuit, means for enabling said first transfer gate in a read mode and means for enabling said second transfer gate in a write mode.
  • 4. The memory circuit according to claim 1, further comprising means for generating a detection signal when an address signal is changed.
  • 5. The memory according to claim 1, further comprising means for receiving a write enable signal and control means for inhibiting an operation of said sense amplifier when said write enable signal is present.
Priority Claims (1)
Number Date Country Kind
61-213159 Sep 1986 JPX
US Referenced Citations (2)
Number Name Date Kind
4573147 Aoyama et al. Feb 1986
4665507 Gondou et al. May 1987
Foreign Referenced Citations (2)
Number Date Country
0014396 Jan 1983 JPX
0053082 Mar 1983 JPX