Joris van Rantwijk
c6c3ef396a
Add C++ implementation of Trivium.
2016-11-23 23:38:51 +01:00
Joris van Rantwijk
a6721cae33
Trivium: Rename in_key, in_iv -> newkey, newiv.
2016-11-21 22:14:51 +01:00
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
654a70d8a0
Create LICENSE.txt
2016-11-13 08:49:06 +01:00
Joris van Rantwijk
46046beac2
Add README.txt.
2016-11-13 08:41:35 +01:00
Joris van Rantwijk
8cf9ca1673
Rename entities of top-level synthesis wrappers.
...
Two entities named 'top' causes problems for the synthesizer.
2016-11-12 23:01:49 +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
6aac5c6356
Add top-level wrapper designs for synthesis testing.
2016-10-24 00:00:57 +02: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
404c307f62
Test bench for Xoroshiro128plus:
...
* Update tb_xoroshiro128plus for new interface.
* Add Makefile for testbenches with GHDL.
2016-10-21 13:54:42 +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
c2dcd6d9ca
Add Makefile for software reference code.
2016-10-21 12:01:30 +02:00
Joris van Rantwijk
f18f76d42e
Copyright/license on C/C++ code.
2016-10-21 11:52:46 +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