# US 6,731,565 B2 · Programmable memory controller and controlling method

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

- Number: US 6,731,565 B2
- Document ID: US6731565B2
- Status: Granted
- Kind: B2
- Application number: 10/064,395
- Filed: 2002-07-10
- Published: 2003-05-22
- Granted: 2004-05-04
- Earliest claimed: 2001-11-20
- Assignees: VIA Technologies, Inc.
- Inventors: Hsiang-I Huang
- Web page: https://patentgrep.com/patent/US6731565B2

## 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

A programmable memory controller has a main memory device, a command decoder, a period setting device, a command-sequencing device and a command signal output device. When the programmable memory controller needs to access data inside a memory unit, the memory controller sends out a request signal. The command decoder receives the request signal and decodes the request signal to produce command signals. The period setting device receives a control signal and decodes the control signal to produce a period setting signal. The control signal controls the maintenance period of the command signals. The command-sequencing device receives the command signals and the period setting signals to sequence the command signals. The command signal output device receives the sequenced command signals and the period setting signal so that the sequenced command signal is sent to the memory unit during the maintenance period according to indications provided by the period setting signals.

## Claims

### Claim 1

A programmable memory controller, comprising:
a main memory controller for sending a request signal when said programmable memory controller accesses data from a memory unit;
a command decoder for decoding said request signal to produce a plurality of command signals;
a period setting device for decoding a control signal to produce a period setting signal, wherein said control signal controls a maintenance period of said command signals;
a command-sequencing device for ordering and outputting said command signals according to the command signals and said period setting signal; and
a command signal output device for receiving said ordered command signals and said period setting signal, and controlling said output of ordered command signals outputted to the memory during said maintenance period, according to indications provided by said period setting signal.

### Claim 2 (depends on 1)

The memory controller of claim 1, wherein said memory is a synchronous dynamic random access memory (SDRAM).

### Claim 3 (depends on 1)

The memory controller of claim 1, wherein said memory is a double data rate dynamic random access memory (DDR DRAM).

### Claim 4 (depends on 1)

The memory controller of claim 1, wherein said maintenance period is set according to the travel distance of said command signals.

### Claim 5 (depends on 4)

The memory controller of claim 4, wherein said travel distance includes trace length between said control chipset of said memory controller and said memory slot pin of said memory.

### Claim 6 (depends on 4)

The memory controller of claim 4, wherein said maintenance period can be a first period or a second period, wherein the first period represents one clock cycle, and the second period represents two clock cycles.

### Claim 7 (depends on 6)

The memory controller of claim 6, wherein said maintenance period is the first period if said travel distance is lower than a pre-defined distance and said maintenance period is the second period if said travel distance exceeds said pre-defined distance.

### Claim 8 (depends on 7)

The memory controller of claim 7, wherein said pre-defined distance is about 2500 mils.

### Claim 9

A memory access structure having a programmable memory controller therein, wherein said memory access structure controls a plurality of command signals for accessing data inside a memory unit, comprising:
a control chipset having a built-in programmable memory controller, wherein said control chipset controls a maintenance period of said command signals output from said programmable memory controller when said control chipset needs to access data inside said memory unit; and
a memory slot for receiving said command signals and transferring said command signals to the memory unit, wherein said maintenance period of said command signals is determined according to a control signal.

### Claim 10 (depends on 9)

The memory access structure of claim 9, wherein said programmable memory controller further comprises:
a main memory controller for sending out a request signal when said control chipset needs to access data within said memory unit;
a command decoder for decoding said request signal and reading out said command signals;
a period setting device for producing a period setting signal according to the control signal, wherein said control signal controls the maintenance period of said command signals;
a command-sequencing device for ordering and producing new command signals according to said incoming command signals and said period setting signal; and
a command signal output device for controlling said maintenance period of said ordered command signals going outputted to the memory slot according to indications provided by said period setting signal.

### Claim 11 (depends on 9)

The memory access structure of claim 9, wherein said memory is a synchronous dynamic random access memory (SDRAM).

### Claim 12 (depends on 9)

The memory access structure of claim 9, wherein said memory is a double data rate dynamic random access memory (DDR DRAM).

