# US 2004/0073769 A1 · Apparatus and method for performing data access in accordance with memory access patterns

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

- Number: US 2004/0073769 A1
- Document ID: US20040073769A1
- Status: Published application
- Kind: A1
- Application number: 10/268,166
- Filed: 2002-10-10
- Published: 2004-04-15
- Earliest claimed: 2002-10-10
- Assignees: Intel Corporation
- Inventors: Eric Debes; Yen-Kuang Chen; Matthew J. Holliman; Minerva M. Yeung
- Web page: https://patentgrep.com/patent/US20040073769A1

## CPC

- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06T 1/60: Memory management
- G09G 5/393: Arrangements for updating the contents of the bit-mapped memory
- G06F 12/0848: {Partitioned cache, e.g. separate instruction and operand caches}
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

An apparatus and method for performing data access in accordance with memory access patterns are described. In one embodiment, the method includes the determination, in response to a memory access instruction, of a memory access pattern of data requested by the memory access instruction. Once the memory access pattern is determined, the data requested by the memory access instruction is accessed according to the determined memory access pattern. Finally, once the data is accessed, the data is processed according to the memory access instruction. Accordingly, in this embodiment of the present invention, data is accessed according to memory access patterns including zig-zag patterns scan, Zerotree scan, bit plane extraction, fine granularity scalability or the like.

## Claims

### Claim 1

A method comprising:
determining, in response to a memory access instruction, a memory access pattern of data associated with the received memory access instruction;
accessing data associated with the received memory access instruction according to the determined memory access pattern; and
storing the accessed data according to the received memory access instruction.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the memory access pattern further comprises:
determining a memory location of the memory access pattern;
reading one or more data addresses defining the memory access pattern from the determined memory location;
determining data offsets for accessing the data associated with the received memory access instruction; and
storing the one or more data addresses and the one or more data offsets to enable accessing of the data according to the memory access pattern associated with the received memory access instruction.

### Claim 3 (depends on 1)

The method of claim 1, wherein accessing data further comprises:
detecting, in response to the memory-access instruction, a buffer hit/miss of data associated by the memory-access instruction within a local data buffer;
when a buffer miss is detected, loading a block of data into the local data buffer according to the memory-access instruction, the block of data containing the data associated with the memory-access instruction; and
accessing the data associated with the memory-access instruction, according to the memory access pattern, from the local data buffer.

### Claim 4 (depends on 3)

The method of claim 3, wherein loading the block of data further comprises:
issuing a data request to one or more memory buffers for the block of data containing data associated with the memory-access instruction;
retrieving the block of data containing the data associated with the memory-access instruction from a memory buffer of the one or more memory buffers; and
loading the received block of data into the local data buffer.

### Claim 5 (depends on 4)

The method of claim 4, wherein issuing the data request further comprises:
detecting, in accordance with the data request, a buffer hit/buffer miss of the data requested by the memory-access instruction within the one or more memory buffers;
when a buffer miss is detected, requesting, from an external memory, a block of data containing the data associated with the memory-access instruction;
once the block of data is received, loading the block of data into the one or more memory buffers;
otherwise, selecting the block of data containing the data requested by the memory-access instruction from a memory buffer of the one or more memory buffers according to the memory-access instruction; and
storing the data block containing the data requested by the memory-access instruction to the local data buffer.

### Claim 6 (depends on 3)

The method of claim 3, wherein loading the block of data further comprises:
determining a block size of the data block according to the memory-access instruction;
requesting the data block from one or more memory buffers according to the determined block size;
retrieving the data block from a memory buffer of the one or more memory buffers; and
loading the data block into the local data buffer according to the memory-access instruction.

### Claim 7 (depends on 1)

The method of claim 1, wherein accessing data further comprises:
determining a data type indicated by the memory-access instruction as one of a byte and a byte multiple;
selecting a data address and offset of a data portion indicated by the memory-access pattern;
reading a data portion, corresponding to the determined data type, and according to the determined data address and offset, from the local data buffer;
loading the read data portion into a destination data storage device according to the memory-access instruction; and
repeating the determining, reading and loading for each data portion indicated by the memory access pattern.

### Claim 8 (depends on 1)

