Lower branch cycles to two.
This commit is contained in:
parent
cfce1b6b54
commit
9e12c60d27
4 changed files with 10 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue