aboutsummaryrefslogtreecommitdiff
path: root/src/tb/tb_csprng_fifo.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/tb/tb_csprng_fifo.v')
-rw-r--r--src/tb/tb_csprng_fifo.v6
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