Design and Implementation of a True Random Number Generator Based on Digital Circuit Artifacts Michael Epstein 1, Laszlo Hars 2, Raymond Krasinski 1, Martin.

Slides:



Advertisements
Similar presentations
CSET 4650 Field Programmable Logic Devices
Advertisements

Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Sequential MOS Logic Circuits
Computer Science 210 Computer Organization Clocks and Memory Elements.
Digital Design - Sequential Logic Design Chapter 3 - Sequential Logic Design.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D.
Introduction to Sequential Logic Design Bistable elements Latches.
CP208 Digital Electronics Class Lecture 11 May 13, 2009.
Asynchronous Sequential Logic
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
Sequential Circuits A Basic sequential circuit is nothing but a combinational circuit with some feedback paths between its output and input terminals.
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Chapter 3 Basic Logic Gates 1.
Asynchronous Machines
Chapter 4 Gates and Circuits.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Project 3 Build an Astable Multivibrator
DIGITAL ELECTRONICS CIRCUIT P.K.NAYAK P.K.NAYAK ASST. PROFESSOR SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY.
Comparators  A comparator compares two input words.  The following slide shows a simple comparator which takes two inputs, A, and B, each of length 4.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Digital Integrated Circuits for Communication
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
IPC Digital Circuits Digital circuits are composed of electronic components that can provide state information (1 or 0), as a function of.
DIGITAL ELECTRONICS WHAT IS A DIGITAL CIRCUIT?
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Chapter 4 Gates and Circuits.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Introduction to Digital Design
Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright © 2010 by Oxford University Press, Inc. C H A P T E R 14 Advanced MOS and Bipolar Logic Circuits.
1 UCR Hardware Security Primitives with focus on PUFs Slide credit: Srini Devedas and others.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Flip-Flops and Registers
Design for Testability By Dr. Amin Danial Asham. References An Introduction to Logic Circuit Testing.
An Embedded True Random Number Generator for FPGAs Bebek, Jerry Paul Kohlbrenner Lockheed Martin 3201 Jermantown Road Fairfax, VA 22030, USA
Basic Sequential Components CT101 – Computing Systems Organization.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2012.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Logic Signals and Gates. Binary Code Digital logic hides the pitfalls of the analog world by mapping the infinite set of real values for a physical quantity.
Introduction to Sequential Logic Design Bistable elements.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
Sequential Logic Computer Organization II 1 © McQuain A clock is a free-running signal with a cycle time. A clock may be either high or.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
1 Analog versus Digital Information-bearing signals can be either analog or digital. Analog signal takes on a continuous range of amplitude values. Whereas.
Sequential Devices Sequential concept: output depends on present as well as past inputs Past inputs influence operations via memory elements.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 1 Digital Electronics.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Sequential Logic Design
Digital Design - Sequential Logic Design
A High Speed TRNG Based on SRAM for Resource Constrained Devices
Digital Fundamentals Floyd Chapter 1 Digital concepts Tenth Edition
Introduction Molecules: made up of atoms of individual elements.
Flip Flop.
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Satish Pradhan Dnyanasadhana college, Thane
Timing Analysis 11/21/2018.
CSE 370 – Winter Sequential Logic - 1
Discrete Mathematics CS 2610
Digital Fundamentals Floyd Chapter 1 Tenth Edition
FLIP-FLOPS.
Presentation transcript:

Design and Implementation of a True Random Number Generator Based on Digital Circuit Artifacts Michael Epstein 1, Laszlo Hars 2, Raymond Krasinski 1, Martin Rosner 3 and Hao Zheng 4 (1) Philips Electronics, Philips Intellectual Property and Standards, 345 Scarborough Road, Briarcliff Manor, NY 10510, (2) Seagate Technology, 1251 Waterfront Place Pittsburgh, PA 15222, (3) Philips Electronics, Philips Research, 345 Scarborough Road, Briarcliff Manor, NY 10510, (4) ActiveEye, 286 Broadway, Pleasantville, NY 10570, Presented by: Karandeep Singh

ENEE 698B2 Introduction True random numbers are critical in many applications –Cryptography –Statistical sampling –Simulations Current random number generators are difficult to integrate in ICs –‘Analog Noise’ based random number generators are not area or power efficient –Generators based on other physical phenomena don’t provide easy interface to electronic devices

ENEE 698B3 Background Authors propose a random number generator that consists of only digital circuit elements –Uses elements from standard libraries –Utilizes standard placement tools Designed and implemented a prototype chip with nine distinct random number generators Generated numbers were tested using the ‘DIEHARD’ suite of tests

ENEE 698B4 Circuit Description Design consists of two inverters and four switches Based on switch positions, circuit can either be a pair of ring oscillators or a bi-stable memory device

ENEE 698B5 Basic Concepts - Metastability Digital circuits are normally predictable, but under certain conditions they are unpredictable Digital flip-flop or a latch may exhibit unpredictable behavior (metastability) in response to certain inputs –Pair of logic gates with feedback –Have unpredictable or oscillatory output for certain inputs Three uncertainties –Whether circuit will enter a metastable state –The final state the flip-flop would settle into –Length of time that circuit remains metastable

ENEE 698B6 Metastability Recovery from metastable state displayed on a TDS7254 Tektronix oscilloscope Lower intensity (lighter traces) shows more frequent signal traces

ENEE 698B7 Basic Concepts - Oscillator jitter and drift Clock period is never a precise constant, the oscillating signal has slight changes of phase –Such perturbations are called jitter –Some components of jitter are random Design uses two free-running oscillators, which are allowed to drift from each other Resulting phase jitter utilized as a source of randomness Instantaneous voltage is latched by a digital bi-stable circuit, capturing the random state

ENEE 698B8 Theory of Operation Because of positive feedback the outputs of the inverters eventually resolve, by clipping, to a consistent logic state This final logic state creates one random bit. Switches 1 and 4 are closed while switches 2 and 3 are open: inverters form two independent, free-running ring oscillators Switches 1 and 4 are opened while switches 2 and 3 are closed: the connected inverters form a bi-stable memory device

ENEE 698B9 Integrated Circuit Design An IC containing nine distinct styles of RNGs was constructed Each style was replicated in 15 to 31 different varieties for a total of 247 distinct RNGs All gates were drawn from a standard 0.18 micron CMOS library and laid out automatically Every variety from a particular style was also connected to a network of XOR gates – Combines all of the varieties of a style into a single output Selection of various RNG designs was designated through multiple levels of multiplexers

ENEE 698B10 Circuit Details ‘Select’ signal is used to drive the multiplexers that choose between acquisition and oscillation phase of the random number generator –When the select signal is high circuit is in oscillation state and each inverter operates independently –When the select line goes low the circuit is in the bi-stable configuration and resolves to a single value, either a 1 or 0, via metastable oscillations The rising edge of the select signal can be used to acquire the random bit

ENEE 698B11 Data Gathering and Analysis For each RNG, a sequence of 80 megabits was collected Each sequence was submitted to DIEHARD tests for evaluation Collection of 16 tests that produce 215 results (Pvalues) Pvalue = F i (X), i = 1 to 215 –F i seeks to establish a distribution function of sample random variable X For a random sequence only few Pvalues of should be close to 0 or 1

ENEE 698B12 Results Only two designs passed the DIEHARD tests

ENEE 698B13 Results with Varying Voltage To simulate real world conditions, circuit was tested at various voltages

ENEE 698B14 Conclusions Authors demonstrate a practical and power efficient RNG –Uses standard digital gates –Uses standard layout tools Stable over large changes in operating voltage Likely to have good resistance to attacks by variation in voltage or temperature