# US 2008/0301400 A1 · Method and Arrangement for Efficiently Accessing Matrix Elements in a Memory

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

- Number: US 2008/0301400 A1
- Document ID: US20080301400A1
- Status: Published application
- Kind: A1
- Application number: 12/095,166
- Filed: 2006-11-29
- Published: 2008-12-04
- Earliest claimed: 2005-12-01
- Assignees: NXP B.V.
- Inventors: Dietmar Gassmann
- Web page: https://patentgrep.com/patent/US20080301400A1

## CPC

- G06F 12/0607: {Interleaved addressing}
- G06F 12/0207: {with multidimensional access, e.g. row/column, matrix}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention relates to a method for accessing matrix elements, wherein accesses to two matrix elements that are adjacent in a row or in a column of a matrix and that are each specified by a respective relative address (ar, ac) are performed for the first of said elements in a first memory block (Bp1) using a first local address (a′1) and for the second of said elements in a different second memory block (Bp2) using a second local address (a′2)

## Claims

### Claim 1

A method for accessing matrix elements, wherein accesses to two matrix elements that are adjacent in a row or in a column of a matrix and that are each specified by a respective relative address (ar, ac) are performed for the first of said elements in a first memory block (Bp1) using a first local address (a′1) and for the second of said elements in a different second memory block (Bp2) using a second local address (a′2).

### Claim 2 (depends on 1)

The method according to claim 1, wherein for each of said matrix elements said respective memory block (Bp) and/or said respective local address (a′) are determined from a look-up table using said respective relative address (ar, ac) for an index.

### Claim 3 (depends on 1)

The method according to claim 1, wherein for each of said matrix elements said respective memory block (Bp) is determined from a first sub-group of bits of the respective relative address (ar, ac) and/or said respective local address (a′) is determined from a second sub-group of bits of the respective relative address (ar, ac).

### Claim 4 (depends on 1)

The method according to claim 1, wherein for each of said matrix elements said respective memory block (Bp) and/or said respective local address (a′) are calculationally determined from said respective relative address (ar, ac).

### Claim 5 (depends on 3, 4)

The method according to claim 3 or 4, wherein bits of said respective relative address (ar, ac) are shifted and/or swapped for obtaining said respective memory block (Bp) and/or for obtaining said respective local address (a′), the local addresses (a′) having a narrower address space than the relative addresses (ar, ac).

### Claim 6 (depends on 5)

The method according to claim 5, wherein a bit rotation is performed as said swapping operation.

### Claim 7

The method according to one of the preceding claims, wherein a number (P) of memory blocks (Bp) is used that is a power of two.

### Claim 8

The method according to one of the preceding claims, wherein memory blocks (Bp) are used that are accessible simultaneously and independently from each other.

### Claim 9

An arrangement (A) for accessing matrix elements, comprising a plurality of memory blocks (Bp) and a memory controller (C) connected to said memory blocks (Bp), wherein the memory controller (C), in case of accesses to two matrix elements that are adjacent in a row or in a column of a matrix and that are each specified by a respective relative address (ar, ac), performs a first sub-access for the first of said elements in a first memory block (Bp1) using a first local address (a′1) and a second sub-access for the second of said elements in a different second memory block (Bp2) using a second local address (a′2).

### Claim 10 (depends on 9)

The arrangement (A) according to claim 9, wherein for each of said matrix elements said memory controller determines said respective memory block (Bp) and/or said respective local address (a′) with said respective relative address (ar, ac).

### Claim 11 (depends on 9, 10)

The arrangement (A) according to claim 9 or 10, wherein the number (P) of memory blocks (Bp), the width (M) of the matrix and the height (N) of the matrix are powers of two.

### Claim 12 (depends on 9, 10, 11)

The arrangement (A) according to one of the claims 9 to 11, wherein said first memory block (Bp1) and said second memory block (Bp2) are accessible simultaneously and independently from each other.
