Random Number Generator using FPGA David P erez Mart nez Centro - - PowerPoint PPT Presentation

random number generator using fpga
SMART_READER_LITE
LIVE PREVIEW

Random Number Generator using FPGA David P erez Mart nez Centro - - PowerPoint PPT Presentation

Random Number Generator using FPGA David P erez Mart nez Centro de Investigaci on en Computaci on - IPN Introduction A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by a customer.


slide-1
SLIDE 1

Random Number Generator using FPGA

David P´ erez Mart´ ınez

Centro de Investigaci´

  • n en Computaci´
  • n - IPN
slide-2
SLIDE 2

Introduction

◮ A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by a customer. ◮ The FPGA configuration is generally specified using a hardware description language (HDL) [1].

Figure: Digilent Company

slide-3
SLIDE 3

Hardware

Nexys 4 DDR ◮ Inputs

◮ 16 Switches ◮ UART (Rx) ◮ GPIO

◮ Outputs

◮ 16 LEDs ◮ 8 7-Segment Display ◮ 5 Push Buttons ◮ UART (Tx)

slide-4
SLIDE 4

FPGA Architecture

◮ Control Unit

◮ Read inputs ◮ Execute PRNG algorithm ◮ Show result value in Displays

◮ PRNG

◮ Linear congruential generator [2] ◮ Xn+1 = (aXn + c)mod(m), where ◮ m - the ”modulus” ◮ a - the ”multiplier” ◮ c - the ”increment” ◮ X0 - the ”seed”

slide-5
SLIDE 5

Sequence Diagram

Control unit execute all instruction in order to synchronize the architecture.

slide-6
SLIDE 6

Architecture

Figure: Actual architecture

slide-7
SLIDE 7

Task to do

◮ Verify quality of numbers generated using histograms. ◮ Add communication between FPGA and PC (UART) ◮ Store numbers in RAM memory ◮ Program Hadamard Transform.

slide-8
SLIDE 8

Architecture Proposal

Figure: Architecture Proposal

slide-9
SLIDE 9

References I

  • V. A. Pedroni, Circuit Desing with VHDL. 2004.
  • D. Knuth, The Art of Computer Programming. 1997.