# US 2021/0286594 A1 · System, method and apparatus for race-condition true random number generator

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

- Number: US 2021/0286594 A1
- Document ID: US20210286594A1
- Status: Published application
- Kind: A1
- Application number: 16/849,103
- Filed: 2020-04-15
- Published: 2021-09-16
- Earliest claimed: 2020-04-15
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Yee Hui Lee; Boon Hong Oh; David Johnston; David Wheeler
- Web page: https://patentgrep.com/patent/US20210286594A1

## CPC

- G06F 7/588: {Random number generators, i.e. based on natural stochastic processes}
- G06F 15/7807: {System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosure relates to systems, methods and devices to provide race-condition true random number generator (TRNG) for soft intellectual property (IP) in field-programmable gate arrays (FPGAs). In an exemplary embodiment, a pair of long adder chains are raced against one another to complete a full cycle. Due to variances in the silicon, different chains will win each race at different times and thereby produce entropy. A calibration circuit can be used to set up the adder chains in an appropriate initial state to maximize the entropy produced. This structure has been found to be robust to layout changes, and the use of two such adder-chain-pairs reduces interference from other structures. Among others, the soft IP makes adding a robust TRNG to an FPGA much easier without concerns for how the structures are laid out or what other IP is nearby in the layout. The disclosed embodiments reduces the effort to add a TRNG to an FPGA design and improves the robustness of the TRNG making the design FIPS certifiable.

## Claims

### Claim 1

A system on chip (SOC) to generate substantially uniform, nondeterministic data stream, comprising:
a first variable delay chain (VDC) circuitry having a first delay chain and a second delay chain, each of the first and the second delay chains further comprising a respective register array and an adder array, the first VDC circuitry to provide a first race output bit and a second race output bit;
a race condition latch circuitry to select a race output winner from the first and the second race output bits; and
a bit logic circuitry to receive the selected race output winner bit and provide an output bit corresponding to the selected race output;
a register to receive and store output bits corresponding a plurality of selected race outputs, the register to provide an output bit stream periodically;
a concatenator to interleave different output bit streams to provide a partially entropic output bit corresponding to a plurality of selected race outputs; and
an entropy extraction circuitry to convert the partially entropic output bit signal into a substantially uniform, nondeterministic data stream.

### Claim 2 (depends on 1)

The SOC of claim 1, further comprising a second VDC circuitry having a third delay chain and a fourth delay chain, each of the third and the fourth delay chains further comprising a respective register array and an adder array, the second VDC circuitry to provide a third race output bit and a fourth race output bit.

### Claim 3 (depends on 2)

The SOC of claim 2, wherein each of the first and the second VDC circuits has a chain length defined by the number of adders in each respective array.

### Claim 4 (depends on 3)

The SOC of claim 3, wherein the first VDC circuitry has a chain length of L and the second VDC circuitry has a chain length of L+N, and wherein L and N are non-consecutive prime numbers.

### Claim 5 (depends on 2)

The SOC of claim 2, wherein the concatenator alternatingly concatenates serial race output bits.

### Claim 6 (depends on 5)

The SOC of claim 5, further comprising an online health test and calibration circuitry to identify noise in the partially entropic output bit and to calibrate at least one of the first delay chain and a second delay chain to remediate the noise.

### Claim 7 (depends on 1)

The SOC of claim 1, further comprising a delay chain calibration circuitry to induce calibration bits to one of the VDC circuitry to substantially synchronize response time between the first and the second delay chains.

### Claim 8 (depends on 1)

The SOC of claim 1, wherein the race condition latch circuitry is configured to select a race output winner as a function of the duty cycle for the first and the second delay chains.

### Claim 9 (depends on 1)

The SOC of claim 1, wherein the concatenator interleaves different outputs bit streams by alternatingly using output bits from different circuitries.

### Claim 10

A method to generate substantially uniform, nondeterministic data stream, comprising:
generating a first race output bit from a first variable delay chain (VDC) circuitry and generating a second race output bit from a second VDC circuitry, wherein each of the first and the second VDC circuitry having a respective register array and an adder circuitry;
selecting a race output winner from among the first and the second race output bits at a race condition latch circuitry;
providing, at a bit logic circuitry, an output bit corresponding to the selected race output winner bit;
storing output bits corresponding a plurality of selected race outputs at a shift register and providing an output bit stream periodically from the shift register;
interleaving different output bit streams from a plurality of shift registers to provide a partially entropic output bit corresponding to the selected race outputs; and
converting the partially entropic output bit signal into a substantially uniform, nondeterministic data stream at an entropy extraction circuitry.

### Claim 11 (depends on 10)

The method of claim 10, further comprising periodically evaluating the output bits corresponding to the selected race output winner bits at an online health test circuitry to determine a noise level.

### Claim 12 (depends on 11)

The method of claim 11, further comprising comparing the noise level with a predefined noise threshold.

### Claim 13 (depends on 12)

The method of claim 12, calibrating at least one of the register arrays to substantially increase the noise level to increase randomness.

### Claim 14 (depends on 13)

The method of claim 13, further comprising inputting at least one calibration bit into the register array of one of the first or the second VDC circuitries during a calibration mode and continually providing calibration bits to the first or the second VDC circuitries during an operation mode.

### Claim 15 (depends on 13)

The method of claim 13, further comprising affecting a carry bit propagation at one of the first or the second VDC circuitries to substantially increase the noise level.

### Claim 16 (depends on 10)

The method of claim 10, further comprising alternatingly interleaving output bit steams corresponding to a plurality of VDC circuitry outputs.

### Claim 17 (depends on 10)

The method of claim 10, wherein selecting a race output winner further comprises selecting a race output winner as a function of the duty cycle for the first and the second delay chains.

### Claim 18 (depends on 10)

The method of claim 10, wherein interleaving different output bit streams from a plurality of shift registers further comprises alternatingly using output bits from different circuitries.

### Claim 19

A random number generator system, comprising:
a memory circuitry for storing a plurality of instructions;
a processor in communication with the memory circuitry, the processor configured to execute a plurality of instructions, the instructions configured to cause the processor to:
generate a first race output bit from a first variable delay chain (VDC) circuitry and generate a second race output bit from a second VDC circuitry, wherein each of the first and the second VDC circuitry having a respective register array and an adder circuitry;
select a race output winner from among the first and the second race output bits;
provide an output bit corresponding to the selected race output winner bit;
store output bits corresponding a plurality of selected race outputs at a shift register and provide an output bit stream from the shift register;
interleave different output bit streams from a plurality of shift registers to provide a partially entropic output bit corresponding to the selected race outputs; and
convert the partially entropic output bit signal into a substantially uniform, nondeterministic data stream at an entropy extraction circuitry.

### Claim 20 (depends on 19)

The system of claim 19, wherein the instructions further cause the processor to periodically evaluate the output bits corresponding to the selected race output winner bits at an online health test circuitry to determine a noise level.

### Claim 21 (depends on 20)

The system of claim 20, wherein the instructions further cause the processor to compare the noise level with a predefined noise threshold.

### Claim 22 (depends on 21)

The system of claim 21, wherein the instructions further cause the processor to calibrate at least one of the register arrays to substantially increase the noise level.

### Claim 23 (depends on 22)

The system of claim 22, further comprising affecting a carry bit propagation at one of the first or the second VDC circuitries to substantially increase the noise level.

### Claim 24 (depends on 19)

The system of claim 19, further comprising alternatingly interleaving output bit steams corresponding to a plurality of VDC circuitry outputs.

### Claim 25 (depends on 19)

The system of claim 19, wherein selecting a race output winner further comprises selecting a race output winner as a function of the duty cycle for the first and the second delay chains.

### Claim 26 (depends on 19)

The system of claim 19, interleaving different output bit streams from a plurality of shift registers further comprises alternatingly using output bits from different circuitries.
