# US 2021/0082534 A1 · Methods for memory interface calibration

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

- Number: US 2021/0082534 A1
- Document ID: US20210082534A1
- Status: Published application
- Kind: A1
- Application number: 17/093,292
- Filed: 2020-11-09
- Published: 2021-03-18
- Earliest claimed: 2011-05-31
- Assignees: Altera Corporation
- Applicants: Altera Corporation
- Inventors: Ryan Fung; Valavan Manohararajah
- Web page: https://patentgrep.com/patent/US20210082534A1

## CPC

- G11C 29/022: {in I/O circuitry}
- G11C 29/023: {in clock generator or timing circuitry}
- G11C 29/50012: {of timing}
- H03K 5/131: Digitally controlled
- H03K 19/17744: {for input/output signals}
- 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

Integrated circuits with memory interface circuitry may be provided. Prior to calibration, a number of samples may be determined by computing probability density function curves as a function of timing window edge asymmetry for different degrees of oversampling. During calibration, duty cycle distortion in data strobe signals may be corrected by selectively delaying the data strobe rising or falling edges. A data clock signal that is used for generating data signals may also suffer from duty cycle distortion. The rising and falling edges of the data clock signal may be selectively delayed to correct for duty cycle distortion. The data path through which the data signals are routed may be adjusted to equalize rising and falling transitions to minimize data path duty cycle distortion. Multi-rank calibration may be performed by calibrating to an intersection of successful settings that allow each memory rank to pass memory operation tests.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method, comprising:
performing a calibration test on two or more memory ranks, wherein a memory device comprises the two or more memory ranks, and wherein the calibration test involves a read test, a write test, or both;
determining, for the two or more memory ranks, a range of timing settings for operating a respective rank based at least in part on the calibration test;
determining a common timing setting that is among the range of timing settings; and
configuring memory interface circuitry using the common timing setting.

### Claim 22 (depends on 21)

The method of claim 21, wherein configuring the memory interface circuitry comprises configuring a memory controller of the memory interface circuitry, memory interface calibration circuitry of the memory interface circuitry, a memory interface circuit of the memory interface circuitry, or any combination thereof.

### Claim 23 (depends on 21)

The method of claim 21, wherein configuring the memory interface circuitry comprises configuring the memory interface circuitry to communicate with a processor to transmit data to the processor read from the memory device, to receive data from the processor for storage in the memory device, or both.

### Claim 24 (depends on 21)

The method of claim 21, comprising configuring the memory interface circuitry to communicate using a double data rate protocol.

### Claim 25 (depends on 21)

The method of claim 21, comprising calibrating a field programmable gate array based at least in part on results from the read test when the calibration test involves the read test.

### Claim 26 (depends on 21)

The method of claim 21, wherein performing the calibration test comprises performing a first calibration test and a second calibration test at different times.

### Claim 27 (depends on 26)

The method of claim 26, comprising sensing one or more test values as one or more test measurements during the first calibration test, wherein performing the calibration test comprises oversampling the one or more test measurements using a predetermined oversampling factor.

### Claim 28 (depends on 21)

The method of claim 21, wherein performing the calibration test on the two or more memory ranks comprises communicating with a memory module of the memory device, and wherein the memory module comprises the two or more memory ranks.

### Claim 29 (depends on 21)

The method of claim 21, wherein performing the calibration test on the two or more memory ranks comprises communicating with a first memory module and a second memory module of the memory device, wherein the first memory module comprises one or more of the two or more memory ranks and the second memory module comprises an additional one or more of the two or more memory ranks.

### Claim 30 (depends on 21)

The method of claim 21, comprising:
configuring the memory interface circuitry to enable communication of data signals and data strobe signals to the two or more memory ranks; and
centering, using the common timing setting, the data strobe signals relative to the data signals.

### Claim 31 (depends on 21)