The method of claim 1, wherein accessing data further comprises:
performing non-horizontally/non-vertically sequential access of data associated with the memory-access instruction according to the memory access pattern from the local data buffer; and
loading the data accessed from the local data buffer into a destination data storage device according to the memory-access instruction.

### Claim 9 (depends on 5)

The method of claim 5, further comprising:
maintaining coherence of the data block containing the data associated with the memory-access instruction among the local data buffer, the memory buffers and the external memory.

### Claim 10 (depends on 1)

The method of claim 1, wherein the memory-access instruction is one of a read instruction and a write instruction.

### Claim 11

An apparatus, comprising:
an execution unit having circuitry to execute instructions;
a local data buffer, coupled to the execution unit, the local data buffers configured to enable access of data contained therein according to a memory access pattern; and
a storage device coupled to the execution unit, having sequences of instructions stored therein, which when executed by the execution unit cause the execution unit to:
determine, in response to a memory access instruction, a memory access pattern of data associated with the received memory access instruction;
access data associated with the received memory access instruction according to the determined memory access pattern; and
store the accessed data according to the received memory access instruction to enable sequential access of the stored data.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the instruction to determine the memory access pattern further causes the execution unit to:
determine a memory location of the memory access pattern;
read one or more data addresses defining the memory access pattern from the determined memory location;
determine data offsets for accessing the data associated with the received memory access instruction; and
store the one or more data addresses and the one or more data offsets to enable accessing of the data according to the memory access pattern associated with the received memory access instruction.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the instruction to access data further causes the execution unit to:
detect, in response to the memory-access instruction, a buffer hit/miss of data associated by the memory-access instruction within a local data buffer;
when a buffer miss is detected, load a block of data into the local data buffer according to the memory-access instruction, the block of data containing the data associated with the memory-access instruction; and
access the data associated with the memory-access instruction, according to the memory access pattern, from the local data buffer.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the instruction to load the data block further causes the execution unit to:
issue a data request to one or more memory buffers for the block of data containing data associated with the memory-access instruction;
retrieve the block of data containing the data associated with the memory-access instruction from a memory buffer of the one or more memory buffers; and
load the received block of data into the local data buffer.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the instruction to issue the data request further causes the execution unit to:
detect, in accordance with the data request, a buffer hit/buffer miss of the data requested by the memory-access instruction within the one or more memory buffers;
when a buffer miss is detected, request, from an external memory, a block of data containing the data associated with the memory-access instruction;
once the block of data is received, load the block of data into the one or more memory buffers;
otherwise, select the block of data containing the data requested by the memory-access instruction from a memory buffer of the one or more memory buffers according to the memory-access instruction; and
store the data block containing the data requested by the memory-access instruction to the local data buffer.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the instruction to load the data block further causes the execution unit to:
determine a block size of the data block according to the memory-access instruction;
request the data block from one or more memory buffers according to the determined block size;
retrieve the data block from a memory buffer of the one or more memory buffers; and
load the data block into the local data buffer according to the memory-access instruction.

### Claim 17 (depends on 11)

The apparatus of claim 11, wherein the instruction to access data further causes the execution unit to:
determine a data type indicated by the memory-access instruction as one of a byte and a byte multiple;
select a data address and offset of a data portion indicated by the memory-access pattern;
read a data portion, corresponding to the determined data type, and according to the determined data address and offset, from the local data buffer;
load the read data portion into a destination data storage device according to the memory-access instruction; and
repeat the determine, read and load for each data portion indicated by the memory access pattern.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the instruction to access data further causes the processor to:
perform non-horizontally/non-vertically sequential access of data associated with the memory-access instruction according to the memory access pattern from the local data buffer; and
load the data accessed from the local data buffer into a destination data storage device according to the memory-access instruction.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein the execution unit is further caused to:
maintain coherence of the data block containing the data associated with the memory-access instruction among the local data buffer, one or more memory buffers and external memory.

### Claim 20 (depends on 11)

The apparatus of claim 11, wherein the memory-access instruction is one of a read instruction and a write instruction.

### Claim 21

