# US 2016/0365135 A1 · Multiple Gating Modes and Half-Frequency Dynamic Calibration for DDR Memory Controllers

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

- Number: US 2016/0365135 A1
- Document ID: US20160365135A1
- Status: Published application
- Kind: A1
- Application number: 15/249,188
- Filed: 2016-08-26
- Published: 2016-12-15
- Earliest claimed: 2008-06-06
- Assignees: Uniquify, Inc.
- Applicants: Uniquify, Inc.
- Inventors: Mahesh GOPALAN; David WU; Venkat IYER
- Web page: https://patentgrep.com/patent/US20160365135A1

## CPC

- G11C 11/4076: Timing circuits (for regeneration management G11C11/406)
- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F 1/14: Time supervision arrangements, e.g. real time clock
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/065: {Replication mechanisms}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 12/0646: {Configuration or reconfiguration}
- G06F 13/1689: {Synchronisation and timing concerns (synchronisation on a memory bus G06F13/4234)}
- G06F 13/4243: {with synchronous protocol}
- G11C 7/1072: {for memories with random access ports synchronised on clock signal pulse trains, e.g. synchronous memories, self timed memories}
- G11C 7/222: {Clock generating, synchronizing or distributing circuits within memory device}
- G11C 11/4093: Input/output [I/O] data interface arrangements, e.g. data buffers
- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- G11C 29/022: {in I/O circuitry}
- G11C 29/023: {in clock generator or timing circuitry}
- G11C 29/028: {with adaption or trimming of parameters}
- G11C 7/04: with means for avoiding disturbances due to temperature effects
- G11C 11/40: using transistors
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Circuits and methods are described for a DDR memory controller where two different DQS gating modes are utilized. These gating modes together ensure that the DQS signal, driven by a DDR memory to the memory controller, is only available when read data is valid. Two types of gating logic are used: Initial DQS gating logic, and Functional DQS gating logic. The Initial gating logic has additional timing margin in the Initial DQS gating value to allow for the unknown round trip timing during initial bit levelling calibration. DQS functional gating is then optimized during further calibration to gate DQS precisely as latency and phase calibration are performed, resulting in a precise gating value for Functional DQS gating. Providing dual gating modes is especially useful when data capture is performed at half the DQS frequency in view of rising clock rates for DDR memories.

## Claims

### Claim 1

A memory interface circuit for interfacing with a DDR memory, the memory interface circuit comprising:
a DDR memory controller circuit comprising gating logic for first and second gating modes for gating a memory data strobe;
wherein the memory interface circuit:
enables the first gating mode for the memory data strobe;
performs an initial calibration process comprising a bit leveling calibration for data passing between the DDR memory and the Memory Interface Circuit;
disables the first gating mode for the memory data strobe after performing the initial calibration process, and enables the second gating mode for the memory data strobe;
performs a second calibration process using the second gating mode for the memory data strobe, to determine:
an optimum timing for a read data path such that data is successfully captured by a core clock originating within the DDR memory controller circuit; and
an optimum latency value for capturing valid data from the DDR memory; and
wherein after performing the second calibration process, the memory interface circuit performs a functional operation of the DDR memory and DDR memory controller.

### Claim 2 (depends on 1)

The circuit of claim 1 wherein the core clock is operated at half frequency of the memory data strobe.

### Claim 3 (depends on 2)

The circuit of claim 2 wherein the read data path includes two parallel data paths operated at half frequency of the memory data strobe, such that a first of the two parallel data paths captures read data on a first edge of the memory data strobe and a second of the two parallel data paths captures read data on a second edge of the memory data strobe.

### Claim 4 (depends on 1)

The circuit of claim 1 wherein bit levelling calibration includes read bit levelling.

### Claim 5 (depends on 1)

The circuit of claim 1 wherein bit levelling calibration includes write bit levelling.

### Claim 6 (depends on 1)

The circuit of claim 1 wherein the second calibration process is performed for a plurality of byte lanes.

### Claim 7 (depends on 1)

The circuit of claim 1 wherein the first gating mode for the memory data strobe allows a longer enablement time period for the memory data strobe to account for an unknown round trip delay in receiving valid memory data strobe pulses.

### Claim 8 (depends on 1)

The circuit of claim 1 wherein the first gating mode for the memory data strobe is utilized only for the initial calibration process.

### Claim 9 (depends on 8)

The circuit of claim 8 wherein the second gating mode for the memory data strobe is utilized for all bit levelling calibration processes that follow the initial calibration process that uses the first gating mode for the memory data strobe.

### Claim 10 (depends on 9)

The circuit of claim 9 wherein while utilizing the second gating mode, timing for positioning a capture clock signal derived from a core clock signal is progressively optimized until an optimum timing is achieved, and wherein upon achieving an optimum timing for the capture clock signal, that timing is utilized for functional operation until a subsequent calibration is performed.

### Claim 11 (depends on 1)

The circuit of claim 1 wherein the second gating mode for the memory data strobe is used during a calibration process wherein a precise determination is made for round-trip delay timing resulting in determination of the optimum latency value.

### Claim 12 (depends on 1)

The circuit of claim 1 wherein prior to capturing data by the core clock, read data propagation timing controlled by the DDR memory controller circuit is responsive to a capture clock that is delayed from the core clock.

### Claim 13 (depends on 1)

The circuit of claim 1, wherein after the initial calibration process has been performed utilizing the first gating mode, the second calibration process utilizing the second gating mode is performed wherein the circuit:
issues a sequence of read commands so that a delayed version of the memory data strobe toggles continuously;
delays the core clock signal to sample the delayed version of the memory data strobe at different delay increments until a 1 to 0 transition is detected on the delayed version of the memory data strobe, whereby this core clock delay is recorded as A;
delays the core clock signal to sample the core clock signal at different delay increments until a 0 to 1 transition is detected on the core clock signal, whereby this core clock delay is recorded as B; and
computes an optimum delay value for delaying the core clock signal in order to produce an optimum capture clock signal.

### Claim 14 (depends on 13)

The circuit of claim 13 wherein the delayed version of the memory data strobe is continuously sampled in a flip-flop wherein said flip-flop is clocked by a delay element that delays the core clock signal.

### Claim 15 (depends on 13)

The circuit of claim 13 wherein the optimum delay value for delaying the core clock signal in order to produce an optimum capture clock signal is determined by comparing the value of A with the value of B.

### Claim 16 (depends on 15)

The circuit of claim 15 wherein the optimum delay value for delaying the core clock signal in order to produce an optimum capture clock signal is set to the average of A and B if A subtracted from B is greater than A; otherwise the optimum delay value for delaying the core clock signal in order to produce an optimum capture clock signal is set to half of A.
