[entropy_src/rtl] fixes #5800 RNG FIFO had the incorrect pop signal. Signed-off-by: Mark Branstad <mark.branstad@wdc.com>
diff --git a/hw/ip/entropy_src/rtl/entropy_src_core.sv b/hw/ip/entropy_src/rtl/entropy_src_core.sv index 9a5ccfe..bf36c09 100755 --- a/hw/ip/entropy_src/rtl/entropy_src_core.sv +++ b/hw/ip/entropy_src/rtl/entropy_src_core.sv
@@ -577,7 +577,7 @@ assign sfifo_esrng_clr = !es_enable; assign sfifo_esrng_wdata = es_rng_bus; - assign sfifo_esrng_pop = es_enable && es_rate_entropy_pulse && sfifo_esrng_not_empty; + assign sfifo_esrng_pop = es_enable_rng && es_rng_src_valid && sfifo_esrng_not_empty; // note: allow input rng raw entropy to drop