# US 2004/0083344 A1 · Method, apparatus, and system for improving memory access speed

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

- Number: US 2004/0083344 A1
- Document ID: US20040083344A1
- Status: Published application
- Kind: A1
- Application number: 10/279,500
- Filed: 2002-10-24
- Published: 2004-04-29
- Earliest claimed: 2002-10-24
- Assignees: Sony Corporation; Sony Electronics Inc.
- Inventors: Hidekazu Watanabe
- Web page: https://patentgrep.com/patent/US20040083344A1

## CPC

- G06F 12/0862: with prefetch
- G06F 12/0882: Page mode
- G06F 12/0879: Burst mode
- G06F 2212/2022: Flash memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment of the invention, an apparatus is provided which includes a high speed memory unit to store data received from an external memory device. The high speed memory unit has faster memory access speed compared to the external memory device. The apparatus further includes a memory controller coupled to the high speed memory unit to control access to the high speed memory unit and an external bus interface (EBIF) unit coupled to the memory controller and to an external bus to receive data from the external memory device via the external bus and transfer the data received from the external memory device to the high speed memory unit via the memory controller. In one embodiment, the EBIF unit, based on a memory request issued by a host device, generates a consecutive data read request to read a block of data from the external memory device and store the block of data read in the high speed memory unit. In response to a subsequent read request issued by the host device that hits the high speed memory unit, the requested data is retrieved from the high speed memory unit for the host device.

## Claims

### Claim 1

An apparatus comprising:
a high speed memory unit to store data received from an external memory device, the high speed memory unit having faster memory access speed compared to the external memory device;
a memory controller coupled to the high speed memory unit to control access to the high speed memory unit; and
an external bus interface (EBIF) unit coupled to the memory controller and to an external bus to receive data from the external memory device via the external bus and transfer the data received from the external memory device to the high speed memory unit,
wherein the EBIF unit, based on a memory request issued by a host device, generates a consecutive data read request to read a block of data from the external memory device and store the block of data read in the high speed memory unit, and wherein the EBIF unit, in response to a subsequent memory request issued by the host device that hits the high speed memory unit, retrieves the requested data from the high speed memory unit for the host device.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein the external bus interface unit comprises:
a data controller coupled to the external memory device via an external data bus, the data controller to transmit data to and receive data from the external memory device via the external data bus;
an address controller coupled to the external memory device via an external address bus, the address controller to communicate addresses of memory access requests with the external memory device via the external address bus;
a timing generator coupled to the address controller and the memory controller, the timing generator to control external bus access timing via the address controller and the high speed memory unit access timing via the memory controller; and
a data selector to select either data from the external memory device or data from the high speed memory unit based on a control signal generated from the external access bus timing generator, in response to a memory read request issued by the host device.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein the external memory device, when operated in a page access mode or burst access mode for consecutive data read, reduces memory access time for subsequent memory accesses included in the page mode memory request or burst mode memory request.

### Claim 4 (depends on 3)

The apparatus of claim 3 wherein the host device is a central processing unit (CPU) and the external memory device is a flash read-only-memory (ROM) device capable of operating in page mode access or burst mode access.

### Claim 5 (depends on 4)

The apparatus of claim 4 wherein the size of the high speed memory unit corresponds to the number of consecutive data read size in the page access mode.

### Claim 6 (depends on 4)

The apparatus of claim 4 wherein the size of the high speed memory unit corresponds to the number of consecutive data read size in the burst access mode.

### Claim 7 (depends on 2)

The apparatus of claim 2 wherein the timing generator is coupled to receive addresses of memory requests issued by the host device via an internal address bus, the timing generator to determine, for each address received, whether the respective address matches one of the addresses of the data stored in the high speed memory unit.

### Claim 8 (depends on 7)

The apparatus of claim 7 wherein, if there is a match, the timing generator generates the control signal to the data selector to select the requested data from the high speed memory unit which is sent to the host device via an internal read data bus.

### Claim 9 (depends on 7)

The apparatus of claim 7 wherein, if there is no match, the timing generator generates corresponding access signals via the address controller and the data controller to fetch a block of consecutive data from the external memory device starting at the respective address.

### Claim 10 (depends on 9)

The apparatus of claim 9 wherein the data fetched from the external memory device are stored in the high speed memory unit via the data controller.

### Claim 11

A method comprising:
receiving a first memory request from a host device to fetch data from an nth address in an external memory device;
generating a memory block request to fetch a block of consecutive data starting at the nth address;
storing the block of data fetched from the external memory device in a high speed memory unit which has faster access time compared to that of the external memory device; and
in response to a subsequent memory request from the host device to fetch data whose address match an address of data stored in the high speed-memory unit, retrieving the requested data from the high speed memory unit for the host device without fetching the requested data from the external memory device.

