# US 2015/0178185 A1 · Technique for Controlling Memory Accesses

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

- Number: US 2015/0178185 A1
- Document ID: US20150178185A1
- Status: Published application
- Kind: A1
- Application number: 14/419,942
- Filed: 2012-08-06
- Published: 2015-06-25
- Earliest claimed: 2012-08-06
- Assignees: Telefonaktiebolaget L M Ericsson (publ)
- Inventors: Juergen Voelkl; Winfried Wolff
- Web page: https://patentgrep.com/patent/US20150178185A1

## CPC

- G06F 12/023: {Free address space management}
- G06F 13/1663: {Access to shared memory}
- G11C 7/1075: {for multiport memories each having random access ports and serial ports, e.g. video RAM}
- G06F 2212/1044: Space efficiency improvement
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A technique for controlling memory accesses of a data stream is provided. The data is streamed between selected ports of a plurality of ports coupled to a memory (110). As to a method aspect of the technique, a pool of ports is selected. The selected ports include a first port (112) and a second port (118) through which data is to be streamed. A portion of the memory (110) is allocated to the pool of ports. The first port (112) is configured for write access to the allocated memory. The second port (118) is configured for read access to the allocated memory. In dependence on a first state indicative of the occurrence of a write access using the first port (112) and a second state indicative of the occurrence of a read access using the second port (118), a further write access using the first port (112) and/or a further read access using the second part (118) is controlled.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of controlling memory accesses for a data stream between selected ports of a plurality of ports coupled to a memory, the method comprising:
selecting a pool of ports including a first port and a second port through which data is to be streamed;
allocating a portion of the memory to the pool of ports, wherein the first port is configured for write access to the allocated memory and the second port is configured for read access to the allocated memory; and
controlling, in dependence on a first state indicative of at least the occurrence of a write access using the first port and a second state indicative of at least the occurrence of a read access using the second port, at least one of a further write access using the first port and a further read access using the second port.

### Claim 22 (depends on 21)

The method of claim 21, wherein the dependence is represented by a filling level of the allocated memory, and the method further comprises:
initializing the filling level; and
updating the filling level in dependence on the first state and the second state.

### Claim 23 (depends on 22)

The method of claim 22, wherein the controlling includes at least one of:
suspending the further read access when the filling level indicates that the allocated memory is empty;
resuming the further read access when the filling level indicates that the allocated memory is not empty;
suspending the further write access when the filling level indicates that the allocated memory is full; and
resuming the further write access when the filling level indicates that the allocated memory is not full.

### Claim 24 (depends on 22)

The method of claim 22, wherein the first state is determined by the first port and the second state is determined by the second port, the method further comprising:
linking the first port and the second port for mutually exchanging the first state and second state.

### Claim 25 (depends on 22)

The method of claim 22, wherein each of the first and second ports includes a counter indicating the filling level of the allocated portion of the memory.

### Claim 26 (depends on 25)

The method of claim 25, further comprising at least one of
updating the counter of the first port based on the first state and the exchanged second state from the second port; and
updating the counter of the second port based on the second state and the exchanged first state from the first port.

### Claim 27 (depends on 26)

The method of claim 26, wherein the exchanged states are further indicative of a size of the accessed memory.

### Claim 28 (depends on 26)

The method of claim 26, wherein the second port suspends the further read access when its counter indicates a low filling level or an empty allocated portion, and wherein first port suspends the further write access when its counter indicates a high filling level or a full allocated portion.

### Claim 29 (depends on 26)

The method of claim 26, wherein the counter of the second port is at least one of initialized by zero, incremented in response to the exchanged first state, and decremented in response to the determined second state.

### Claim 30 (depends on 26)

The method of claim 26, wherein the counter of the first port is at least one of initialized by a size of the allocated portion, incremented in response to the exchanged second state, and decremented in response to the determined first state.

### Claim 31 (depends on 21)

The method of claim 21, wherein the memory is configured for simultaneous memory access.

### Claim 32 (depends on 21)

The method of claim 21, wherein different data is simultaneously streamed between each of a plurality of pools of ports, each of the pools including corresponding first and second ports.

### Claim 33 (depends on 21)

The method of claim 21, wherein the pool of ports further includes a third port configured for read access to the allocated memory.

### Claim 34 (depends on 21)

The method of claim 21, wherein the ports are connected or connectable to hardware blocks of a mobile communication device so that data is streamed between a selectable pool of the hardware blocks without changing a connection between the hardware blocks and the ports.

### Claim 35

A non-transitory computer-readable medium storing a computer program product comprising program code portions that, when executed a computing device, configure the computing device to control memory accesses for a data stream between selected ports of a plurality of ports coupled to a memory, said computer program code portions including program instructions to configured the computing device to:
select a pool of ports including a first port and a second port through which data is to be streamed;
allocate a portion of the memory to the pool of ports, wherein the first port is configured for write access to the allocated memory and the second port is configured for read access to the allocated memory; and
control, in dependence on a first state indicative of at least the occurrence of a write access using the first port and a second state indicative of at least the occurrence of a read access using the second port, at least one of a further write access using the first port and a further read access using the second port.

### Claim 36

An apparatus for controlling memory accesses for a data stream between selected ports of a plurality of ports coupled to a memory, the apparatus comprising a processing circuit operatively associated with the memory and configured to:
select a pool of ports including a first port and a second port through which data is to be streamed;
allocate a portion of the memory to the pool of ports, wherein the first port is configured for write access to the allocated memory and the second port is configured for read access to the allocated memory; and
control, in dependence on a first state indicative of at least the occurrence of a write access using the first port and a second state indicative of at least the occurrence of a read access using the second port, at least one of a further write access using the first port and a further read access using the second port.

### Claim 37 (depends on 36)

The apparatus of claim 36, further comprising a crossbar switch adapted to selectively link the first port and the second port for mutually exchanging the first state and the second state.

### Claim 38 (depends on 36)

The apparatus of claim 36, wherein the memory includes a plurality of physical memory banks and the apparatus includes a memory access control circuit that is adapted to apply memory accesses of each of the pool and ports not selected in a pool to different memory banks in an interleaved manner.

### Claim 39 (depends on 36)

The apparatus of claim 36, wherein the apparatus includes dedicated streaming flow control circuit for each port of the plurality of ports, and wherein the processing circuit is further adapted to enable the streaming flow control circuits dedicated to the ports selected for the pool.
