Commit Graph

34 Commits

Author SHA1 Message Date
Joris van Rantwijk 9f5c69c9cc Add optional pipeline stage in xoshiro128++ 2020-08-14 11:48:26 +02:00
Joris van Rantwijk d8acfbe985 Add new files to list in README 2020-08-13 16:47:46 +02:00
Joris van Rantwijk 3acd8b3043 Rename toplevel stub entity for xoroshiro128+ 2020-08-13 16:29:31 +02:00
Joris van Rantwijk fc70f906b3 Add xoshiro128++ generator 2020-08-13 16:24:04 +02:00
Joris van Rantwijk 9c5e076644 Add Spartan-7 synthesis results for Trivium 2020-08-11 20:20:52 +02:00
Joris van Rantwijk 2085470db4 Update xoroshiro128+ to 1.0 version 2020-08-11 18:13:48 +02:00
Joris van Rantwijk e92ed9ea54 Minor textual changes. 2016-11-29 21:07:30 +01:00
Joris van Rantwijk e5cbb260cd Minor cleanup of Makefile. 2016-11-29 21:07:30 +01:00
Joris van Rantwijk 317db19e2f Trivium: Synthesis testrun. 2016-11-29 00:15:35 +01:00
Joris van Rantwijk c695860db8 README: Add notes about Trivium. 2016-11-28 20:14:35 +01:00
Joris van Rantwijk 09beb03631 Trivium: Fix bugs in testbench, add more test vectors. 2016-11-28 19:57:42 +01:00
Joris van Rantwijk eca4097d59 Trivium: Add VHDL test bench. 2016-11-28 19:57:42 +01:00
Joris van Rantwijk 5fbe51dff5 Minor textual change in README. 2016-11-24 23:39:37 +01:00
Joris van Rantwijk 8ce0452418 Trivium: Flip bit-order.
* Flip bit-order of output such that index 0 is the earliest generated bit.
* Flip bit-order of key and IV to be compatible with final Trivium reference
  implementation on ECRYPT website.
2016-11-24 00:23:35 +01:00
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