# US 9,356,602 B1 · Management of memory resources in a programmable integrated circuit

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

- Number: US 9,356,602 B1
- Document ID: US9356602B1
- Status: Granted
- Kind: B1
- Application number: 14/712,744
- Filed: 2015-05-14
- Granted: 2016-05-31
- Earliest claimed: 2015-05-14
- Assignees: Xilinx, Inc.
- Applicants: Xilinx, Inc.
- Inventors: Luis E. Bielich; Robert E. Nertney
- Web page: https://patentgrep.com/patent/US9356602B1

## CPC

- H03K 19/1776: for memories
- G06F 9/5016: {the resource being the memory}
- G06F 11/1064: {in cache or content addressable memories}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 12/0615: {Address space extension}
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- G06F 13/1694: {Configuration of memory controller to different memory types}
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- H03K 19/0008: {Arrangements for reducing power consumption}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/084: with a shared cache
- G06F 12/0864: using pseudo-associative means, e.g. set-associative or hashing
- G06F 12/10: Address translation
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/206: Memory mapped I/O
- G06F 2212/2515: being configurable for different purposes, e.g. as cache or non-cache memory
- G06F 2212/6042: Allocation of cache space to multiple users or processors
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach for management of memory in a programmable integrated circuit (IC) includes configuring a memory map of the programmable IC with an association of a first subset of addresses of memory address space of the programmable IC and physical memory of the programmable IC. The memory map is further configured with an association of a second subset of addresses of the memory address space and a virtual memory block. At least a portion of a cache memory of the programmable IC is locked to the second subset of addresses.

## Claims

### Claim 1

A method of managing memory in a programmable integrated circuit (IC), comprising:
configuring a memory map of the programmable IC with an association of a first subset of addresses of memory address space of the programmable IC to physical memory of the programmable IC;
configuring the memory map with an association of a second subset of addresses of the memory address space to a virtual memory block; and
locking at least a portion of a cache memory of the programmable IC to the second subset of addresses.

### Claim 2 (depends on 1)

The method of claim 1, further comprising implementing the virtual memory block as a circuit on the programmable IC, wherein the circuit that implements the virtual memory block returns a constant value in response to any input address in the second subset of addresses.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
accessing the locked portion of the cache memory in response to a memory access request that references an address in the second subset of addresses; and
bypassing updating of the physical memory for updates to the locked portion of the cache memory.

### Claim 4 (depends on 1)

The method of claim 1, wherein the locking includes locking one or more ways of a plurality of ways of the cache memory.

### Claim 5 (depends on 1)

The method of claim 1, wherein the cache memory is a second-level cache.

### Claim 6 (depends on 1)

The method of claim 1, wherein the programmable IC has a processor subsystem and a programmable logic subsystem, a second-level cache in the processor subsystem, a portion of the address space assigned to physical memory in the programmable logic subsystem, and the second subset of addresses associated with a subset of the portion of the address space assigned to physical memory in the programmable logic subsystem.

### Claim 7 (depends on 6)

The method of claim 6, further comprising implementing the virtual memory block as a circuit in the programmable logic subsystem, wherein the circuit that implements the virtual memory block returns a constant value in response to any input address in the second subset of addresses.

### Claim 8 (depends on 1)

The method of claim 1, further comprising storing a first value in storage elements associated with the addresses of the first subset, and storing a second value in storage elements associated with the addresses of the second subset, wherein the first value indicates that the addresses of the first subset are non-cacheable, and the second value indicates that the addresses of the second subset are cacheable.

### Claim 9 (depends on 1)

The method of claim 1, wherein the locking includes:
storing one or more addresses of the second subset in storage elements associated with one or more ways of the cache memory;
storing a first value in one or more storage elements associated with the one or more ways of the cache memory, wherein the first value in the one or more storage elements indicates that the associated one or more ways are locked to the one or more addresses of the second subset.

### Claim 10 (depends on 1)

The method of claim 1, wherein the cache memory is a multi-way set associative cache, the method further comprising:
implementing the virtual memory block as a circuit on the programmable IC, wherein the circuit that implements the virtual memory block returns a constant value in response to any input address in the second subset of addresses;
selecting one way of the cache memory;
issuing read requests to the virtual memory block at addresses of the second subset of addresses and corresponding to the one way;
storing the constant value returned from the circuit that implements the virtual memory block in memory of the selected one way of the cache memory; and
repeating the selecting, issuing, and storing for one or more other ways of the cache memory.

### Claim 11 (depends on 10)

The method of claim 10, wherein the selecting, issuing, and storing for one or more other ways of the cache memory is repeated until all the ways of the cache memory have been processed.

### Claim 12 (depends on 10)

The method of claim 10, wherein the selecting, issuing, and storing for one or more other ways of the cache memory is repeated for fewer than all the ways of the cache memory.

### Claim 13 (depends on 10)

The method of claim 10, further comprising implementing the virtual memory block as a circuit on the programmable IC, wherein the circuit that implements the virtual memory block returns a constant value in response to any input address in the second subset of addresses.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
accessing the locked portion of the cache memory in response to a memory access request that references an address in the second subset; and
bypassing updating of the physical memory for updates to the locked portion of the cache memory.

### Claim 15 (depends on 10)

The method of claim 10, further comprising storing a first value in storage elements associated with the addresses of the first subset, and storing a second value in storage elements associated with the addresses of the second subset, wherein the first value indicates that the addresses of the first subset are non-cacheable, and the second value indicates that the addresses of the second subset are cacheable.

### Claim 16

A programmable integrated circuit (IC), comprising:
a processor subsystem including memory circuitry that implements a first portion of memory address space of the programmable IC;
a programmable logic subsystem including programmable logic circuitry and memory circuitry that implements a second portion of the memory address space;
a cache circuit coupled to the memory circuitry of the processor subsystem and to the memory circuitry of the programmable logic subsystem; and
a virtual memory block circuit implemented in the programmable logic circuitry, wherein the virtual memory block circuit is responsive to addresses of a subset of the second portion of the memory address space;
wherein:
the cache circuit includes lock storage elements and tag storage elements associated with storage blocks of the cache circuit,
a plurality of the tag storage elements are configured with addresses of the subset of the second portion of the memory address space, and
one or more of the lock storage elements are configured with a first value that indicates that one or more associated storage blocks are locked to the addresses of the subset of the second portion of the memory address space in the plurality of tag storage elements.

### Claim 17 (depends on 16)

The programmable IC of claim 16, wherein:
the processor subsystem includes flag storage elements associated with the addresses of memory address space;
a first subset of the flag storage elements are configured with a first value that indicates that caching of data from the first portion of the memory address space is disabled; and
a second subset of the flag storage elements are configured with a second value that indicates that caching of data from the second portion of memory address space is enabled.

### Claim 18 (depends on 16)

The programmable IC of claim 16, wherein the virtual memory block circuit is configured to return a constant value in response to any input address in the subset of the second portion of the memory address space.

### Claim 19 (depends on 16)

The programmable IC of claim 16, wherein the cache circuit is configured and arranged to:
access a storage block locked to an address of the subset of the second portion of the memory address space in response to a memory access request that references the address in the subset of the second portion of the memory address space; and
bypass updating of the physical memory for an update to the storage block locked to the address of the subset of the second portion of the memory address space.

### Claim 20 (depends on 16)

The programmable IC of claim 16, wherein the processor subsystem includes a first-level cache coupled to the cache circuit, and the cache circuit is a second-level cache.