### Claim 12 (depends on 11)

The method of claim 11 wherein the host device is central processing unit (CPU) and the external memory device is a flash read-only-memory (ROM) device capable of operating in a page mode access or a burst mode access.

### Claim 13 (depends on 12)

The method of claim 12 wherein the memory block request is a memory read command to access the flash ROM device in page mode to fetch a block of consecutive data words from the flash ROM device.

### Claim 14 (depends on 12)

The method of claim 12 wherein the memory block request is a memory read command to access the flash ROM device in burst mode to fetch a block of consecutive data words from the flash ROM device.

### Claim 15 (depends on 11)

The method of claim 11 further including:
determining whether the address associated with a memory read request issued by the host device matches an address of data stored in the high speed memory unit;
if the address associated with the memory request does not match, fetching a block of consecutive data from the external memory device based on the address associated with the memory request; and
if the address associated with the memory request matches, retrieving the requested data from the high speed memory unit.

### Claim 16 (depends on 11)

The method of claim 11 wherein the size of the high speed memory unit corresponds to the size of the block of consecutive data.

### Claim 17

A system comprising:
a processor;
one or more peripheral devices coupled to the processor via an internal bus;
an external bus interface (EBIF) unit coupled to the processor via the internal bus to facilitate data transfer between the processor and other devices in the system;
a high speed memory unit coupled to the EBIF via a memory controller, the high speed memory unit to store data fetched from an external memory device via the EBIF,
wherein the EBIF unit, based on a memory request issued by the processor, generates a consecutive data read request to read a block of data from the external memory device and store the block of data read in the high speed memory unit, and wherein the EBIF unit, in response to a subsequent read request issued by the host device that hits the high speed memory unit, retrieves the requested data for the processor from the high speed memory unit instead of the external memory device.

### Claim 18 (depends on 17)

The system of claim 17 wherein the external bus interface unit comprises:
a data controller coupled to the external memory device via an external data bus, the data controller to transmit data to and receive data from the external memory device via the external data bus;
an address controller coupled to the external memory device via an external address bus, the address control to communicate addresses of memory access requests with the external memory device via the external address bus;
a timing generator coupled to the address controller and the memory controller, the timing generator to control external bus access timing via the address controller and the high speed memory unit access timing via the memory controller; and
a data selector to select either data from the external memory device or data from the high speed memory unit based on a control signal generated from the external access bus timing generator, in response to a memory read request issued by the host device.

### Claim 19 (depends on 18)

The system of claim 18 wherein the external memory device is a flash read-only-memory (ROM) device that is capable of operating in page mode or burst mode.

### Claim 20 (depends on 19)

The system of claim 19 wherein the size of the high speed memory unit is configured to correspond to the size of the consecutive data read request.

### Claim 21

A machine-readable medium comprising instructions which, when executed by a machine, cause the machine to perform operations including:
receiving a first memory request from a host device to fetch data from an nth address in an external memory device;
generating a memory block request to fetch a block of consecutive data starting at the nth address;
storing the block of data fetched from the external memory device in a high speed memory unit which has faster access time compared to that of the external memory device; and
in response to a subsequent memory request from the host device to fetch data whose address match an address of data stored in the high speed memory unit, retrieving the requested data from the high speed memory unit for the host device without fetching the requested data from the external memory device.

### Claim 22 (depends on 21)

The machine-readable medium of claim 21 wherein the host device is central processing unit (CPU) and the external memory device is a flash read-only-memory (ROM) device capable of operating in a page mode access or a burst mode access.

### Claim 23 (depends on 22)

The machine-readable medium of claim 22 wherein the memory block request is a memory read command to access the flash ROM device in page mode to fetch a block of consecutive data words from the flash ROM device.

### Claim 24 (depends on 23)

The machine-readable medium of claim 23 wherein the memory block request is a memory read command to access the flash ROM device in burst mode to fetch a block of consecutive data words from the flash ROM device.

### Claim 25 (depends on 21)

The machine-readable medium of claim 21 wherein the operations further including:
determining whether the address associated with a memory read request issued by the host device matches an address of data stored in the high speed memory unit;
if the address associated with the memory request does not match, fetching a block of consecutive data from the external memory device based on the address associated with the memory request; and
if the address associated with the memory request matches, retrieving the requested data from the high speed memory unit.

### Claim 26 (depends on 21)

The machine-readable medium of claim 21 wherein the size of the high speed memory unit corresponds to the size of the block of consecutive data.
