# US 2008/0301372 A1 · Memory access control apparatus and memory access control method

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

- Number: US 2008/0301372 A1
- Document ID: US20080301372A1
- Status: Published application
- Kind: A1
- Application number: 12/222,056
- Filed: 2008-07-31
- Published: 2008-12-04
- Earliest claimed: 2006-01-31
- Assignees: Fujitsu Limited
- Inventors: Hiroyuki Kojima; Tomoyuki Okawa
- Web page: https://patentgrep.com/patent/US20080301372A1

## CPC

- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- G06F 12/122: of the least frequently used [LFU] type, e.g. with individual count value
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory access control apparatus includes an MIB for storing information on a plurality of requests and processing the requests in parallel. Upon receipt of a memory access request, the MIB selects a request for a data block to be processed corresponding to the same set of a data block to be processed in response to the memory access request, and outputs a WAY assigned to the selected request to a replace-WAY selecting unit. The replace-WAY selecting unit excludes the WAY output from the MIB, and selects a WAY to be assigned to the memory access request based on a predetermined algorithm.

## Claims

### Claim 1

A memory access control apparatus that performs a set associative cache control with a buffer for storing information on a plurality of requests and processing the requests in parallel, the memory access control apparatus comprising:
a processing-status output unit that searches, upon receipt of a memory access request, the buffer for a prior request for a data block corresponding to a set of a data block to be processed in response to the memory access request, and outputs a WAY assigned to the prior request;
a selecting unit that selects a WAY to be assigned to the memory access request based on a predetermined replacement algorithm while excluding the WAY output from the processing-status output unit; and
a control unit that stores, when the data block to be processed in response to the memory access request does not result in a cache hit, the data block in the WAY selected by the selecting unit.

### Claim 2 (depends on 1)

The memory access control apparatus according to claim 1, wherein the predetermined replacement algorithm is a least recently used algorithm.

### Claim 3 (depends on 1)

The memory access control apparatus according to claim 1, wherein the control unit controls the memory access request to be retried when the data block to be processed in response to the memory access request does not result in a cache hit and output of the processing-status output unit includes all available WAYs.

### Claim 4 (depends on 1)

The memory access control apparatus according to claim 1, wherein the control unit controls the memory access request to be retried when the data block to be processed in response to the memory access request results in a cache hit and output of the processing-status output unit includes a hit WAY.

### Claim 5

A memory access control method for a memory access control apparatus that performs a set associative cache control with a buffer for storing information on a plurality of requests and processing the requests in parallel, the memory access control method comprising:
searching, upon receipt of a memory access request, the buffer for a prior request for a data block corresponding to a set of a data block to be processed in response to the memory access request;
outputting a WAY assigned to the prior request;
selecting a WAY to be assigned to the memory access request based on a predetermined replacement algorithm while excluding the WAY output at the outputting; and
storing, when the data block to be processed in response to the memory access request does not result in a cache hit, the data block in the WAY selected at the selecting.

### Claim 6 (depends on 5)

The memory access control method according to claim 5, wherein the predetermined replacement algorithm is a least recently used algorithm.

### Claim 7 (depends on 5)

The memory access control method according to claim 5, further comprising controlling the memory access request to be retried when the data block to be processed in response to the memory access request does not result in a cache hit and the WAY output at the outputting includes all available WAYs.

### Claim 8 (depends on 5)

The memory access control method according to claim 5, further comprising controlling the memory access request to be retried when the data block to be processed in response to the memory access request results in a cache hit and the WAY output at the outputting includes a hit WAY.
