Fix initiation of SBA reads not being masked by previous SBA error or busy error.
This commit is contained in:
parent
c11581e80b
commit
af08c0becd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue