# US 8,315,114 B2 · Memory controllers

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

- Number: US 8,315,114 B2
- Document ID: US8315114B2
- Status: Granted
- Kind: B2
- Application number: 12/786,776
- Filed: 2010-05-25
- Published: 2010-12-02
- Granted: 2012-11-20
- Earliest claimed: 2010-05-25
- Assignees: Vimicro Corporation
- Inventors: Chuan Lin
- Web page: https://patentgrep.com/patent/US8315114B2

## CPC

- G06F 13/1689: {Synchronisation and timing concerns (synchronisation on a memory bus G06F13/4234)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques pertaining the designs of memory controller are disclosed. According to one aspect of the present invention, a memory controller reduces delays in a data strobe signal of a DDR memory relative to a clock signal of a memory controller thereof. In one embodiment, the memory controller employs four IO ports, two inverters, six edge triggers and a multiplexer. By feeding back an inverted clock signal and utilizing the rising and filing edges of the clock signal, the delays in a data strobe signal of a DDR memory relative to a clock signal of a memory controller are considerably reduced or minimized.

## Claims

### Claim 1

A memory controller comprising:
a first sampling unit provided for sampling read data from a memory according to a data strobe from the memory;
a second sampling unit provided for sampling the read data from the first sampling unit according to a first clock signal;
a third sampling unit provided for sampling the read data from the first sampling unit according to a clock signal inverted with the first clock signal;
a multiplexer provided for outputting one of read data from the second sampling unit and read data from the third sampling unit according to a selecting signal;
a fourth sampling unit for sampling the first clock signal according to a second clock signal and providing the selecting signal; and
a fifth sampling unit for sampling read data outputted from the multiplexer according to the second clock; wherein the first clock signal is provided from a clock terminal of the memory.

### Claim 2 (depends on 1)

The memory controller according to claim 1, wherein the sampling units are edge triggers.

### Claim 3 (depends on 1)

The memory controller according to claim 1, wherein the edge triggers are D flip-flops.

### Claim 4 (depends on 1)

The memory controller according to claim 1, wherein a clock frequency of the memory controller is 166 MHz.

### Claim 5 (depends on 1)

The memory controller according to claim 1, wherein the memory is a DDR SDRAM.

### Claim 6 (depends on 1)

The memory controller according to claim 1, wherein the second clock is an internal clock of the memory controller.

### Claim 7 (depends on 1)

The memory controller according to claim 1, wherein the second sampling unit comprises a pair of edge triggers connected in series.

### Claim 8 (depends on 1)

The memory controller according to claim 1, further comprising a plurality of IO ports interacting with the memory.

### Claim 9

A memory controller comprising:
a first sampling unit having an input terminal, an output terminal and a clock terminal coupled to a first clock signal;
a second sampling unit having an input terminal coupled to the output terminal of the first sampling unit, an output terminal and a clock terminal coupled to the first clock signal;
a third sampling unit having an input terminal coupled to the output terminal of the first sampling unit, an output terminal and a clock terminal coupled to a clock signal inverted with the first clock signal;
a multiplexer having two input terminals coupled to the output terminal of the second sampling unit and the output terminal of the third sampling unit respectively, a control terminal and an output terminal; and
a fourth sampling unit having an input terminal coupled to the first clock signal, an output terminal coupled to the control terminal and a clock terminal coupled to a second clock signal, wherein the first clock signal is inputted from a clock terminal of the memory and the second clock signal is an internal clock of the memory controller.

### Claim 10 (depends on 9)

The memory controller according to claim 9, wherein the sampling units are D flip-flops.

### Claim 11 (depends on 9)

The memory system according to claim 9, wherein a clock frequency of the memory controller is 166 MHz.

### Claim 12

A memory controller comprising:
a first sampling unit provided for sampling read data from a memory according to a data strobe from the memory;
a second sampling unit provided for sampling read data outputted from the first sampling unit according to a first clock signal;
a third sampling unit provided for sampling read data outputted from the first sampling unit according to a second clock signal;
a multiplexer provided for outputting one of read data outputted from the second sampling unit and read data outputted from the third sampling unit according to a selecting signal;
a fourth sampling unit for sampling the first clock signal according to a third clock signal and output the selecting signal; and
a fifth sampling unit for sampling read data outputted from the multiplexer according to the third clock.

### Claim 13 (depends on 12)

The memory controller according to claim 12, wherein following equations are satisfied:
m*T<DLl1<(m+1)*T;
m*T+DLr<DLh1<DLr+(m+1)*T;
DLl=DLl2+(m+2)*T;
DLh=DLh2+(m+1)*T+DLr,
wherein m is a natural number, T is a clock cycle, DLl1 and DLh1 are delays of the read data from the first sampling unit relative to the first clock signal at a minimum temperature and a maximum temperature respectively, DLr is a delay of the second clock signal relative to the first clock signal, DLl and DLh are delays of the first clock signal relative to the third clock signal at the minimum temperature and the maximum temperature respectively, and DLl2 and DLh2 are delays of the second clock signal relative to the third clock signal at the minimum temperature and the maximum temperature respectively.

### Claim 14 (depends on 12)

The memory system according to claim 12, wherein the sampling units are D flip-flops.

### Claim 15 (depends on 12)

The memory system according to claim 12, wherein all clock signals are substantially close to 166 MHz.

### Claim 16 (depends on 12)

The memory system according to claim 12, wherein the second sampling unit comprises a pair of edge triggers connected in series.
