fix cfu gen error

This commit is contained in:
Dolu1990 2021-03-04 20:29:33 +01:00
parent bdc52097b6
commit ec507308e7
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class CfuPlugin(val stageCount : Int,
}
}
pipeline.stages.dropRight(1).foreach(s => s.output(CFU_IN_FLIGHT) clearWhen(s.arbitration.isStuck))
pipeline.stages.drop(1).foreach(s => s.output(CFU_IN_FLIGHT) clearWhen(s.arbitration.isStuck))
addPrePopTask(() => stages.dropWhile(_ != memory).reverse.dropWhile(_ != joinStage).foreach(s => s.input(CFU_IN_FLIGHT).init(False)))
}
}