Skip to main content
QUICK REVIEW

[Paper Review] Design and Implementation of a High Quality and High Throughput TRNG in FPGA

Cristian Klein, Octavian Creţ|ArXiv.org|Jun 25, 2009
Algorithms and Data CompressionComputer Science5 references6 citations
TL;DR

This paper presents a high-quality, high-throughput true random number generator (TRNG) implemented in FPGA using multiple ring oscillators (ROs) whose outputs are XORed and sampled by a fixed-frequency clock. The design employs a resilience function to extract randomness from biased inputs, achieving cryptographically secure output with minimal resource usage while passing standard statistical tests like DieHard and TestU01.

ABSTRACT

This paper focuses on the design and implementation of a high-quality and high-throughput true-random number generator (TRNG) in FPGA. Various practical issues which we encountered are highlighted and the influence of the various parameters on the functioning of the TRNG are discussed. We also propose a few values for the parameters which use the minimum amount of the resources but still pass common random number generator test batteries such as DieHard and TestU01.

Motivation & Objective

  • To design a high-quality, high-throughput TRNG suitable for low-cost FPGAs, particularly Xilinx Spartan 3E.
  • To address practical implementation challenges in FPGA-based TRNGs, including jitter stability, resource efficiency, and entropy extraction.
  • To identify optimal parameter values (d, r, n, l) that minimize resource usage while ensuring statistical randomness and compliance with standard test batteries.
  • To enable secure cryptographic applications in resource-constrained FPGAs without external components.

Proposed method

  • The TRNG uses multiple ring oscillators (ROs) with slightly different frequencies to generate jitter, which is the primary source of entropy.
  • Outputs from the ROs are XORed together to increase the proportion of jittered transitions relative to flat zones.
  • A fixed-frequency clock samples the XORed output, producing a stream with both deterministic and non-deterministic bits.
  • A resilience function processes the sampled bits, extracting high-quality randomness even when some input bits are predictable.
  • The design includes a clock divider (d) and resilience function depth (r), which control throughput and randomness quality.
  • Parameter tuning (n = number of ROs, l = length of each RO, d = clock divider, r = resilience depth) is used to balance throughput, resource usage, and statistical quality.

Experimental results

Research questions

  • RQ1How can a high-throughput, high-quality TRNG be implemented in a low-cost FPGA with minimal resource usage?
  • RQ2What are the key parameters (d, r, n, l) that influence the statistical quality and throughput of an FPGA-based TRNG?
  • RQ3How does increasing the number of ring oscillators (n) affect the entropy and predictability of the output?
  • RQ4Can the resilience function effectively extract randomness from biased inputs when combined with multiple ROs and sampling?
  • RQ5What trade-offs exist between throughput, resource utilization, and statistical quality in FPGA TRNGs?

Key findings

  • The TRNG design achieves a throughput of up to 12,500 Kbps using d=0, r=2, n=20, l=3, passing all standard statistical tests including DieHard and TestU01.
  • Increasing the number of ring oscillators (n) significantly improves the proportion of jittered transitions, enhancing randomness quality.
  • The resilience function depth (r) is critical: setting r=0 results in correlated bits that fail randomness tests, even with 160 ROs.
  • The clock divider (d) must be sufficiently large to avoid sampling the same flat zone repeatedly; d=0 leads to high correlation when r is small.
  • Parameter l (RO length) has minimal impact on output quality, but l≥3 is recommended to maintain jitter under temperature variations.
  • Using 8 parallel samplers with 20 ROs per sampler (160 total) and no resilience function (r=0) still fails randomness tests, proving that resilience is essential for high-quality output.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.