Fix initiation of SBA reads not being masked by previous SBA error or busy error.

This commit is contained in:
Luke Wren 2024-03-17 05:49:40 +00:00
parent c11581e80b
commit af08c0becd
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ always @ (posedge clk or negedge rst_n) begin
sberror <= SBERROR_BADADDR;
end
end
end else if (sb_want_start_read || sb_want_start_write && ~|sberror && !sbbusyerror) begin
end else if ((sb_want_start_read || sb_want_start_write) && ~|sberror && !sbbusyerror) begin
if (sb_badsize) begin
sberror <= SBERROR_BADSIZE;
end else if (sb_badalign) begin