Lower branch cycles to two.

This commit is contained in:
Sebastian Bugge 2024-11-12 12:13:37 +01:00
parent cfce1b6b54
commit 9e12c60d27
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691
4 changed files with 10 additions and 6 deletions

View file

@ -23,7 +23,7 @@ class IFBarrier extends MultiIOModule {
val flushRemaining = RegInit(UInt(2.W), 0.U)
flushRemaining := Mux(
io.flush,
2.U,
1.U,
Mux(
flushRemaining === 0.U,
0.U,