The method of claim 21, wherein:
performing the calibration test on the two or more memory ranks comprises:
performing, using the memory interface circuitry configured to facilitate data communication between a programmable logic circuit and the memory device, a first calibration test of a first memory rank of the two or more memory ranks; and
performing, using the memory interface circuitry, a second calibration test of a second memory rank of the two or more memory ranks, wherein the memory interface circuitry is configured to perform the second calibration test separately from the first calibration test;
determining, for the two or more memory ranks, the range of timing settings for operating the respective rank comprises:
determining a first range of settings for operating the first memory rank based at least in part on the first calibration test; and
determining a second range of settings for operating the second memory rank based at least in part on the second calibration test; and
determining the common timing setting that is among the range of timing settings comprises determining the common timing setting that is among the first range of settings and the second range of settings, wherein the memory interface circuitry operates based at least in part on the common timing setting.

### Claim 32

A tangible, non-transitory computer-readable medium configured to store instructions executable by a processor of an electronic device that, when executed by the processor, cause the processor to:
perform a read test on two or more memory ranks;
determine, for the two or more memory ranks, a range of timing settings for operating the respective rank based at least in part on the respective read test;
determine a common timing setting that is among the range of timing settings; and
configure memory interface circuitry using the common timing setting.

### Claim 33 (depends on 32)

The tangible, non-transitory computer-readable medium of claim 32, wherein the instructions comprise instructions executable by the processor that, when executed by the processor, cause the processor to:
configure the memory interface circuitry in such a way that it communicates data and data strobe signals to the two or more memory ranks; and
center, using the common timing setting, the data strobe signals relative to the data.

### Claim 34 (depends on 32)

The tangible, non-transitory computer-readable medium of claim 32, wherein the common timing setting comprises a delay setting.

### Claim 35 (depends on 32)

The tangible, non-transitory computer-readable medium of claim 32, wherein the common timing setting is centered within the range of timing settings.

### Claim 36 (depends on 32)

The tangible, non-transitory computer-readable medium of claim 32, wherein determining the range of timing settings comprises determining settings that enable the respective rank to successfully pass the read test.

### Claim 37 (depends on 32)

The tangible, non-transitory computer-readable medium of claim 32, wherein the instructions comprise instructions executable by the processor that, when executed by the processor, cause the processor to:
perform the read test on the two or more memory ranks at least in part by:
performing, using the memory interface circuitry configured to facilitate data communication between a programmable logic circuit of a field programmable gate array and multi-rank memory comprising the two or more memory ranks, a first read test of a first memory rank in the multi-rank memory; and
performing, using the memory interface circuitry, a second read test of a second memory rank in the multi-rank memory, wherein the memory interface circuitry is configured to perform the second read test separately from the first read test;
determine, for the two or more memory ranks, the range of timing settings for operating the respective rank at least in part by:
determining a first range of timing settings for operating the first memory rank based at least in part on the first read test; and
determining a second range of timing settings for operating the second memory rank based at least in part on the second read test;
determine a common timing setting that is among the range of timing settings at least in part by determining a common setting that is among the first range of timing settings and the second range of timing settings; and
operate the memory interface circuitry using the common timing setting.

### Claim 38

A method for calibrating a field programmable gate array, comprising:
performing, using memory interface circuitry configured to facilitate data communication between a programmable logic circuit of the field programmable gate array and multi-rank memory, a first calibration test of a first memory rank in the multi-rank memory;
performing, using the memory interface circuitry, a second calibration test of a second memory rank in the multi-rank memory, wherein the memory interface circuitry is configured to perform the second calibration test separately from the first calibration test;
determining a first range of settings for operating the first memory rank based at least in part on the first calibration test;
determining a second range of settings for operating the second memory rank based at least in part on the second calibration test;
determining a common setting that is among the first range of settings and the second range of settings; and
operating the memory interface circuitry using the common setting.

### Claim 39 (depends on 38)

The method of claim 38, wherein the first calibration test comprises a read calibration test, a write calibration test, or a combination thereof, and wherein determining the first range of settings comprises determining settings that enable the first memory rank to successfully pass the read calibration test, the write calibration test, or the combination thereof.

### Claim 40 (depends on 38)

The method of claim 38, wherein operating the memory interface circuitry using the common setting comprises using the memory interface circuitry to load data into the multi-rank memory.
