We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1542031 commit eccb8f7Copy full SHA for eccb8f7
hw/snitch_ssr/src/snitch_ssr.sv
@@ -116,7 +116,8 @@ module snitch_ssr import snitch_ssr_pkg::*; #(
116
// The datamover must preserve its directional muxing until the flush is complete.
117
// This will *not* block write preloading of the FIFO.
118
assign agen_write_reversing = agen_write ^ agen_write_q;
119
- assign agen_flush = agen_write_reversing & ~credit_full;
+ // When switching from writes to reads, the FIFO must be *fully* read too.
120
+ assign agen_flush = agen_write_reversing & (~credit_full | (agen_write_q & ~fifo_empty));
121
assign dm_write = agen_flush ? agen_write_q : agen_write;
122
123
assign agen_ready = ~agen_flush & (agen_zero ?
0 commit comments