### Claim 13 (depends on 9)

The memory access structure of claim 9, wherein a travel distance of said command signals includes trace length between said control chipset and said memory slot pin position.

### Claim 14 (depends on 13)

The memory access structure of claim 13, wherein said maintenance period can be a first period or a second period such that said command signals are up for one period if said command signals have first period and said command signals are up for two cycles if said command signals have a second period.

### Claim 15 (depends on 14)

The memory access structure of claim 14, wherein said maintenance period is the first period if said travel distance is lower than a pre-defined distance and said maintenance period is the second period if said travel distance exceeds the pre-defined distance.

### Claim 16 (depends on 15)

The memory access structure of claim 15, wherein said pre-defined distance is about 2500 mils.

### Claim 17

A motherboard having a memory unit and a memory controller thereon such that maintenance period for command signals traveling from said memory controller to a memory unit is determined by their distance of separation, said motherboard comprising:
a memory slot for receiving said command signals and sending said command signals to the memory plugged into said memory slot, wherein said maintenance period of said command signals is set according to a control signal, and said maintenance period is related to the distance of separation between said memory controller and said memory slot;
a memory controller, comprising:
a main memory controller for sending a request signal when said programmable memory controller needs to access data from a memory unit;
a command decoder for decoding said request signal to produce a plurality of command signals;
a period setting device for decoding said control signal to produce a period setting signal, wherein said control signal controls said maintenance period of said command signals;
a command-sequencing device for ordering and outputting said command signals according to the command signals and said period setting signal; and
a command signal output device for receiving said ordered command signals and said period setting signals, and controlling said ordered command signals outputted to the memory during said maintenance period according to indications provided by said period setting signal.

### Claim 18 (depends on 17)

The motherboard of claim 17, wherein said memory is a synchronous dynamic random access memory (SDRAM).

### Claim 19 (depends on 17)

The motherboard of claim 17, wherein said memory is a double data rate dynamic random access memory (DDR DRAM).

### Claim 20 (depends on 17)

The motherboard of claim 17, wherein said travel distance includes trace length between said control chipset of said memory controller and said memory slot pin position.

### Claim 21 (depends on 17)

The motherboard of claim 17, wherein said maintenance period can be a first period or a second period, the first period represents one clock cycle, and the second period represents two cycles.

### Claim 22 (depends on 21)

The motherboard of claim 21, wherein said maintenance period is the first period if said travel distance is lower than a pre-defined distance and said maintenance period is the second period if said travel distance exceeds said pre-defined distance.

### Claim 23 (depends on 22)

The motherboard of claim 22, wherein said pre-defined distance is about 2500 mils.

### Claim 24

A method of controlling a maintenance period of command signals according to a travel distance between a memory unit and a memory controller, comprising the steps of:
generating a request signal when data inside said memory unit needs to be accessed;
decoding said request signal to produce said command signals, wherein said commands signals are sent to the memory unit to initiate data accessing operations;
decoding a control signal to produce a period setting signal, wherein said control signal controls said maintenance period of said command signals;
sequencing and outputting said sequenced command signals according to said input command signals and said period setting signal; and
controlling said sequenced command signals outputted to the memory unit within said maintenance period according to indications provided by said period setting signal.

### Claim 25 (depends on 24)

The method of claim 24, wherein said memory is a synchronous dynamic random access memory (SDRAM).

### Claim 26 (depends on 24)

The method of claim 24, wherein said memory is a double data rate dynamic random access memory (DDR DRAM).

### Claim 27 (depends on 24)

The method of claim 24, wherein said travel distance includes trace length between a control chipset of said memory controller and a memory slot pin position.

### Claim 28 (depends on 24)

The method of claim 24, wherein said maintenance period can be a first period or a second period, wherein the first period represents one clock cycle, and the second period represents two clock cycles, wherein the first period is shorter than the second period.

### Claim 29 (depends on 28)

The method of claim 28, wherein said maintenance period is the first period if said travel distance is lower than a pre-defined distance and said maintenance period is the second period if said travel distance exceeds said pre-defined distance.

### Claim 30 (depends on 29)

The method of claim 29, wherein said pre-defined distance is about 2500 mils.
