This is an old revision of the document!


Verilog Mersenne Twister PRNG

Introduction

Mersenne Twister PRNG with an AXI4-Stream interface. Data can be read out on every cycle after seeding completes, resulting in 11.2 Gbps when running at 175 MHz. Includes both 32 bit (mt19937ar) and 64 bit (mt19937-64) implementations along with original C and Python implementations. Includes full MyHDL testbench with intelligent bus cosimulation endpoints.

32 bit version on a Spartan 6: 175 MHz, 4 BRAMs, 226 FFs, 412 LUTs

64 bit version on a Spartan 6: 175 MHz, 4 BRAMs, 388 FFs, 829 LUTs

Repository