aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/trng_csprng_fifo.v
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-05-22 10:34:50 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-05-22 10:34:50 +0200
commitd5974ed0d389f8953b23d98bb69b1576adad27b8 (patch)
treee604e1ade476afbb3e312d3d923d1ec62fcf2913 /src/rtl/trng_csprng_fifo.v
parent92790f3b539f275a060ca6bd4e2d91a9e5b13718 (diff)
(1) Added a cipher block statistics counter. (2) Cleaned up the csprng code and connected discard for fast restart of trng. (3) Added addresses for allowing API to write a known seed to allow test mode. (3) Fixed a number of minor issues during linting. (4) Fixed the csprng testbench to actually generate data as well as displaying the block stat counter.
Diffstat (limited to 'src/rtl/trng_csprng_fifo.v')
-rw-r--r--src/rtl/trng_csprng_fifo.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/trng_csprng_fifo.v b/src/rtl/trng_csprng_fifo.v
index 9c52ef5..1f91802 100644
--- a/src/rtl/trng_csprng_fifo.v
+++ b/src/rtl/trng_csprng_fifo.v
@@ -447,7 +447,7 @@ module trng_csprng_fifo(
begin
if (!fifo_full)
begin
- more_data_new = 1;
+ more_data_new = 1'b1;
end
if (csprng_data_valid)