[entropy_src/rtl] Prevent interrupt status for data valid
For the mode where the entropy read register is not being used,
the related FIFO state and interrupt status bits should be unchanging.
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 b85c7e9..2dabfca 100644
--- a/hw/ip/entropy_src/rtl/entropy_src_core.sv
+++ b/hw/ip/entropy_src/rtl/entropy_src_core.sv
@@ -1330,7 +1330,7 @@
assign hw2reg.recov_alert_sts.threshold_scope_field_alert.de = threshold_scope_pfa;
assign hw2reg.recov_alert_sts.threshold_scope_field_alert.d = threshold_scope_pfa;
- assign es_route_to_sw = es_route_pfe;
+ assign es_route_to_sw = es_route_pfe && es_data_reg_rd_en;
assign es_bypass_to_sw = es_type_pfe;
assign threshold_scope = threshold_scope_pfe;