Skip to content

Commit

Permalink
SH7604: fix completion TAS memory cycles during reset
Browse files Browse the repository at this point in the history
  • Loading branch information
srg320 committed Oct 4, 2023
1 parent 357ccd8 commit 956bdb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SH7604/BSC.sv
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@ module SH7604_BSC
else if (BREQ && BACK && SLV_BUS_RLS) begin
SLV_BUS_RLS <= 0;
end
else if (BREQ && (BUS_STATE == T2 || BUS_STATE == TD || BUS_STATE == TV2) && !BUSY && !IBUS_LOCK && !SLV_BUS_RLS) begin
else if ((BREQ && (BUS_STATE == T2 || BUS_STATE == TD || BUS_STATE == TV2) && !BUSY && !IBUS_LOCK && !SLV_BUS_RLS) ||
(BREQ && BUS_STATE == T0 && !BUSY && !RES_N && !SLV_BUS_RLS)) begin
BREQ <= 0;
end
else if (!BREQ && !SLV_BUS_RLS ) begin
Expand Down

0 comments on commit 956bdb8

Please sign in to comment.