# US 2004/0083350 A1 · Zero delay data cache effective address generation

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

- Number: US 2004/0083350 A1
- Document ID: US20040083350A1
- Status: Published application
- Kind: A1
- Application number: 10/282,519
- Filed: 2002-10-29
- Published: 2004-04-29
- Earliest claimed: 2002-10-29
- Assignees: International Business Machines Corporation
- Inventors: David Arnold Luick
- Web page: https://patentgrep.com/patent/US20040083350A1

## CPC

- G06F 9/355: Indexed addressing
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for accessing a specified cache line using previously decoded base address offset bits, stored with a register file, which eliminate the need to perform a full address decode in the cache access path, and to replace the address generation adder multiple level logic with only one level of rotator/multiplexer logic. The decoded base register offset bits enable the direct selection of the specified cache line, thus negating the need for the addition and the decoding of the base register offset bits at each access to the cache memory. Other cache lines are accessed by rotating the decoded base address offset bits, resulting in a selection of another cache word line.

## Claims

### Claim 1

A method for accessing a cache line in a cache memory, said method comprising:
decoding a displacement identifying a cache line;
storing said decoded displacement in a register; and
selecting said cache line according to said decoded displacement.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
rotating said decoded displacement to selectively enable another select line accessing another cache line.

### Claim 3 (depends on 1)

The method of claim 1, wherein said decoded displacement includes a decoded Row Address Select (RAS) component and a Column Address Select (CAS) component.

### Claim 4 (depends on 1)

The method of claim 1, wherein said cache is a Level one (L1) cache memory.

### Claim 5

A data processing system having a cache memory, said data processing system comprising:
means for decoding a displacement identifying a cache line;
means for storing said decoded displacement in a register; and
means for selecting said cache line according to said decoded displacement.

### Claim 6 (depends on 5)

The data processing system of claim 5, further comprising:
means for rotating said decoded displacement to selectively enable another select line accessing another cache line.

### Claim 7 (depends on 5)

The data processing system of claim 5, wherein said decoded displacement includes a decoded Row Address Select (RAS) component and a Column Address Select (CAS) component.

### Claim 8 (depends on 5)

The data processing system of claim 5, wherein said cache is a Level one (L1) cache memory.

### Claim 9

A computer usable medium for accessing a cache line in a cache memory in a processor, said computer usable medium comprising:
computer program code for decoding a displacement identifying a cache line;
computer program code for storing said decoded displacement in a register; and
computer program code for selecting said cache line according to said decoded displacement.

### Claim 10 (depends on 9)

The computer usable medium of claim 9, further comprising:
computer program code for rotating said decoded displacement to selectively enable another select line accessing another cache line.

### Claim 11 (depends on 9)

The computer usable medium of claim 9, wherein said decoded displacement includes a decoded Row Address Select (RAS) component and a Column Address Select (CAS) component.

### Claim 12 (depends on 9)

The computer usable medium of claim 9, wherein said cache is a Level one (L1) cache memory.

### Claim 13

A cache line selector comprising:
a register file containing decoded displacement data for identifying a cache line;
an plurality of output lines from said register file; and
a cache memory coupled to said register file via said plurality of output lines, wherein said displacement data selectively causes an access of said cache line by transmitting said decoded displacement data to said cache memory via said plurality of output lines.

### Claim 14 (depends on 13)

The cache line selector of claim 13, wherein said decoded displacement data includes a base register offset and a rotation data, said cache line selector further comprising:
a first rotator coupled to said register file, wherein said first rotator rotates said base register offset according to said rotation data to select a cache line in said cache memory.

### Claim 15 (depends on 13)

The cache line selector of claim 13, wherein said decoded displacement included a decoded Row Address Select (RAS) component and a Column Address Select (CAS) component, said cache line selector further comprising:
a second rotator, wherein said first rotator rotates said RAS component and said second rotator rotates said CAS component.

### Claim 16 (depends on 14)

The cache line selector of claim 14, further comprising logic for combining said RAS and CAS component to result in a selection of a cache line according to said decoded displacement.

### Claim 17 (depends on 14)

The cache line selector of claim 14, further comprising:
a third rotator for speculatively rotating said CAS component one extra position if said CAS component has a carry-in when logically AND combined with said RAS component; and
a selector for selecting said first and second rotators' output or said first and third rotators' output according to whether a carry-in has occurred.

### Claim 18 (depends on 14)

The cache line selector of claim 14, further comprising:
a third rotator for speculatively rotating said RAS component one extra position if said RAS component has a carry-in when logically AND combined with said CAS component; and
a selector for selecting said first and second rotators' output or said first and third rotators' output according to whether a carry-in has occurred.
