An FPGA-actuated MTJ True Random Number Generator with Probability Modulation

ORAL

Abstract

Random number generation is important for a variety of applications, such as Monte Carlo simulations that require large quantities of random bits with precise probability. Recently, we have shown using perpendicular nanopillar magnetic tunnel junctions (pMTJs) with Field Programmable Gate Arrays (FPGAs), true random number generation (TRNG) can be achieved at 5MHz using one XOR operation done in postprocessing of the data. One challenge of high-volume TRNG with pMTJs is an observed drift in probability bias across several hours of data collection. To compensate for this and improve the precision of our bitstream, we introduce XOR and a feedback loop on the FPGA board to modulate the write voltage over the course of data collection. With feedback and XOR, we generated 10^12 random bits. Our data collected with feedback passes the NIST statistical tests for randomness, and we perform further FFT and Chi-squared testing to check for correlations between bits. FPGA pulse modulation also allows us to quickly tune the switching probability of the junction with precision within ±0.5 percent before XOR. We further demonstrate that pulse modulation can consistently create bitstreams with an extremely low switching probability of 1 in 10 million, useful for simulations of rare events.

*This research was supported by the Office of Naval Research (ONR) under Award No.N00014-23-1-2771 and NSF-DMR-2105114.

Publication: One Trillion True Random Bits Generated with a Field Programmable Gate Array Actuated Magnetic Tunnel Junction; DOI: 10.1109/LMAG.2024.3416091 IEEE Magnetics Letters, Volume 15, 4500304

Presenters

  • Troy Criss

    • New York University (NYU)

Authors

  • Troy Criss

    • New York University (NYU)
  • Andrew D Kent

    • New York University (NYU)
    • Center for Quantum Phenomena, Department of Physics, New York University, New York, 10003, USA
  • Andrew Haas

    • New York University (NYU)
  • Andre Dubovskiy

    • New York University (NYU)
  • Ahmed Sidi El Valli

    • New York University (NYU)
    • New York University
  • Ahmed Sidi El Valli

    • New York University (NYU)
    • New York University
  • Naomi Li

    • New York University (NYU)