# US 5,692,165 A · Memory controller with low skew control signal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,692,165 A
- Document ID: US5692165A
- Status: Granted
- Kind: A
- Application number: 08/526,988
- Filed: 1995-09-12
- Granted: 1997-11-25
- Earliest claimed: 1995-09-12
- Assignees: Micron Electronics, Inc.
- Inventors: Joseph M. Jeddeloh; Jeffrey J. Rooney; Richard F. Nicholson; Dean A. Klein
- Web page: https://patentgrep.com/patent/US5692165A

## CPC

- H03L 7/0814: {the phase shifting device being digitally controlled}
- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G06F 13/1689: {Synchronisation and timing concerns (synchronisation on a memory bus G06F13/4234)}
- G11C 7/1072: {for memories with random access ports synchronised on clock signal pulse trains, e.g. synchronous memories, self timed memories}
- G11C 7/22: Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management
- G11C 7/225: {Clock input buffers}
- H03K 5/131: Digitally controlled
- H03K 5/135: by the use of time reference signals, e.g. clock signals
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

An apparatus and a method are provided for delaying or skewing a control signal provided to an electronic device such as a memory device with an alignment delay, such that the overall delay associated with the alignment delay and the propagation delay associated with outputting the control signal to the electronic device substantially equals one or more integral cycles of a clock signal. As a result, the control signal received at the electronic device is substantially aligned with the clock signal. This results in synchronizing or realigning the asynchronously-generated control signal back into a synchronous environment. The apparatus and method have unique applicability when used in memory controllers and the like for handling memory accesses with one or more memory devices, in particular with memory devices having enhanced memory transfer modes or higher transfer speeds, where even a small amount of skew between a control signal and a clock signal may significantly degrade performance. A propagation delay, or delay factor, associated with outputting the control signal to the electronic device is computed based upon the process factor for the apparatus, as well as any temperature and/or voltage variations. In addition, the delay factor may be modified dynamically to account for real-time voltage and/or temperature variations.

## Claims

### Claim 1

An apparatus for controlling a memory in response to an access request from a processor, the apparatus and the memory each electrically coupled to the processor across a bus of the type having information transferred thereon that is aligned with a clock signal, the memory of the type for receiving at least one strobe control signal, the apparatus comprising:
(a) a memory control circuit for providing control signals to the memory in response to an access request, wherein the control signal generating circuit generates a strobe enable signal; and
(b) a strobe generating circuit, electrically coupled to receive the strobe enable signal and the clock signal, for providing a strobe control signal to the memory, the strobe generating circuit including:
(1) a first delay for delaying the clock signal by a first alignment delay value to generate a strobe clock signal;
(2) a second delay for delaying the strobe enable signal by a second alignment delay value to generate a delayed strobe enable signal; and
(3) an output device, electrically coupled to the memory, for gating the strobe clock with the delayed strobe enable signal to thereby provide the strobe control signal to the memory; wherein the first alignment delay value is selected to align the strobe control signal with the clock signal and the second alignment delay value is selected to align the delayed strobe enable signal with the strobe clock.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the memory control circuit comprises a state machine, and wherein the state machine generates additional control signals which are output directly to the memory in response to the access request.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the strobe enable signal has a duration of four cycles of the clock signal; whereby the strobe control signal includes a burst of four pulses of the strobe clock that are aligned with the clock signal at the memory.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the memory comprises a plurality of burst extended data out DRAMs, wherein the processor is an 80.times.86 compatible microprocessor, and wherein the bus is a system bus.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the apparatus is implemented in a system controller which is additionally coupled to an input/output bus, and wherein the system controller includes an arbitration controller for arbitrating access requests received across the system and input/output busses.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the first and second delays are programmable delays, each having a signal input, a signal output, and a select input for selecting a variable number of delay elements to insert between the signal input and signal output, and wherein the strobe generating circuit further comprises first and second registers respectively coupled to the select inputs of the first and second delays to store first and second delay counts related to the number of delay elements which respectively correspond to the first and second alignment delay values.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the delay elements of each delay include inputs and outputs and are coupled in series with one another, with the input of a first delay element electrically coupled to the signal input of the delay, and wherein each delay further includes a multiplexer having a plurality of inputs coupled to the outputs of the delay elements, and an output, coupled to the signal output of the delay, which is selectively coupled to one of the plurality of inputs responsive to the select input.

### Claim 8 (depends on 6)

The apparatus of claim 6, further comprising a delay control circuit, coupled to the first and second registers, for calculating the first and second delay counts, the delay control circuit including:
(a) a delay factor determining circuit for determining a delay factor for the apparatus which is related to the relative speed of the apparatus; and
(b) delay count generating means for calculating the first and second delay counts from the delay factor.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the delay factor determining circuit includes:
(a) a third programmable delay having a data input coupled to receive the clock signal, an output for providing a delayed clock signal, and a select input for selecting a variable number of delay elements to insert between the data input and the output;
(b) a detector, coupled to receive the clock signal and the delayed clock signal, for comparing the delayed clock signal with the clock signal and indicating when the delayed clock signal is aligned with the clock signal; and
(c) a compare circuit, coupled to the detector, for applying a third delay count to the select input of the third programmable delay to align the delayed clock signal with the clock signal; whereby the delay factor is related to the third delay count when the delayed clock signal and the clock signal are aligned.