A system, comprising:
a central processor having one or more memory buffers coupled to the processor via a memory bus; and
a co-processor coupled to the central processor via a system bus, the co-processor having a local data buffer, coupled to the co-processor via a bus, the local data buffer configured to enable non-horizontally/non-vertically local data sequential access of data contained therein, wherein the co-processor, in response to a memory access instruction, accesses data from the local cache according to a memory access pattern indicated by the memory access instruction.

### Claim 22 (depends on 21)

The system of claim 21, further comprising:
an external memory coupled to the processor via the system bus, including one or more external data buffers, wherein the co-processor, in response to a buffer miss of data associated with the memory access instruction, loads data into the local data buffer when a buffer miss is detected in response to a memory access instruction from one or more of the one or more memory buffers, the external data buffers and the one or more external data buffers.

### Claim 23 (depends on 21)

The system of claim 21, wherein the cache processor accesses one of bit-data of byte multiple according to a data type indicated by the received memory access instruction.

### Claim 24 (depends on 21)

The system of claim 21, wherein the co-processor further comprises:
one or more data storage devices, such that data accessed, according to the memory access pattern, is stored within the one or more data storage devices prior to being provided to the central processor.

### Claim 25 (depends on 21)

The system of claim 21, wherein the co-processor further comprises:
an execution unit coupled to the co-processor; and
a storage device coupled to the execution unit, having sequences of instructions stored therein, which when executed by the execution unit cause the first memory buffer to:
determine, in response to a memory access instruction, a memory access pattern of data associated with the received memory access instruction;
detect, in response to a memory-access request from the execution unit, a buffer hit/miss of data requested by the memory-access instruction within the local data buffer,
when a buffer miss is detected, load a block of data from the memory buffers into the local data buffer according to the memory-access instruction, the block of data containing the data associated with the memory-access instruction,
access the data associated with the memory-access instruction according to the memory access pattern from the local data buffer, and
provide the accessed data to the central processor.

### Claim 26 (depends on 21)

The system of claim 21, wherein the co-processor is further caused to maintain coherence of the data among the local data buffer and the memory buffers, the external memory and the external memory buffers.

### Claim 27 (depends on 21)

The system of claim 21, wherein the instruction to perform the non-horizontally sequential access further causes the first memory buffer to:
perform non-horizontally/non-vertically sequential access of data associated with the memory-access instruction according to the memory access pattern from the local data buffer; and
load the data accessed from the local data buffer into a destination data storage device according to the memory-access instruction.

### Claim 28 (depends on 21)

The system of claim 21, wherein the system is fabricated onto a printed wiring board on which a parallel bus is formed, an integrated circuit (IC) chip package being operatively installed on the board to communicate using the parallel bus, the package having an IC chip that includes the central processor and the co-processor and an I/O section as an interface between the central processor, the co-processor and the bus, such that the co-processor performs, in response to a memory access request from the central processor, non-horizontally/non-vertically sequential access of data within the local data buffer according to the memory access pattern.

### Claim 29 (depends on 28)

The system of claim 28, wherein the co-processor further comprises:
an execution unit coupled to co-processor to perform data access according to the memory access pattern indicated by the memory access request; and
the central processor includes one or more memory buffers coupled to the processor.

### Claim 30 (depends on 28)

The system of claim 28, wherein the system further comprises:
a second IC chip package, including an I/O interface to enable communication between one or more external memory buffers, an external memory and the co-processor.

### Claim 31

A computer readable storage medium including program instructions that direct a computer to function in a specified manner when executed by a processor, the program instructions comprising:
determining, in response to a memory access instruction, a memory access pattern of data associated with the received memory access instruction;
accessing data associated with the received memory access instruction according to the determined memory access pattern; and
storing the accessed data according to the received memory access instruction.

### Claim 32 (depends on 31)

The computer readable storage medium of claim 31, wherein accessing data further comprises:
performing non-horizontally/non-vertically sequential access of data associated with the memory-access instruction according to the memory access pattern from the local data buffer; and
loading the data accessed from the local data buffer into a destination data storage device according to the memory-access instruction.

### Claim 33 (depends on 31)

The computer readable storage medium of claim 31, wherein the memory-access instruction is one of a read instruction and a write instruction.
