# US 9,355,744 B2 · Dynamic memory signal phase tracking method and associated control circuit

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

- Number: US 9,355,744 B2
- Document ID: US9355744B2
- Status: Granted
- Kind: B2
- Application number: 14/321,039
- Filed: 2014-07-01
- Published: 2015-01-01
- Granted: 2016-05-31
- Earliest claimed: 2013-07-01
- Assignees: MStar Semiconductor, Inc.
- Applicants: MStar Semiconductor, Inc.
- Inventors: Yung Chang; Chen-Nan Lin; Chung-Ching Chen
- Web page: https://patentgrep.com/patent/US9355744B2

## CPC

- 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: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A dynamic memory signal phase tracking method is provided. The method, applied to a memory controller that accesses a memory module, includes: issuing a memory access command and an access request to an arbiter to request for an access right of the memory module; when the access right is obtained, forwarding the memory access command to the memory module and asserting a flag signal; during a period of asserting the flag signal, sequentially using a plurality of candidate delay phases to adjust a memory signal for latching test data from the memory module, determining a delay phase according to latching results corresponding to the candidate delay phases, and recording the determined delay phases; updating an optimal delay phase according to the determined delay phase; and accessing the memory module according to the updated optimal delay phase.

## Claims

### Claim 1

A dynamic memory signal phase tracking method, applied to a memory controller that accesses a memory module, the method comprising:
issuing a first memory access command and a first access request to an arbiter to request for a first access right of the memory module;
issuing a second memory access command and a second access request to an arbiter to request for a second access right of the memory module;
when the first access right is obtained, forwarding the first memory access command to the memory module and asserting a flag signal;
during a period of asserting the flag signal, sequentially using a plurality of candidate delay phases to adjust a memory signal for latching test data from the memory module, determining a delay phase according to latching results corresponding to the plurality of candidate delay phases, and recording the determined delay phase;
updating an optimal delay phase according to the recorded determined delay phase; and
accessing the memory module according to the updated optimal delay phase.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
during another period of asserting the flag signal, determining another delay phase and recording the another determined delay phase;
wherein the step of updating an optimal delay phase further according to the another recorded determined delay phase.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first memory access command comprises a plurality of no operation commands.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the memory module is a double data rate (DDR) memory module, and the memory signal is a data strobe signal.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the step of updating the optimal delay phase is processed when the memory module is not in a data access procedure.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the step of updating the optimal delay phase is processed when the memory module is performing a refresh operation.

### Claim 7

A memory controller, coupled to a memory module, comprising:
an arbiter;
a test unit, configured to issue a first memory access command and a first access request to the arbiter to request for a first access right of the memory module;
an access unit, coupled to the arbiter, configured to issue a second memory access command and a second access request for a second access right of the memory module, wherein the test unit has a lower priority than said access unit;
an input/output control configured to access the memory module according to a memory signal;
a phase switching unit, configured to adjust the memory signal; and
a control unit, configured to control the arbiter, the test unit, the input/output control unit and the phase switching unit;
wherein, when the test unit obtains the first access right, the control unit asserts a flag signal to the phase switching unit;
wherein, during a period of asserting the flag signal, the phase switching unit accordingly sequentially uses a plurality of candidate delay phases to adjust the memory signal, the input/output control unit latches test data from the memory module according to the adjusted memory signal, and the test unit determines a delay phase according to latching results corresponding to the plurality of candidate delay phases, and records the determined delay phase; and
wherein, the test unit further updates an optimal delay phase according to the recorded determined delay phase and the input/output control unit further accesses the memory module according to the updated optimal delay phase.

### Claim 8 (depends on 7)

The memory controller according to claim 7, wherein during another period of asserting the flag signal, the test unit further determines another delay phase, records the another determined delay phase, and updates the optimal delay phase according to the another recorded determined delay phase.

### Claim 9 (depends on 7)

The memory controller according to claim 7, wherein the test unit records the determined delay phase in a phase calculator, and updates the optimal delay phase according to a calculating result generated by the phase calculator.

### Claim 10 (depends on 7)

The memory controller according to claim 7, wherein when the flag signal is de-asserted, the memory controller adjusts the memory signal by the updated optimal delay phase, and the input/output control unit accordingly accesses the memory module.

### Claim 11 (depends on 7)

The memory controller according to claim 7, wherein the optimal delay phase is updated when the memory module is not in a data access procedure.

### Claim 12 (depends on 7)

The memory controller according to claim 7, wherein the optimal delay phase is updated when the memory module performs a refresh operation.

### Claim 13 (depends on 7)

The memory controller according to claim 7, wherein the first memory access command comprises a plurality of no operation commands.

### Claim 14 (depends on 7)

The memory controller according to claim 7, wherein the memory module is a DDR memory module, and the memory signal is a data strobe signal.
