# US 2004/0064667 A1 · Method and system for providing a contiguous memory address space

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

- Number: US 2004/0064667 A1
- Document ID: US20040064667A1
- Status: Published application
- Kind: A1
- Application number: 10/255,399
- Filed: 2002-09-26
- Published: 2004-04-01
- Earliest claimed: 2002-09-26
- Assignees: Analog Devices, Inc.
- Inventors: Thomas A. Volpe; Michael S. Allen; Aaron Bauch
- Web page: https://patentgrep.com/patent/US20040064667A1

## CPC

- G06F 12/0653: {with centralised address assignment}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory system and a method for operating a memory system are provided. The memory system includes a set of memory banks, logic for calculating a first address in each memory bank from the set of memory banks and a controller receiving a transfer address from a computing device. The controller includes logic for selecting a memory bank from the set of memory banks based on the transfer address and the first addresses of the memory banks, and for mapping the transfer address to a target address in the selected memory bank based on a first address in the selected memory bank. As a result, the set of memory banks has a contiguous memory space.

## Claims

### Claim 1

A method for operating a memory system comprising a set of memory banks and a memory controller, said method comprising:
selecting a memory bank from the set of memory banks based on a transfer address and indicators of sizes of the memory banks; and
mapping the transfer address to a target address in the selected memory bank based on a first address in the selected memory bank, wherein the set of memory banks has a contiguous memory space.

### Claim 2 (depends on 1)

The method of claim 1, wherein selecting the memory bank comprises subtracting the indicators of the sizes of the memory banks from bits in the transfer address.

### Claim 3 (depends on 2)

The method of claim 2, wherein selecting the memory bank further comprises selecting a memory bank with the largest first address for which results of the subtraction are positive.

### Claim 4 (depends on 2)

The method of claim 2, wherein the subtracting is performed in parallel.

### Claim 5 (depends on 4)

The method of claim 4, wherein the indicator of the size of a memory bank is a subset of bits in a first address in the next memory bank.

### Claim 6 (depends on 1)

The method of claim 1, further comprising computing a first address in each of the memory banks in the set of memory banks.

### Claim 7 (depends on 6)

The method of claim 6, wherein computing a first address in a memory bank comprises adding contents of a size register for a previous memory bank to a first address in the previous memory bank.

### Claim 8 (depends on 1)

The method of claim 1, further comprising enabling the selected memory bank.

### Claim 9 (depends on 1)

The method of claim 1, further comprising returning an error if the selected memory bank is disabled.

### Claim 10 (depends on 1)

The method of claim 1, further comprising computing an indicator of a size of total memory available.

### Claim 11 (depends on 10)

The method of claim 10 further comprising:
subtracting the indicator of the size of the total memory available from appropriate bits of the address; and
returning an error if result of the subtraction is positive.

### Claim 12 (depends on 1)

The method of claim 1, wherein mapping the transfer address to the selected memory bank address further comprises subtracting a subset of bits in the first address in the selected memory bank from the transfer address.

### Claim 13

A memory system comprising:
a set of memory banks;
logic for calculating a first address in each memory bank from the set of memory banks; and
a controller receiving a transfer address from a computing device, said controller comprising logic for selecting a memory bank from the set of memory banks based on the transfer address and the first addresses of the memory banks and for mapping the transfer address to a target address in the selected memory bank based on a first address in the selected memory bank, wherein the set of memory banks has a contiguous memory space.

### Claim 14 (depends on 13)

The memory system of claim 13, wherein the logic for calculating a first address in each memory bank comprises adders for adding an indicator of a size of a previous memory bank to appropriate bits in a first address in the previous memory bank.

### Claim 15 (depends on 14)

The memory system of claim 14, further comprising a set of registers containing indicators of memory bank sizes.

### Claim 16 (depends on 15)

The memory system of claim 15, wherein an indicator of a size of a memory bank for each memory bank is w bits wide, where w is a number of bits sufficient to represent all allowed memory bank sizes.

### Claim 17 (depends on 16)

The memory system of claim 16, wherein w=k−s+n where 2k is the largest allowed bank size and 2s is the smallest allowed bank size, and wherein 2n is the closest approximation of the number of memory banks.

### Claim 18 (depends on 13)

The memory system of claim 13, wherein the logic for selecting the memory bank comprises subtractors for subtracting a subset of bits of the first addresses of the memory banks from bits of the transfer address.

### Claim 19 (depends on 18)

The memory system of claim 18, wherein the selected memory bank is a memory bank with the largest first address for which results of the subtraction are positive.

### Claim 20 (depends on 13)

The memory system of claim 13, further comprising logic for enabling the selected memory bank.

### Claim 21 (depends on 13)

The memory system of claim 13, wherein the controller further comprises logic for determining a target address in the selected memory bank.

### Claim 22 (depends on 21)

The memory system of claim 21, wherein the logic for determining the target address in the selected memory bank further comprises a subtractor for subtracting a subset of bits of a first address in the selected memory bank from a subset of bits in the transfer address.

### Claim 23 (depends on 13)

The memory system of claim 13, wherein the controller further comprises logic to return an error if the selected memory bank is disabled.

### Claim 24 (depends on 13)

The memory system of claim 13, wherein the controller further comprises logic to return an error if the transfer address is outside of an available range of addresses.

### Claim 25 (depends on 24)

The memory system of claim 24, wherein the logic to return an error if the address is outside of the available range further comprises
a subtractor to subtract an indicator of total available memory size from a subset of bits of the transfer address, and
logic to return the error if result of the subtraction is positive.

### Claim 26

A memory system comprising:
a set of memory banks; and
a memory controller including:
means for selecting a memory bank from the set of memory banks based on a transfer address and indicators of sizes of the memory banks; and
means for determining a target address based on the transfer address and a first address in the selected memory bank, wherein the set of memory banks has a contiguous memory space.

### Claim 27 (depends on 26)

The system of claim 26, wherein said means for selecting a memory bank further comprises means for subtracting the indicators of the sizes of the memory banks from bits in the transfer address.

### Claim 28 (depends on 26)

The system of claim 26, further comprising means for computing a first address in a memory bank for each of the memory banks in the set of memory banks.

### Claim 29 (depends on 28)

The system of claim 28, wherein the means for computing a first address in a memory bank comprises means for adding contents of a size register for a previous memory bank to a first address in the previous memory bank.

### Claim 30 (depends on 26)

The system of claim 26, further comprising means for returning an error if the target memory bank is disabled.

### Claim 31 (depends on 26)

The system of claim 26, wherein the means for determining a target memory bank address further comprises means for subtracting the first address in the selected memory bank from the transfer address.
