# US 2022/0283943 A1 · High-throughput software-defined convolutional interleavers and de-interleavers

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

- Number: US 2022/0283943 A1
- Document ID: US20220283943A1
- Status: Published application
- Kind: A1
- Application number: 17/193,354
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: The Aerospace Corporation
- Applicants: The Aerospace Corporation
- Inventors: Eugene Grayver; Mark Kubiak
- Web page: https://patentgrep.com/patent/US20220283943A1

## CPC

- H03M 13/2732: {Convolutional interleaver; Interleavers using shift-registers or delay lines like, e.g. Ramsey type interleaver}
- G06F 12/0607: {Interleaved addressing}
- G06F 12/0813: with a network or matrix configuration
- G06F 12/0842: for multiprocessing or multitasking
- G06F 12/0857: {by multiple requestors}
- G06F 17/153: {Multidimensional correlation or convolution}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 2212/1016: Performance improvement
- G06F 2212/454: Vector or matrix data
- G06F 2212/603: of operating mode, e.g. cache mode or local memory mode
- H03M 13/2782: {Interleaver implementations, which reduce the amount of required interleaving memory}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

High-throughput software-defined convolutional interleavers and de-interleavers are provided herein. In some examples, a method for generating convolutionally interleaved samples on a general purpose processor with cache is provided. Memory is represented as a three dimensional array, indexed by block number, row, and column. Input samples may be written to the cache according to an indexing scheme. Output samples may be generated every MN samples by reading out the samples from the cache in a transposed and vectorized order.

## Claims

### Claim 1

A method for generating convolutionally interleaved samples on a general purpose processor with cache, wherein memory is represented as a three dimensional array, indexed by block number, row, and column.

### Claim 2 (depends on 1)

The method of claim 1, wherein input samples are written to the cache according to an indexing scheme.

### Claim 3 (depends on 2)

The method of claim 2, wherein output samples are generated every MN samples by reading out the samples from the cache in a transposed and vectorized order.

### Claim 4 (depends on 1)

The method of claim 1, wherein input samples are written in chunks of MQ samples.

### Claim 5 (depends on 4)

The method of claim 4, where a parameter Q (1<Q<N) is selected to maximize throughput by balancing the amount of computation (arithmetic) and the probability of cache hit.

### Claim 6 (depends on 1)

The method of claim 1, wherein the method is performed by two or more threads operating on different blocks of memory.

### Claim 7 (depends on 6)

The method of claim 6, wherein an additional thread is used to provide samples to each of the two or more threads and to concatenate and output results from the two or more threads.

### Claim 8

A method for deinterleaving convolutionally interleaved samples on a general purpose processor with cache, wherein memory is represented as a three dimensional array, indexed by block number, row, and column.

### Claim 9

A method for processing a stream of time ordered samples of a signal, the method being performed by at least one computer processor core in operable communication with memory, the method comprising:
(a) writing a subset of the samples to memory blocks such that temporally adjacent samples are written to different memory blocks than one another, and at least some non-temporally adjacent samples are written to the same memory blocks as one another, wherein the memory includes M memory blocks each of dimension MN;
(b) generating a vector by reading out the samples from at least one of the memory blocks; and
(c) repeating operations (a) and (b) for additional subsets of the samples and additional memory blocks to generate a sequence of vectors forming a stream of convolutionally interleaved samples of the signal.

### Claim 10 (depends on 9)

The method of claim 9, wherein a portion of operation (a) and a portion of operation (b) are performed by a first processor core, and another portion of operation (a) and another portion of operation (b) are performed by a second processor core.

### Claim 11 (depends on 10)

The method of claim 10, further comprising, by a third processor core:
(d) receiving the vector of the samples generated in operation (b) by the first processor core and the vector of the samples generated in operation (b) from the second processor core;
(e) concatenating the vectors of operation (d) to generate a portion of the stream of convolutionally interleaved samples of the signal;
(f) outputting to the first processor core a portion of one of the additional subsets of the samples and outputting to the second processor core another portion of one of the additional subsets of the samples; and
(g) repeating operations (d) through (f), synchronously with operations (a) and (b), for the additional subsets of the samples.

### Claim 12 (depends on 9)

