Synchronous memory read data capture
A method of snap-shot data training to determine the optimum timing of the DQS enable signal in a single read operation is provided. This is accomplished by first writing a Gray code count sequence into the memory and then reading it back in a single burst. The controller samples the read burst at a fixed interval from the time the command was issued to determine the loop-around delay. A simple truth table lookup determines the optimum DQS enable timing for normal reads. Advantageously, during normal read operations, the first positive edge of the enabled DQS signal is used to sample a counter that is enabled every time a command is issued. If the counter sample changes, indicating timing drift has occurred, the DQS enable signal can be adjusted to compensate for the drift and maintain a position centered in the DQS preamble. This technique can also be applied to a system that uses the iterative approach to determining DQS enable timing on power up. Another embodiment of the invention is a simple, low latency clock domain crossing circuit based on the DQS latched sample of the counter.
Latest Conversant Intellectual Property Management Inc. Patents:
- Non-volatile memory device with concurrent bank operations
- System and method providing interoperability between cellular and other wireless systems
- Integrated erase voltage path for multiple cell substrates in nonvolatile memory devices
- Dynamic impedance control for input/output buffers
- System and method for frequency synchronization of Doppler-shifted subcarriers
This application is a continuation of application Ser. No. 11/477,659, filed Jun. 30, 2006, now U.S. Pat. No. 7,685,393, issued on Mar. 23, 2010, which is hereby incorporated by reference in its entirety.
FIELD OF THE INVENTIONThe present invention relates generally to synchronous memories and associated memory controllers. More particularly, the present invention relates to the control and transfer of read and write data between a memory controller and a synchronous memory using bi-directional databusses and bidirectional data strobe signals.
BACKGROUND OF THE INVENTIONIn source synchronous signaling, a data strobe clock is driven by the transmitting device along with the data. The clock and data paths from transmitter to receiver are matched. At the receiving device the data strobe clock is used to latch incoming data. In Double Data Rate (DDR) SDRAM memory systems, the external databuses are bidirectional. Write data is sent to the memory from a memory controller and read data is sent from the memory to the controller. When no data is being sent, the bus returns to a tri-state level defined by the bus transmission line termination voltage.
Control of the bidirectional data strobe clock also changes depending on which device is driving data onto the databus. The data strobe clock input on the controller and the memory device must be gated by an enable signal to prevent the spurious clock edges created by a tri-stated clock input level from triggering internal data capture. When neither the memory controller nor the memory is driving the data strobe, the data strobe line will be pulled to the bus termination voltage by the termination resistor. For DDR and DDR2 memories, the termination voltage Vterm is Vddq/2, which is the same as the input buffer reference voltage Vref. As a result, the data strobe input buffer produces an indeterminate value, which may change between ‘0’ and ‘1’ depending on noise. On the memory chip this is easily accomplished because the write data instruction and the write data itself arrive source synchronously from the controller and the skew between the two sets of signals will be less than one bit period. Before the first active edge of the data strobe clock DQS there is a 2 bit preamble period during which DQS is driven low. During this time the memory chip can assert the enable signal.
During read operations the alignment between read command and read data on the bidirectional bus is much less certain. The delay through the command and address output drivers, through the package and printed circuit board connections to the memory device, back through the read data output buffers, package, and printed circuit board, and finally through the input buffers of the memory controller can vary by many bit periods depending on the system configuration and operating conditions.
A first problem associated with this alignment of read command and data is to determine, on system initialization, where in time to position the read data DQS enable signal so that it falls within the 2 bit preamble. A second problem is how to adjust for timing drift during operation caused by temperature or supply voltage drift. A third problem is how to transfer data clocked in with DQS to the system clock domain when the phase between the DQS clock and master system clock CLK can be completely arbitrary.
These problems did not exist in single data rate SDRAMs because there was no DQS clock and read data had to meet setup and hold requirements with respect to the master system clock CLK which originates from the controller.
Quad Data Rate (QDR) SRAM does not have the problem because separate read and write data busses exist with their own dedicated clocks. Since the clocks do not have to be tri-stated there is never any indeterminate state.
An application of a bidrectional data strobe signal to DDR SDRAM is disclosed in U.S. Pat. No. 6,889,336 granted to A. M. Schoenfeld et al. on May 3, 2005. At the initial DDR operating speeds DDR267 and DDR333, the 2 bit preamble period was still relatively large, 7.5 ns and 6.66 ns respectively. It was still possible to accommodate a range of system designs and operating conditions with fixed timing on the internal DQS enable. With DDR400 and DDR2 devices ranging from DDR2-400 to DDR2-800, there is a need for dynamic adjustment of the DQS enable time. An example set of typical loop-around read timing delays of a chip-to-chip controller to DDR SDRAM are as follows:
The read data timing can vary by more than the width of the DQS preamble interval at data rates for DDR400 and higher. Fixed timing is not a robust solution.
As an example, several implementations of DQS gating are described in the LSI Logic 0.11 um DDR2 PHY document cw000733_1_0 dated February 2005. The PHY actually supports three different approaches for enabling the DQS read strobe, using a signal called GATEON.
The first approach “Programmable GATEON” allows the user to program the timing of GATEON based on a programmable delay register and the time the read command is issued. Read data training is required with this scheme. Read data training involves attempting a number of read operations with different delay register settings, finding the settings for which expected data is properly received, and then setting the delay register somewhere in the middle of the pass range. A disadvantage of this approach is that it requires higher level intelligence somewhere in the controller, and a significant amount of time during system initialization to determine the optimum setting. Also, it cannot accommodate timing drift during operation.
The second approach is called “Feedback GATEON”. A signal is generated and sent to a pin in the same way a command is generated. This signal can be routed along a PCB trace with the same length and loading as the command signal to the memory and back to the controller. At the controller the delayed signal is used to trigger the DQS enable. The disadvantage of this approach is that it requires 2 additional pins, PCB traces, and consumes power. It does not perfectly match the actual command to read data loop-around delay.
The final approach is called “External GATEON” where the user somehow generates the GATEON signal. This method would also require at least one additional pin. This also requires some interconnect that mimics the behaviour of the actual databus.
SUMMARY OF THE INVENTIONAccording to one broad aspect, the invention provides a method for controlling a memory, the method comprising: measuring a read delay between the memory and a memory controller; writing an initialization sequence to predetermined locations of the memory; sending a read command to the memory to read the predetermined locations and receiving returned data signals; and a predetermined time after sending the read command, sampling the returned data signals to produce an initialization sample that is used to determine the read delay between the memory and the memory controller.
For example, the memory includes a DDR SDRAM memory or a slave device on a bidirectional bus with bidirectional source synchronous strobes.
According to another broad aspect, the invention provides a memory controller for controlling a memory, the controller comprising: a read delay determination circuit and a DQS enable circuit; during initialization, the read delay determination circuit determining a read delay between sending a read command to the memory and receiving data signals in return, the read delay determination circuit comprising a circuit for sampling the data at a predetermined time to produce an initialization sample, and a lookup table that stores a respective read delay in respect of each permutation of the initialization sample; the DQS circuit being adapted to gate a received DQS clock signal as a function of the read delay.
For example, the memory includes a DDR SDRAM memory.
One embodiment of the invention provides a method in a memory controller for controlling a memory that has a bidirectional read/write bus with source synchronous clocking and a bidirectional data strobe, the method comprising: measuring a read delay between the memory and the memory controller by: the memory controller writing a Gray code initialization sequence to predetermined locations of the memory; the memory controller sending a read command to the memory to read the predetermined locations and receiving returned data signals; a predetermined time after sending the read command, the memory controller sampling the returned data signals to produce an initialization sample; using the initialization sample to determine the read delay between the memory and the memory controller.
Another embodiment of the invention provides a memory controller for controlling a memory that has a bidirectional read/write bus with source synchronous clocking and a bidirectional data strobe, the controller comprising: a read delay determination circuit and a data strobe enable circuit; during initialization, the read delay determination circuit determining a read delay between sending a read command to the DDR SDRAM and receiving data signals in return, the read delay determination circuit comprising a circuit for sampling the data at a predetermined time to produce an initialization sample, and a table lookup function that stores a respective read delay in respect of each permutation of the initialization sample; the data strobe enable circuit being adapted to gate a received DQS as a function of the read delay.
Another embodiment of the invention provides a data strobe enable circuit for use with a memory that has a bidirectional read/write bus with source synchronous clocking and a bidirectional data strobe, the circuit comprising: an input for receiving a data strobe signal; an output for producing a gated data strobe signal; an data strobe enable and data strobe disable; a multiplexer that gates the data strobe signal as a function of a select input; a select input generator circuit that sets the select input to select the data strobe signal upon activation of the data strobe enable, and that sets the select input to deselect the data strobe signal upon activation of the data strobe disable and following a next rising edge of the data strobe signal.
Another embodiment of the invention provides a drift detector circuit comprising: a first circuit for latching a first value of a first phase of a master clock synchronously with an input clock signal; a second circuit for latching a second value of a second phase of the master clock synchronously with the input clock signal; wherein a change in either the first value or the second value indicates that the input clock signal has drifted relative to the master clock source by at least a predetermined amount.
An embodiment of the invention provides a method of snap-shot data training to determine the optimum timing of the DQS enable signal in a single read operation. This is accomplished by first writing a Gray code count sequence into the memory and then reading it back in a single burst. The controller samples the read burst at a fixed interval from the time the command was issued to determine the loop-around delay. A simple truth table lookup determines the optimum DQS enable timing for normal reads.
Advantageously, during normal read operations, the first positive edge of the enabled DQS signal is used to sample a counter that is enabled every time a command is issued. If the counter sample changes, indicating timing drift has occurred, the DQS enable signal can be adjusted to compensate for the drift and maintain a position centered in the DQS preamble. This technique can also be applied to a system that uses the iterative approach to determining DQS enable timing on power up.
Another embodiment of the invention is a simple, low latency clock domain crossing circuit based on the DQS latched sample of the counter.
Other aspects and features of the present invention will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures.
Embodiments of the present invention will now be described, by way of example only, with reference to the attached Figures, wherein:
In the following detailed description of sample embodiments of the invention, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific sample embodiments in which the present invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the present invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical, electrical, and other changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.
Referring now to
For this example, the memory controller is a synchronous ASIC circuit that operates with a main clock. A master DLL inside the controller (not shown) derives a 0° phase difference clock which is phase locked to the main clock, and also 90°, 180°, and 270° phases (not shown). A slave DLL also inside the controller (not shown) creates a constant 90° phase shift.
The functionality of the read delay determination circuit 30 will now be described by way of example in further detail with further reference to
The Gray code pattern insures that only one bit changes at any one time and any slight differences in delay between the two bits will not result in erroneous counts. Writing each Gray code bit to multiple locations (four in the above example) allows for multiple samples to be taken in parallel as will be detailed below.
In each case the Gray code counter has a first bit c0 42 that alternates with the same period as the 0° clock 40, a second bit c1 44 that oscillates at twice the period of the 0° clock, a third bit c2 46 that oscillates at four times of the period of the 0° clock, a fourth bit c3 48 that oscillates with eight times of the period of the 0° clock, and a fifth bit c4 50 that oscillates with sixteen times of the period of the 0° clock. The timing of the five bits 42,44,46,48,50 is such that a five bit Gray code is generated with the code word changing on every quarter cycle of the 0° clock.
Having written the Gray code to memory as described above, the process of determining the read delay continues with a READ command 66 as part of a command sequence 52 on the rising edge of the 0° clock 40. The Gray code counter 42,44,46,48,50 is enabled by the falling edge of a count_en 64 that accounts for a minimum read latency (RL) in responding to the READ command. In the illustrated example, it is assumed that the minimum read latency is three clock periods. If there are no other delays in the system, then data would start to arrive at the memory controller at the end of this time.
Assuming however that there is some other delay in the system, the DQS 54 is activated sometime later with the first rising edge of the DQS 54 being shown to be preceded by a two bit preamble 68. Note that while the DQS is not active, it is in a high impedance state approximately midway between logic high and logic low. DQS 54 is active long enough to complete the read for a particular block length. This is followed by a postamble 69 after which it returns to the high impedance state.
Data signal DQ 56 is received from the memory synchronously with the DQS 54. Because it is a double data rate system, a bit is received on DQ 56 for each rising edge and each falling edge of the DQS 54. In order to perform the snapshot data training, the read command 66 is issued in association with the address in the memory to which the Gray code sequence was written as described above. DQS90 58 is a 90° phase shifted version of DQ 56 that is generated to allow sampling edges centered in the middle of the received data pulses. This can be produced with the slave DLL for example. DQ0 60 shows the data latched on the rising edge of DQS90 58, while DQ1 62 shows the data latched with the falling edge of the DQS90 58.
In
Comparing
In a first example implementation, generally indicated at 70 in
The various permutations of the initialization samples are organized into a truth table as shown by way of example in
Alternatively, the same initialization sample could be generated using only two bits to which the two bit Gray code sequence was written. This is shown in the second example of
Having determined the read delay, DQS enable circuit 32 of
In addition, the counter value is latched by the enabled DQS clock on the rising edge corresponding to the first bit of data in the data burst. This value corresponds to a row in the truth table. If the value is the same as in the previous read cycle or the initialization sequence described in the preceding paragraph, then the loop-around delay has remained constant. If the value is different the timing has drifted and the DQS enable timing must be updated by the controller.
Referring now to
Circuit 85 is provided to sample DQ0 88 and DQ1 90, and to produce outputs 89 and 90 that are re-timed to be synchronous with the 0° clock. This is achieved by sampling DQ0 at the 0° and the 180° clock phases with flip-flops 92 and 94 and selecting between the 0° sample and the 180° sample with a multiplexer 100 as a function of a multiplexer select input mux_sel 101. The mux_sel value used is a function of the read delay and is stored in the look-up table as discussed above. This output is then sampled at the 0° clock phase with D flip-flop 104 to produce output 89. DQ1 90 is sampled at 180° with D flip-flop 96 while the 0° sample corresponds to the output of D flip-flip 86. DQ1 is valid one half clock period later than DQ0. This effectively re-times DQ0 and DQ1 data to be valid during the same interval. Either the 180° sample or the 0° sample is selected with multiplexer 102, again as a function of the multiplexer select input mux_sel 101. The selected output is sampled with 0° clock phase using D flip-flop 106 to produce the output 90.
The illustrated example includes a further pair of flip-flops 108,110 for the purpose of re-timing outputs 89,90 to an RTL (register transfer language) clock input 120. The overall clocked outputs are indicated at 109,111, these corresponding to the even bits and the odd bits respectively of the input 56. The entire circuit discussed thus far with respect to bits 0 and 1 of the controller-memory interface is repeated for each bit of the interface. A typical interface width for current designs of personal computers is 64 bits, but other applications have different widths.
Circuit 122 is provided for the purpose of generating the initialization sample. This consists of a D flip-flop 112 that samples DQ0 88. This is re-timed to the 0° clock using flip-flop 114. Optionally, this is re-timed to the RTL clock with flip-flop 116.
To implement the functionality corresponding to the first example 70 of
Note that in an alternate circuit implementation, the circuit 122 can be reproduced for every bit of the interface so that the logic is identical for all bits.
The initialization sample output is changing continuously as a function of the input. The initialization sample is “valid” a predetermined time after the initial READ command.
Another embodiment allows for a larger range of latencies. A three bit Gray code is required for the initialization pattern written to memory to cover the delay range of 16 bit periods. It is no longer possible to capture all four sampling phases of 3 bits in a single byte wide interface with one sampling latch per bit. Either a 12 bit wide interface is required or the individual Gray code bits can be sampled sequentially in separate read operations.
Referring now to
In order to read out the entire 16 memory locations, two BL8 (burst length eight) READ commands are performed. This is indicated in the command sequence 200 where there is a BL8 READ 201 and a second BL8 READ 203. Rather than using a Gray counter implemented using dedicated hardware as was the case of
For the minimum delay case (RL=3) generally indicated at 220, DQS has a first rising edge on clock count=12. The shorthand notation for the received DQ bits is indicated at 206; the 90 degree DQS clock is at 208; DQ0 (samples taken on the rising edge) and DQ1 (samples taken on the falling edge) of DQS90 are indicated respectively at 210,212. For the example illustrated, it is assumed that the initialization sample is generated during clock counts=40,41,42,43 with the result that there is a valid initialization sample just after that as indicated at 215. The valid initialization sample is then used together with a look-up table to determine what the read delay is, and to then determine when to enable to the DQS enable.
The maximum delay case is indicated generally at 222. In this case, the rising edge of DQS90 does not occur until just after clock count=40 after the maximum read delay that can be accommodated.
More generally, an N bit Gray code can be used. An N-bit Gray code has 2N codewords. In this case, the memory controller writes a Gray code initialization sequence to predetermined locations of the memory by writing each of the 2N codewords to a pair of addresses within 2N+1 consecutive addresses. This can involve writing N bits to each of the 2N+1 addresses in which case each bit of the Gray code is sampled with four clock phases. Alternatively, this can involve writing bits of a respective Gray code codeword g1, g2, . . . , gN as 4N bits to each of the 2N+1 addresses by writing g1, g1, g1, g1, . . . , gN, gN, gN, gN to pairs of addresses. In this case, sampling each bit of the Gray code with four clock phases involves receiving 4N data signals, and sampling N data signals with a first clock phase, sampling another N data signals with a second clock phase, sampling another N data signals with a third clock phase; and sampling another N data signals with a fourth clock phase.
The detailed description above has focused on mechanisms for measuring the read delay. Having determined what the delay is, the DQS enable circuit 32 of
Circuit 182 has a first D flip-flop 144 for receiving an input 141 from the controller, which is asserted at a time corresponding to the read path delay determined by the initialization sample, indicating when it is time to enable the DQS. It also receives a clock input at 140 referred to as CLK (N), this indicating that the controller is able to choose a clock phase for this input. Flip-flop 144 produces output dqs_enable_ff 148. Similarly, a second D flip-flop 146 receives an input 143 from the controller indicating when it is time to disable the DQS. This is clocked by a clock input 142 that is 180° out of phase with the clock 140 that was used to clock the first flip-flop 144. This D flip-flop 146 produces a dqs_disable_ff output 150. The dqs_enable_ff 148 and the inverse of dqs_disable_ff 150 are combined in AND gate 152 the output of which is connected to an S (set) input of SR flip-flop 154. The inverse of dqs_disable_ff 150 is also connected to the D input of SR flip-flop 154. The Q output of flip-flop 154 is a dqs_enable_i 156 and this is connected to a multiplexer select input of a first multiplexer 170 and a second multiplexer 171. The two inputs to the multiplexer 170 include a DQS# input 168, and VDD 169. The output of multiplexer 170 is dqsb_i and this is also input to the clock input of SR flip-flop 154. The two inputs to the multiplexer 171 include a DQS input 166, and VSS 177. The output of multiplexer 171 is dqs_i.
The operation of the circuit of
To disable the DQS#, at some later time the disable input 143 to D flip-flop 146 goes high under the control of the memory controller. This is clocked in with a clock that is 180° later than the clock that was used to clock in the enable input to D flip-flop 144. This produces the dqs_disable_ff output 150, the inverted input of which is connected to the D input of SR flip-flop 154. Because of this, on the next rising edge of the clock input to SR flip-flop 154 (i.e. the next rising edge of DQS#) dqs_enable_i goes low. This de-selects the DQS# input 168 to the multiplexer 170, and dqsb_i 172 transitions to VDD. Thus in the timing diagram it can be seen that after the dqs_disable_ff goes high, it is not until the next rising edge of dqsb_i that the dqs_enable_i goes low.
A specific circuit has been described for producing the multiplexer select input 156, referred to generally as 197 in
Circuit 180 simply provides a mechanism for producing DQS# 168 and DQS 166 from the single DQS input 158 for DDR1 implementations. The DQS# input 160 does not exist for DDR1 implementations. Circuit 180 consists of first and second multiplexers 162,164. These are each connected to receive the DQS input 158 and DQS# input 160. Multiplexer 162 always selects DQS 158. When DDR2 is low, multiplexer 164 selects DQS output 168 to be DQS# input 160. Otherwise it is produced from the inverse of DQS 158. The inclusion of multiplexer 162 that always selects DQS 158 ensures an equal load upon DQS and DQS#.
The DQS and DQS# are generated in the memory as a function of a clock received from the memory controller. However, by the time the DQS is received back at the memory controller, this clock has been transmitted from the memory controller to the memory, through the memory's circuits and back out through DQS outputs. The result is that there is some drift between the DQS and DQS# outputs received by the memory controller and the timing of the DQS enable and correspondingly the timing of the dqs_enable_ff, dqs_disable_ff, dqs_enable_i and dqsb_i of
Referring now to
The operation of the circuit of
It is noted that the DQS enable circuits of
A very specific drift detector circuit has been described. More generally, a first circuit is provided that latches a first value of a first phase of a master clock synchronously with an input clock signal. In the above example, the first circuit is a D flip-flop but other implementations are possible. There is a second circuit that latches a second value of a second phase of the master clock synchronously with the input clock signal. In the above example, the second circuit is a D flip-flop but other implementations are possible. A change in either the first value or the second value indicates that the input clock signal has drifted relative to the master clock source by at least a predetermined amount. For the particular example described, the first clock phase is a 0° clock based on the master clock, and the second clock phase is a 90° clock based on the master clock, and the predetermined amount is a quarter clock cycle, but other shifts can be detected by appropriately selecting the phases of the two clocks.
The specific examples above refer to DDR1 and DDR2. More generally, embodiments of the invention may be applicable to all industry standard DDR DRAMs that use bidirectional data strobes, including DDR, DDR2, DDR3, and the various versions of GDDR. More generally still, embodiments of the invention are applicable to a memory that has a bidirectional read/write bus with source synchronous clocking, and a bidirectional data strobe. The above-discussed DQS is a specific example of such a bidirectional data strobe. In the more general context, a data strobe enable circuit is provided to enable the data strobe, the DQS enable circuit being a specific example of this.
They may also be useful in QDR and QDR2 SRAM to save internal clock power by gating the data clocks and for implementing the clock domain crossing.
Furthermore, the methods and circuits described herein may be used to determine read delay for purposes other than enabling DQS. A specific example is in determining drift and crossing data over clock boundaries.
They may also be useful in high speed serial interfaces. In the embodiments described above, the device elements and circuits are connected to each other as shown in the figures, for the sake of simplicity. In practical applications of the present invention to semiconductor ICs and DRAM devices, elements, circuits, etc. may be connected directly to each other. As well, elements, circuits etc. may be connected indirectly to each other through other elements, circuits, etc., necessary for operation of the semiconductor ICs and DRAM devices. Thus, in actual configuration of semiconductor ICs and DRAM devices, the circuit elements and devices are coupled with (directly or indirectly connected to) each other.
The above-described embodiments of the present invention are intended to be examples only. Alterations, modifications and variations may be effected to the particular embodiments by those of skill in the art without departing from the scope of the invention, which is defined solely by the claims appended hereto.
Claims
1. A method for enabling a data strobe input in a synchronous memory controller comprising:
- determining a data strobe enable value and a data strobe edge value;
- starting a counter upon issuance of a read command;
- enabling the data strobe input when an output of the counter reaches the data strobe enable value;
- latching the output of the counter with an edge of the data strobe input to provide a data strobe edge sample; and
- if the data strobe edge sample differs from the data strobe edge value:
- adding the difference between the data strobe edge sample and the data strobe edge value to the data strobe enable value, and
- replacing the data strobe edge value with the data strobe edge sample.
2. The method as claimed in claim 1 wherein latching the output of the counter comprises latching the output of the counter on the first edge of the data strobe input following enabling the data strobe input.
3. The method as claimed in claim 1 wherein latching the output of the counter comprises latching the output of the counter on a rising edge of the data strobe input.
4. The method as claimed in claim 1 further comprising clocking the counter at four times a frequency of the data strobe input.
5. A method for enabling a data strobe input in a synchronous memory controller comprising:
- determining a data strobe enable value, a first data strobe edge value, and a second data strobe edge value;
- enabling the data strobe input following issuance of a read command at a time determined by the data strobe enable value;
- latching a clock with an edge of the data strobe input for providing a first data strobe edge sample;
- latching a phase shifted version of the clock with the edge of the data strobe input for providing a second data strobe edge sample; and
- if the first data strobe edge sample differs from the first data strobe edge value or the second data strobe edge sample differs from the second data strobe edge value:
- adjusting the data strobe enable value for compensating for drift, and
- replacing the first data strobe edge value with the first data strobe edge sample and the second data strobe edge value with the second data strobe edge sample.
6. The method as claimed in claim 5 wherein the clock and the phase shifted version of the clock are latched on a first edge of the data strobe input following enabling the data strobe input.
7. The method as claimed in claim 5 wherein the clock and the phase shifted version of the clock are latched on a rising edge of the data strobe input.
8. The method as claimed in claim 5 wherein a frequency of the phase shifted version of the clock is substantially equal to a frequency of the clock.
9. The method as claimed in claim 8 wherein the phase shifted version of the clock is shifted 90 degrees with respect to the clock.
10. The method as claimed in claim 8 wherein the frequency of the phase shifted version of the clock and the frequency of the clock are substantially equal to a frequency of the data strobe input.
11. A method for enabling a data strobe input in a synchronous memory controller comprising:
- determining a data strobe enable value and a data strobe edge value;
- starting a counter upon issuance of a read command;
- enabling the data strobe input when an output of the counter reaches the data strobe enable value;
- latching the output of the counter with an edge of the data strobe input to provide a data strobe edge sample; and
- adjusting the data strobe enable value based on the data strobe edge sample.
12. The method as claimed in claim 11, further comprising adjusting the data strobe edge value based on the data strobe edge sample.
13. The method as claimed in claim 12, wherein adjusting the data strobe edge value comprises replacing the data strobe edge value with the data strobe edge sample.
14. The method as claimed in claim 11 wherein latching the output of the counter comprises latching the output of the counter on the first edge of the data strobe input following enabling the data strobe input.
15. The method as claimed in claim 11 wherein latching the output of the counter comprises latching the output of the counter on a rising edge of the data strobe input.
16. The method as claimed in claim 11 further comprising clocking the counter at four times a frequency of the data strobe input.
6256260 | July 3, 2001 | Shim et al. |
6466491 | October 15, 2002 | Yanagawa |
6600681 | July 29, 2003 | Korger et al. |
6690745 | February 10, 2004 | Horii et al. |
6691214 | February 10, 2004 | Li et al. |
6889336 | May 3, 2005 | Schoenfeld et al. |
8086813 | December 27, 2011 | Gillingham et al. |
8121237 | February 21, 2012 | Stott et al. |
20020126564 | September 12, 2002 | Yoo et al. |
20030200364 | October 23, 2003 | Vakil et al. |
20050213396 | September 29, 2005 | Aoki |
20060044029 | March 2, 2006 | Gomm et al. |
20060136769 | June 22, 2006 | Kizer et al. |
2003099321 | April 2003 | JP |
2006/023387 | March 2006 | WO |
- “DDR-SDRAM-2: Detailed Specifications” published in FIND, vol. 16, No. 4, Nov. 1998.
- LSI Logic 0.11 μm DDR2 PHY cw000733_1_0; Feb. 2005.
Type: Grant
Filed: Dec 27, 2013
Date of Patent: May 1, 2018
Assignee: Conversant Intellectual Property Management Inc. (Ottawa)
Inventors: Peter Gillingham (Kanata), Robert McKenzie (Ottawa)
Primary Examiner: Sam Rimell
Application Number: 14/141,686
International Classification: G06F 13/42 (20060101); G11C 29/50 (20060101); G11C 7/10 (20060101);