diff options
Diffstat (limited to 'src/rtl')
-rw-r--r-- | src/rtl/external_avalanche_entropy.v | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rtl/external_avalanche_entropy.v b/src/rtl/external_avalanche_entropy.v index 0916f7c..f7599c5 100644 --- a/src/rtl/external_avalanche_entropy.v +++ b/src/rtl/external_avalanche_entropy.v @@ -63,6 +63,7 @@ module external_avalanche_entropy( //---------------------------------------------------------------- // Registers including update variables and write enable. //---------------------------------------------------------------- + reg noise_sample0_reg; reg noise_sample_reg; reg flank0_reg; @@ -106,7 +107,9 @@ module external_avalanche_entropy( end else begin - noise_sample_reg <= noise; + + noise_sample0_reg <= noise; + noise_sample_reg <= noise_sample0_reg; flank0_reg <= noise_sample_reg; flank1_reg <= flank0_reg; |