The method of claim 9, wherein a size of the subset of the samples is selected to fit entirely within cache of the at least one computer processor core.

### Claim 13 (depends on 9)

The method of claim 9, wherein operation (a) comprises:
in a first memory block, writing a first sample of the subset to a first location;
in a second memory block, writing a second sample of the subset to a first location that is shifted within the second memory block relative to the first location within the first memory block; and
in a third memory block, writing a third sample of the subset to a first location that is shifted within the third memory block relative to the first location within the first memory block and relative to the first location within the second memory block.

### Claim 14 (depends on 13)

The method of claim 13, wherein:
the first location within the first memory block is MiNj;
the first location within the second memory block is Mi+1Nj; and
the first location within the third memory block is Mi+2Nj.

### Claim 15 (depends on 13)

The method of claim 13, wherein operation (a) comprises:
in the first memory block, writing an Mth sample of the subset to a second location;
in the second memory block, writing an (M+1)th sample of the subset to a second location that is shifted within the second memory block relative to the second location within the first memory block; and
in the third memory block, writing an (M+2)th sample of the subset to a second location that is shifted within the third memory block relative to the second location within the first memory block and relative to the second location within the second memory block.

### Claim 16 (depends on 9)

The method of claim 9, wherein operation (b) is performed responsive to respective rows of the memory blocks being respectively filled with the samples of the subset being written to them.

### Claim 17 (depends on 16)

The method of claim 16, wherein:
operation (b) is performed responsive to row Mi of a first memory block being filled, row Mi+1 of a second memory block being filled, and row Mi+2 of a third memory block being filled.

### Claim 18 (depends on 9)

The method of claim 9, wherein operation (b) comprises transposing and vectorizing the one of the memory blocks.

### Claim 19 (depends on 18)

The method of claim 18, wherein the one of the memory blocks comprises locations that have been initialized but to which a sample has not yet been written.

### Claim 20 (depends on 9)

The method of claim 9, wherein operation (c) comprises, for at least one of the additional subsets of the samples, writing samples of that subset to the same locations of the memory blocks to which samples were written during operation (a).

### Claim 21 (depends on 9)

The method of claim 9, wherein the computer processor core comprises a central processing unit (CPU) or a graphical processing unit (GPU).

### Claim 22 (depends on 9)

The method of claim 9, wherein each of the samples comprises a multiple-bit sequence.

### Claim 23

A computer-readable medium storing instructions for execution by at least one computer processor core in operable communication with memory, the instructions being for causing the at least one computer processor core to perform operations comprising:
(a) writing a subset of the samples to memory blocks such that temporally adjacent samples are written to different memory blocks than one another, and at least some non-temporally adjacent samples are written to the same memory blocks as one another, wherein the memory includes M memory blocks each of dimension MN;
(b) generating a vector by reading out the samples from at least one of the memory blocks; and
(c) repeating operations (a) and (b) for additional subsets of the samples and additional memory blocks to generate a sequence of vectors forming a stream of convolutionally interleaved samples of the signal.

### Claim 24

A method for processing a stream of convolutionally interleaved samples of a signal, the method being performed by at least one computer processor core in operable communication with memory, the method comprising:
(a) writing a subset of the samples to memory blocks such that at least some temporally adjacent samples are written to the same memory blocks as one another, and at least some non-temporally adjacent samples are written to different memory blocks as one another, wherein the memory includes M memory blocks each of dimension MN;
(b) generating a vector by reading out the samples from at least one of the memory blocks; and
(c) repeating operations (a) and (b) for additional subsets of the samples and additional memory blocks to generate a sequence of vectors forming a stream of time ordered samples of the signal.

### Claim 25

A computer-readable medium storing instructions for execution by at least one computer processor core in operable communication with memory, the instructions being for causing the at least one computer processor core to perform operations comprising:
(a) writing a subset of the samples to memory blocks such that at least some temporally adjacent samples are written to the same memory blocks as one another, and at least some non-temporally adjacent samples are written to different memory blocks as one another, wherein the memory includes M memory blocks each of dimension MN;
(b) generating a vector by reading out the samples from at least one of the memory blocks; and
(c) repeating operations (a) and (b) for additional subsets of the samples and additional memory blocks to generate a sequence of vectors forming a stream of time ordered samples of the signal.
