diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-07-18 12:00:22 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-07-18 12:00:22 +0200 |
commit | 5557b9dd7f660bddd36b2713ebfe5aa5b4417904 (patch) | |
tree | f81fc4dd8053d32afe3e34243127044fad9206d8 /src | |
parent | a3f303be2959f3142feacd6328e9dfdc960e09d6 (diff) |
Read out all data in the fifo by looking at the syn flag. The fifo simulates ok.
Diffstat (limited to 'src')
-rw-r--r-- | src/tb/tb_csprng_fifo.v | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tb/tb_csprng_fifo.v b/src/tb/tb_csprng_fifo.v index aedcbbe..a2db466 100644 --- a/src/tb/tb_csprng_fifo.v +++ b/src/tb/tb_csprng_fifo.v @@ -396,10 +396,8 @@ module tb_csprng_fifo(); // Read out all of the rest of the data. - for (j = 0 ; j < 200 ; j = j + 1) - begin - read_w32(); - end + while (tb_rnd_syn) + read_w32(); dump_fifo(); end |