Skip to content

Commit 676fc8e

Browse files
robertszczepanskitmichalak
authored andcommitted
Fix AXI bus handling on simultaneous write and read
1 parent 5b343ab commit 676fc8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libs/axi/axi_sub_arb.sv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ module axi_sub_arb import axi_pkg::*; #(
9999
r_pri <= 1'b1;
100100
else if (r_dv && !r_hld && r_last)
101101
r_pri <= 1'b0;
102-
// Keep priority when burst starts
103-
else if (w_dv && !r_win && !w_last)
102+
// Keep priority when xfer is in progress
103+
else if (w_dv && !r_win)
104104
r_pri <= 1'b0;
105-
else if (r_dv && r_win && !r_last)
105+
else if (r_dv && r_win)
106106
r_pri <= 1'b1;
107107
end
108108

0 commit comments

Comments
 (0)