A spin-based true random number generator exploiting the stochastic precessional switching of nanomagnets

Nikhil Rangarajan, Arun Parthasarathy, Shaloo Rakheja

Research output: Contribution to journalArticlepeer-review


In this paper, we propose a spin-based true random number generator (TRNG) that uses the inherent stochasticity in nanomagnets as the source of entropy. In contrast to previous works on spin-based TRNGs, we focus on the precessional switching strategy in nanomagnets to generate a truly random sequence. Using the NIST SP 800-22 test suite for randomness, we demonstrate that the output of the proposed TRNG circuit is statistically random with 99% confidence levels. The effects of process and temperature variability on the device are studied and shown to have no effect on the quality of randomness of the device. To benchmark the performance of the TRNG in terms of area, throughput, and power, we use SPICE (Simulation Program with Integrated Circuit Emphasis)-based models of the nanomagnet and combine them with CMOS device models at the 45 nm technology node. The throughput, power, and area footprints of the proposed TRNG are shown to be better than those of existing state-of-the-art TRNGs. We identify the optimal material and geometrical parameters of the nanomagnet to minimize the energy per bit at a given throughput of the TRNG circuit. Our results provide insights into the device-level modifications that can yield significant system-level improvements. Overall, the proposed spin-based TRNG circuit shows significant robustness, reliability, and fidelity and, therefore, has a potential for on-chip implementation.

Original languageEnglish (US)
Article number223905
JournalJournal of Applied Physics
Issue number22
StatePublished - Jun 14 2017

ASJC Scopus subject areas

  • General Physics and Astronomy


Dive into the research topics of 'A spin-based true random number generator exploiting the stochastic precessional switching of nanomagnets'. Together they form a unique fingerprint.

Cite this