Joris van Rantwijk
688bda983d
Trivium: Fix mistake in initialization.
...
* Only 1152 *bits* must be discarded after seeding, not 1152 output words.
* Add URL of Trivium specification.
2016-11-20 22:23:32 +01:00
Joris van Rantwijk
e39568c6f4
Set initial values for signals.
...
* Initialize signals to same values as
assigned during synchronous reset.
2016-11-20 21:19:23 +01:00
Joris van Rantwijk
3ddce8a100
Add Trivium RNG (to be tested).
2016-11-20 21:19:23 +01:00
Joris van Rantwijk
500d8e8b2a
Minor code cleanup for MT19937 and improve testbench.
...
* Optimized seeding strategy now synthesizes for Spartan 6 at 300 MHz.
2016-11-12 22:40:59 +01:00
Joris van Rantwijk
46409ff163
Another possible improvement of MT19937 timing.
2016-11-12 21:42:50 +01:00
Joris van Rantwijk
ddafd29936
Possible improvement of MT19937 timing.
2016-10-30 16:50:00 +01:00
Joris van Rantwijk
369da67b11
Try some ideas to optimize MT19937.
2016-10-30 16:18:57 +01:00
Joris van Rantwijk
c2142a0c09
Refactor MT19937 RNG:
...
* Change port interface towards valid/ready stream concept.
* Build 3-stage pipeline into initialization to hopefully improve timing.
* TODO : carefully test if initialization is correct in all scenarios
* TODO : synthesis run to see if timing is now reasonable
2016-10-21 22:39:51 +02:00
Joris van Rantwijk
b498a1e543
Rename entity xoroshiro128 and change interface.
...
* Rename to rng_xoroshiro128plus
* Change interface to valid/ready-based stream (not tested).
2016-10-21 13:12:02 +02:00
Joris van Rantwijk
8642b7291e
Add LGPL license statement to Xoroshiro RTL.
2016-10-21 12:44:24 +02:00
Joris van Rantwijk
5303c34431
Initial commit:
...
* Xoroshiro128+ (works, tested)
* MT19337 (work in progress)
* Test benches
* Reference C code.
2016-10-21 11:31:26 +02:00