The present invention relates to semiconductor memories and, more particularly, to a pipelined data access in a dynamic random access memory.
In conventional non-pipelined dynamic random access memories (DRAMs) a data transfer to and from the memory is performed in sequence. That is, when a read or a write command is received and an address is made available, the data transfer according to either a read or write command is performed in its entirety before another command is accepted by the memory. This results in subsequent commands being delayed by the time it takes for the current data transfer to complete.
Historically, DRAMs have been controlled asynchronously by the processor. This means that the processor puts addresses on the DRAM inputs and strobes them in using the row address select signal (RAS) and column address select signal (CAS) pins. The addresses are held for a required minimum length of time. During this time, the DRAM accesses the addressed locations in memory and after a maximum delay (access time) either writes new data from the processor into its memory or provides data from the memory to its outputs for the processor to read.
During this time, the processor must wait for the DRAM to perform various internal functions such as precharging of the lines, decoding the addresses and such like. This creates a “wait state” during which the higher speed processor is waiting for the DRAM to respond thereby slowing down the entire system.
One solution to this problem is to make the memory circuit synchronous, that is, add input and output latches on the DRAM which can hold the data. Input latches can store the addresses, data, and control signals on the inputs of the DRAM, freeing the processor for other tasks—After a preset number of clock cycles, the data can be available on the output latches of a DRAM with synchronous control for a read or be written into its memory for a write operation.
Synchronous control means that the DRAM latches information transferred between the processor and itself under the control of the system clock Thus, an advantage of the synchronous DRAMs is that the system clock is the only timing edge that must be provided to the memory. This reduces or eliminates propagating multiple timing strobes around the printed circuit board.
Alternatively, the DRAM may be made asynchronous. For example, suppose a DRAM with a 60 ns delay from row addressing to data access is being used in a system with 10 ns clock, then the processor must apply the row address and hold it active while strobing it in with the (RAS) pin. This is followed 30 ns later by the column address which must be held valid and strobed in with the (CAS) pin. The processor must then wait for the data to appear on the outputs 30 ns later, stabilize, and be read.
On the other hand, for a synchronous interface, the processor can lock the row and column addresses (and control signals) into the input latches and do other tasks while waiting for the DRAM to perform the read operation under the control of the system clock. When the outputs of the DRAM are clocked six cycles (60 ns) later, the desired data is in the output latches.
A synchronous DRAM architecture also makes it possible to speed up the average access time of the DRAM by pipelining the addresses. In this case, it is possible to use the input latch to store the next address which the processor while the DRAM is operating on the previous address. Normally, the addresses to be accessed are known several cycles in advance by the processor. Therefore, the processor can send the second address to the input address latch of the DRAM to be available as soon as the first address has moved on to the next stage of processing in the DRAM. This eliminates the need for the processor to wait a full access cycle before starting the next access to the DRAM.
An example of a three stage column address pipeline is shown in the schematic diagram of
The operation of pipelined read may be explained as follows: the column address (1) is clocked into the address buffer on one clock cycle and is decoded. On the second clock cycle, the column switch transfers the corresponding data (D1) from the sense amplifier to the read bus and column address (A2) is clocked into the address buffer. On clock three, the data (D1) is clocked into the output buffer, (D2) is transferred to the read bus and A3 is clocked into the column address buffer. When D1 appears at the output, D2 and D3 are in the pipeline behind it. For a more detailed discussion of the present technology, the reader is referred to a book entitled “High Performance Memories” by Betty Prince.
The delay in the number of clock cycles between the latching CAS in a SDRAM and the availability of the data bus is the “CAS latency” of the SDRAM. If the output data is available by the second leading edge of the clock following arrival of a column address, the device is described as having a CAS latency of two. Similarly, if the data is available at the third leading edge of the clock following the arrival of the first read command, the device is known as having a “CAS latency” of three.
Synchronous DRAMs (SDRAM) come with programmable CAS latencies. As described above, the CAS latency determines at which clock edge cycle data will be available after a read command is initiated, regardless of the clock rate (CLK). The programmable CAS latencies enable SDRAMs to be efficiently utilized in different memory systems having different system clock frequencies without affecting the CAS latency.
There are other ways to divide an SDRAM data path into latency stages. A wave pipeline is shown schematically in
Furthermore there are a limited number of places where a latency stage can be inserted without adding extra latency or chip area. Multiple latency stages have a disadvantage in that not all latency stages will be equal in the time needed for signals to propagate through the stage. Another complication is the need to enable or disable latency stages depending on the CAS latency at which the chip has been programmed to operate.
In the wave pipeline of
If address signals are applied to a data path with a cycle time which exceeds the memory access time, then the data which is read from the memory is not output during the inherent delay of the memory core. In other words, in the wave pipeline technique address input signals are applied with a period, which is less than the critical path of the memory core section.
Furthermore as illustrated in
The present invention thus seeks to mitigate at least some of the various disadvantages described with respect to the current art.
In accordance with this invention there is provided pipelined SDRAM comprising:
(a) a memory core;
(b) a read path, defined between an address input port and an I/O data output port;
(c) a plurality of pipeline stages located in said read path, each controlled by a corresponding one of a plurality of asynchronous control signals;
(d) a timing delay element for generating said asynchronous control signals;
(e) latches associated with each of said plurality of pipeline stages responsive to said asynchronous control signal to latch data at each of said stages; whereby data is latched at every pipeline stage independent of said system clock.
In accordance with a further aspect of this invention the asynchronous control signals are generated within the chip and optimized to the different latency stages.
A still further aspect of the invention provides stages that are independent of the system clock thereby allowing the read data path to be run at any CAS latency which may be supported by a suitable resynchronizing output.
A still further aspect of the invention provides for a synchronization circuit coupled to the end of the read data path for synchronizing the output data to a system clock.
A better understanding of the invention will be obtained by reference to the detailed description below in conjunction with the following drawings in which:
In the following discussion, like numerals refer to like elements in the figures and signals asserted low are indicated interchangeably with an x or an overscore associated with the corresponding signal name. Referring now to
Thus, referring to
The synchronizing circuit 30 of
The memory also includes a command latch circuit 62 having a clock input terminal coupled to the system clock CLK and a command input terminal for receiving command signals such as RAS, CAS, CS. The command latch 62 provides a first control signal 64, which is run through a series of control logic and delay elements T1 to T4. Each of the delay elements T1, T2, T3 and T4 produce respective delayed control signals that are fed to an input latch terminal of the pre-decoder latch 44, the Y decoder 46, the RMA 50 and the RDBAMP latch 54, respectively. These signals serve as individual asynchronous control signals for these circuits. On the other hand, the address latch clock input is derived directly from the system clock signal CLK.
Control of the pipe latches pipe_latch0, pipe_latch1 and pipe_latch2 is provided by the pipe latch control circuitry 61. Each pipe latch is driven by a respective pipe latch enable signal, latch_enx(0), latch_enx(1) and latch_enx(2) coupled to its latch input enable terminal. The pipe latch enable signals are derived from a pipe counter 64 which produces three count signals COUNT. The pipe counter is a free running counter which resets its count based on the total number of pipe latches. After a preset number of clock counts set by the system clock signal coupled to the pipe counter clock input terminal. The output COUNT signals from the pipe counter are coupled via count delay elements 66 to count synchronization latches 68. The outputs from the three latches 68 provide the pipe latch enable signal for clocking the appropriate pipe latch 56. The clock input enable terminal of the lathes 68 are coupled to the asynchronous control signal of the latency stage in the read path, in this case, signal IODB_READX of the RDBAMP 54 to ensure the pipe latch is latched at the appropriate time.
Alternatively, a more accurate synchronization of the data IODB_READX and the CNT_DEL signals in latch 68 can be achieved as follows:
The count delay circuitry 66 could be segmented into multiple delay stages, each receiving control logic enable signals such as YSG or Y_EXTRD. The timing relationship between the address propagation and data retrieval and the clock count delay would therefore be more closely matched.
Additionally, the output COUNT of pipe counter 64 is connected to a pipe delay element 70 for generating a pipe latch output enable signal QEN_RISEX which is connected to the respective output enable terminal of the pipe latches 56. A CLK_IO signal which is DLL generated and slightly leads the system clock CLK, is coupled to an output enable terminal of the pipe delay and the output buffer 58. The DLL (delay locked loop) ensures that CLK_IO will enable the output buffer to properly synchronize data with the system clock edge.
The operation of the circuit will be explained as follows with reference to the timing diagram shown in
In general as described above, these asynchronous control signals are used to control the pipeline stages. These signals control when data is read into the latch (usually a latched amplifier). Once read into the latch, data is free to propagate toward the next stage Each control signal is generated by delaying the control signal from the previous latency stage. The first stage is started by the external clock CLK. The next stage will latch data from the previous stage on the control signal that is delayed from the external clock. It may be noted that some of these delays are inherent in the circuits used to control whether a read is to take place, while some of the delays are deliberately added using timing delay elements. These are usually comprised of buffers sized to run slowly and which may include additional resistive or capacitive elements.
Thus the delays T1 to T4 can be optimized to the particular memory independent of the external clock timing. The delay for each of these latches is selected to accommodate the propagation delays between these blocks. Thus the clock signal applied to the read main amplifier latch is synchronized and delayed from the clock signal applied to the column decoder latch to accommodate the lag in retrieving data from different areas of the memory array 22 to the read main amplifier 50.
The data once latched in the RDBAMP 54 at time t1, must as with the conventional wave pipelines, be resynchronized to the system clock CLK at the output 32 of the memory. This is accomplished as follows. The pipe latches 56 allow data to be stored in the event of fast data or a slow clock. Generally, the number of latches needed is equivalent to the number of latency stages to be supported. Each time a read is performed, a COUNT signal, one of these is shown in
Thus from the above description it may be seen that the latches in the read path, segment the path into latency stages of an asynchronous pipeline. The chip architecture and the maximum operating frequency determine the number and placement of these stages. In general, a higher operating frequency will require a large number of shorter pipeline stages. Other techniques can be used such as doubling the number of data paths in a stage and alternating between the data paths. For example, a read output from the sense amplifiers is alternated between two data buses. This is described in Mosaid U.S. Pat. No. 5,416,743. The placement of the stages will generally be dictated by the position of amplifiers or buffers, which may be converted into latches without resulting in extensive area penalty. For clarity, in the previous and following discussion latency stages refer to any circuit element capable of introducing a delay in the signal or data path.
Turning now to
Referring to
Thus, it may be seen that the present invention provides a flexible method for implementing a pipelined semiconductor memory, which can easily accommodate both a fast and slow system clock. Furthermore, the flexible design allows further segmentation of the read path for more precise matching of internal signals. Furthermore, various CAS latencies may be accommodated by simply delaying the output from the pipe delay element 70 to wait a specific number of clock cycles before clocking the data out.
Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention as outlined in the claims appended hereto.
Number | Date | Country | Kind |
---|---|---|---|
2233789 | Apr 1998 | CA | national |
This application is a continuation of U.S. application Ser. No. 13/049,487, filed Mar. 16, 2011 now U.S. Pat. No. 8,122,218, which is a continuation of Ser. No. 12/773,531 filed May 4, 2010, now U.S. Pat. No. 8,078,821, which is a continuation of Ser. No. 12/371,255 filed Feb. 13, 2009, now U.S. Pat. No. 7,865,685, which is a continuation of Ser. No. 11/673,834 filed Feb. 12, 2007, now U.S. Pat. No. 7,509,469, which is a continuation of Ser. No. 10/855,968 filed May 28, 2004, now U.S. Pat. No. 7,178,001, which is a continuation of Ser. No. 10/290,317 filed Nov. 8, 2002, now U.S. Pat. No. 6,772,312, which is a continuation of Ser. No. 09/129,878 filed Aug. 6, 1998, now U.S. Pat. No. 6,539,454, which claims priority under 35 U.S.C. §119 or 365 to Canadian Application No. 2,233,789 filed Apr. 1, 1998. The entire teachings of the above applications are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4658354 | Nukiyama | Apr 1987 | A |
5272390 | Watson, Jr. et al. | Dec 1993 | A |
5294842 | Iknaian et al. | Mar 1994 | A |
5402388 | Wojcicki et al. | Mar 1995 | A |
5412615 | Noro et al. | May 1995 | A |
5544124 | Zagar et al. | Aug 1996 | A |
5550784 | Takai | Aug 1996 | A |
5579267 | Koshikawa | Nov 1996 | A |
5631866 | Oka et al. | May 1997 | A |
5631871 | Park et al. | May 1997 | A |
5655105 | McLaury | Aug 1997 | A |
5666480 | Leung et al. | Sep 1997 | A |
5703815 | Kuhara et al. | Dec 1997 | A |
5703830 | Yasuhiro | Dec 1997 | A |
5713005 | Proebsting | Jan 1998 | A |
5740115 | Ishibashi et al. | Apr 1998 | A |
5781499 | Koshikawa | Jul 1998 | A |
5784705 | Leung | Jul 1998 | A |
5796673 | Foss et al. | Aug 1998 | A |
5802596 | Shinozaki | Sep 1998 | A |
5812489 | Matsui | Sep 1998 | A |
RE35934 | Takai | Oct 1998 | E |
5822255 | Uchida | Oct 1998 | A |
5835443 | Fujita | Nov 1998 | A |
5844858 | Kyung | Dec 1998 | A |
5939913 | Tomita | Aug 1999 | A |
5954435 | Yoshida | Sep 1999 | A |
5978884 | Yamaguchi et al. | Nov 1999 | A |
5991902 | Yoshida | Nov 1999 | A |
5999258 | Roberts | Dec 1999 | A |
5999458 | Nishimura et al. | Dec 1999 | A |
6014339 | Kobayashi et al. | Jan 2000 | A |
6078546 | Lee | Jun 2000 | A |
6178492 | Matsuo | Jan 2001 | B1 |
6209071 | Barth et al. | Mar 2001 | B1 |
6483770 | Noh et al. | Nov 2002 | B2 |
6539454 | Mes | Mar 2003 | B2 |
7509469 | Mes | Mar 2009 | B2 |
20100232237 | Demone | Sep 2010 | A1 |
Number | Date | Country |
---|---|---|
0 704 848 | Apr 1996 | EP |
02-003177 | Jan 1990 | JP |
05-144269 | Jun 1993 | JP |
06-187787 | Jul 1994 | JP |
06-203553 | Jul 1994 | JP |
7-326190 | Dec 1995 | JP |
08-031180 | Feb 1996 | JP |
08-096573 | Apr 1996 | JP |
09-063262 | Mar 1997 | JP |
09-091955 | Apr 1997 | JP |
09-106671 | Apr 1997 | JP |
09-139076 | May 1997 | JP |
09-265777 | Oct 1997 | JP |
10-055668 | Feb 1998 | JP |
10-188556 | Jul 1998 | JP |
11-176158 | Jul 1999 | JP |
Entry |
---|
Mehrdad Heshami, et al., “A 250-MHz Skewed—Clock Pipelined Data Buffer,” IEEE Journal of Solid-State Circuits, 31(3):376-383 (Mar. 1998). |
Boemo, E. I., et al., “The Wave Pipeline Effect on LUT-based FPGA Architectures,” E.T.S.I. Telecomunicación, 28040 Ciudad Universitaria, Madrid, Spain (date of publication not available) (6 pp). |
JDEC Solid State Technology Association, “JDEC Standard: DDR2 SDRAM Specification,” JESD79-2E (Revision of JESD79-2D), Apr. 2008. |
Takai, Y., et al., “250 Mbyte/s Synchronous DRAM Using a 3-Stage Pipelined Architecture,” IEEE Journal of Solid-State Circuits, 29(4): 426-431 (Apr. 1994). |
Cosoroaba, Adrian B., “Double Data Rate Synchronous DRAMs in High Performance Applications,” Wescon/97 Conference Proceedings, Santa Clara, CA, USA, IEEE Catalog No. 97CH36148, Nov. 1997, pp. 387-391. |
Japanese Office Action; Application No. 2011-147610; dated Feb. 5, 2013; 4 pages. |
Number | Date | Country | |
---|---|---|---|
20120144131 A1 | Jun 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13049487 | Mar 2011 | US |
Child | 13327154 | US | |
Parent | 12773531 | May 2010 | US |
Child | 13049487 | US | |
Parent | 12371255 | Feb 2009 | US |
Child | 12773531 | US | |
Parent | 11673834 | Feb 2007 | US |
Child | 12371255 | US | |
Parent | 10855968 | May 2004 | US |
Child | 11673834 | US | |
Parent | 10290317 | Nov 2002 | US |
Child | 10855968 | US | |
Parent | 09129878 | Aug 1998 | US |
Child | 10290317 | US |