disconnect fpu port if no fpu-using RoCC accelerators
This commit is contained in:
		| @@ -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) | ||||||
|  |     } | ||||||
|  |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user