File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -718,12 +718,16 @@ module recovery_executor
718
718
// ....................................................
719
719
720
720
// Payload availability logic
721
- // Assert payload_available_o upon reception of a complete recovery write
722
- // packet targeting CSR_INDIRECT_FIFO_DATA. Deassert it when the
721
+ // Assertion:
722
+ // The payload_available signal must assert if recovery FIFO indicates full (256B) or image
723
+ // activation status is asserted (essentially indicating the last transfer is complete).
724
+ //
725
+ // De-assertion:
726
+ // The payload_available signal must reset if recovery FIFO indicates empty.
723
727
always_comb begin : payload_available
724
728
payload_available_d = 1'b0 ;
725
729
payload_available_write = 1'b0 ;
726
- if (~ payload_available_q && indirect_rx_wvalid_o && indirect_rx_wready_i )
730
+ if (~ payload_available_q && (indirect_rx_full_i | image_activated_o) )
727
731
begin
728
732
payload_available_d = 1'b1 ;
729
733
payload_available_write = 1'b1 ;
You can’t perform that action at this time.
0 commit comments