disconnect fpu port if no fpu-using RoCC accelerators
This commit is contained in:
1 parent
dcca0b1d86
commit
73b0263663
1 file changed
+7
@@ -110,4 +110,11 @@ class RocketTile(resetSignal: Bool = null)(implicit p: Parameters) extends Tile(
|
||||
|
||||
roccs.flatMap(_.io.dmem) :+ iMemArb.io.out
|
||||
} else { Seq(icache.io.mem) })
|
||||
|
||||
if (!usingRocc || nFPUPorts == 0) {
|
||||
fpuOpt.foreach { fpu =>
|
||||
fpu.io.cp_req.valid := Bool(false)
|
||||
fpu.io.cp_resp.ready := Bool(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user