### Claim 10 (depends on 9)

The apparatus of claim 9, further comprising a third register electrically coupled to the compare circuit to store the third delay count and thereby provide the third delay count to the select input of the third programmable delay.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the compare circuit includes a start-up routine for selectively incrementing the third delay count until the detector indicates that the clock signal and the delayed clock signal are aligned.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the detector includes an edge-triggered D-type flip flop having an edge triggered clock input coupled to receive the clock signal, a D input coupled to receive the delayed clock signal, and an output coupled to the compare circuit, and wherein the compare circuit determines when the delayed clock signal and the clock signal are aligned by detecting a transition in the output of the D-type flip flop.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the delay count generating means includes:
(a) a look-up table for providing first and second delay counts in response to the third delay count stored in the third register; and
(b) means for storing the first and second delay counts in the first and second registers.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the first, second and third registers are addressable by the processor across the bus, and wherein the delay count generating means is implemented in software by the processor.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the delay count generating means includes a scaling circuit for calculating the first and second delay counts by scaling the third delay count by first and second scaling constants.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the delay factor generating circuit further includes an adjust routine for adjusting the first and second delay counts in response to temperature or voltage variations.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the first, second and third registers are counter registers which may be selectively incremented and decremented by an adjust signal provided by the compare circuit, and wherein the adjust routine periodically realigns the delayed clock signal with the clock signal by selectively applying the adjust signal to the third register to control the third delay count; whereby adjusting the third delay count likewise adjusts the first and second delay counts stored respectively in the first and second registers.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the adjust routine operates by first decrementing the third delay count until the rising edge of the delayed clock signal leads the rising edge of the clock signal, then incrementing the third delay count until the delayed clock signal and the clock signal are aligned.

### Claim 19

A method of aligning a strobe control signal and a clock signal received by a memory device, that is coupled to a processor across a bus, comprising the steps of:
(a) generating a strobe enable signal in response to an access request from the processor;
(b) determining a first alignment delay having a value that, when summed with the propagation delay of the strobe control signal, is related to at least one integral cycle of the clock signal;
(c) determining a second alignment delay;
(d) delaying the clock signal by the first alignment delay to generate a strobe clock signal and delaying the strobe enable signal by the second alignment delay to generate a delayed strobe enable signal;
(e) gating the strobe clock with the delayed strobe enable signal to thereby provide the strobe control signal to the memory device such that the strobe control signal is aligned with the clock signal at the memory device;
wherein the first alignment delay is determined so as to align the strobe control signal with the clock signal and the second alignment delay value is determined so as to align the delayed strobe enable signal with the strobe clock.

### Claim 20 (depends on 19)

The method of claim 19, wherein the generating step generates a strobe enable signal with a duration of four cycles of the clock signal; whereby the strobe control signal includes a burst of four pulses of the strobe clock that are aligned with the clock signal at the memory device.

### Claim 21 (depends on 20)

The method of claim 20, wherein the delaying step includes the steps of passing the clock signal and the strobe enable signal through first and second programmable delays, the first and second programmable delays having select inputs respectively responsive to first and second delay counts, the first and second delay counts respectively related to numbers of delay elements relating respectively to the first and second alignment delay values.

### Claim 22 (depends on 21)

The method of claim 21, wherein the determining step includes the steps of determining a delay factor for the controller, the delay factor being related to the relative speed of the controller, and generating the first and second delay counts from the delay factor.

### Claim 23 (depends on 22)

The method of claim 22, wherein the delay factor determining step includes the steps of:
(a) delaying the clock signal with a third programmable delay to generate a delayed clock signal, wherein the amount of delay inserted into the delayed clock signal is related to a third delay count input to the programmable delay;
(b) comparing the delayed clock signal with the clock signal and indicating when the delayed clock signal is aligned with the clock signal; and
(c) selectively adjusting the third delay count to control the third programmable delay and thereby align the delayed clock signal with the clock signal; whereby the delay factor is related to the third delay count when the delayed clock signal and the clock signal are aligned.

### Claim 24 (depends on 23)

The method of claim 23, wherein the adjusting step includes the step of, during start-up of the controller, selectively incrementing the third delay count until the clock signal and the delayed clock signal are aligned.

### Claim 25 (depends on 23)

The method of claim 23, wherein the delay count generating step includes the step of accessing a look-up table of first and second delay counts indexed by the third delay count to provide the first and second delay counts.

### Claim 26 (depends on 23)

The method of claim 23, wherein the delay count generating step includes the step of scaling the third delay count by first and second scaling constants to calculate the first and second delay counts.

### Claim 27 (depends on 23)

The method of claim 23, further comprising the step of adjusting the first and second delay counts dynamically in response to temperature or voltage variations.

### Claim 28 (depends on 27)

The method of claim 27, wherein the first, second and third delay counts are stored in counter registers coupled respectively to the select inputs of the programmable delays, and wherein the adjusting step includes the step of applying a common adjust signal to the counter registers to selectively increment or decrement the first, second and third delay counts until the delayed clock signal is aligned with the clock signal.

### Claim 29 (depends on 28)

The method of claim 28, wherein the adjusting step operates by first decrementing the third delay count until the rising edge of the delayed clock signal leads the rising edge of the clock signal, then incrementing the third delay count until the delayed clock signal and the clock signal are aligned.
