Commit 190e8054 authored by Andreas Kurth's avatar Andreas Kurth
Browse files

write_burst_packer: Fix buffer underrun

parent 83790f7a
Showing with 1 addition and 1 deletion
+1 -1
......@@ -199,7 +199,7 @@ module axi_write_burst_packer #(
end
// Otherwise, if the FIFO is full or if there is at least one complete multi-beat burst in
// the FIFO, drain the FIFO.
end else if (w_buf_full || w_compl_d > 0) begin
end else if (w_buf_full || (!w_buf_empty && w_compl_d > 0)) begin
mst_w_valid = 1'b1;
aw_pend_inc = 1'b1;
state_d = Drain;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment