53 XorShift32

53 : XorShift32

Design renderSelect Project123456789ONSW2
  • Author: Ethan Mahintorabi
  • Description: XorShift32 random number generator
  • GitHub repository
  • Clock: 1000 Hz

How it works

Uses the Xorshift32 algorithm to generate a random 32 bit number. Number is truncated to 3 bits and displayed

How to test

While reset is set, hardware reads in seed value from input bits 2:7 and sets the inital seed as that binary number. After reset is deasserted, the hardware will generate a new number every 1000 clock cycles.

IO

#InputOutput
0clocksegment a
1resetsegment b
2seed_bit0segment c
3seed_bit1segment d
4seed_bit2segment e
5seed_bit3segment f
6seed_bit4segment g
7seed_bit5