Skip to content

Commit

Permalink
Merge pull request #31 from pulp-platform/nwistoff/lrsc-burst-len
Browse files Browse the repository at this point in the history
lrsc: Fix burst invalidation length
  • Loading branch information
SamuelRiedel authored Oct 5, 2023
2 parents 9c6a0c8 + 427f84d commit 424697e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/axi_riscv_lrsc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -810,11 +810,10 @@ module axi_riscv_lrsc #(
// Check reservation and clear identical addresses.
art_check_clr_addr = clr_addr_q;
art_check_clr_req = 1'b1;
if (clr_len_q == 1'b0) begin
clr_addr_d = clr_addr_q + 1;
clr_len_d = clr_len_q - 1;
if (clr_len_q == 'd1) begin
aw_state_d = aw_wait_d ? AW_WAIT : AW_IDLE;
end else begin
clr_addr_d = clr_addr_q + 1;
clr_len_d = clr_len_q - 1;
end
end
end
Expand Down

0 comments on commit 424697e

Please sign in to comment.