disconnect fpu port if no fpu-using RoCC accelerators
This commit is contained in:
parent
dcca0b1d86
commit
73b0263663
@ -110,4 +110,11 @@ class RocketTile(resetSignal: Bool = null)(implicit p: Parameters) extends Tile(
|
|||||||
|
|
||||||
roccs.flatMap(_.io.dmem) :+ iMemArb.io.out
|
roccs.flatMap(_.io.dmem) :+ iMemArb.io.out
|
||||||
} else { Seq(icache.io.mem) })
|
} 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)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user