Skip to content

Commit ae198c4

Browse files
vogelpiqmn
authored andcommitted
[entropy_src/doc] Document that the Distr FIFO depth needs to be odd
This is a follow-up of 357d41aec26dbea832e7dafd29d56365be0d8015 . Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
1 parent 6926a03 commit ae198c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hw/ip/entropy_src/doc/theory_of_operation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ With the ENTROPY_SRC block running at 100 MHz, this leads to noise source rate \
168168
The noise source model inside the DV environment generates symbols with an average rate of 1 4-bit symbol every 6.5 clock cycles.
169169
To reach functional coverage metrics, the `entropy_src_rng_max_rate` configures the noise source to generate a 4-bit symbol every other clock cycle (\\(r_{ptrng}\\) = 1/2).
170170
With these settings, the ENTROPY_SRC block should never drop samples due to conditioner back pressure if a depth of two is chosen for the Distribution FIFO (\\(d_{distr}\\) = 2).
171+
Note that the pipeline depth tracking logic responsible for guaranteeing that the full health test window is always absorbed into the conditioner before triggering the final processing requires an odd depth of the Distribution FIFO.
172+
As a result, a depth of three is chosen for the Distribution FIFO by default (\\(d_{distr}\\) = 3).
171173

172174

173175
### Security

0 commit comments

Comments
 (0)