Oops, try a little harder this time to ensure local monitor is cleared by sc.w errors _always_, even if lined up with trap entry stalls etc
This commit is contained in:
parent
25b44d04cf
commit
f1cda26bcc
|
@ -936,7 +936,7 @@ end
|
|||
always @ (posedge clk or negedge rst_n) begin
|
||||
if (!rst_n) begin
|
||||
mw_local_exclusive_reserved <= 1'b0;
|
||||
end else if (|EXTENSION_A && !m_stall) begin
|
||||
end else if (|EXTENSION_A && (!m_stall || bus_dph_err_d)) begin
|
||||
`ifdef FORMAL
|
||||
// AMOs should handle the entire bus transfer in stage X.
|
||||
assert(xm_memop != MEMOP_AMOADD_W);
|
||||
|
|
Loading…
Reference in New Issue