Comment out hartid and fpu from VortexBundle
These are mostly copied from Rocket and we're not sure they're necessary for Vortex.
This commit is contained in:
@@ -203,9 +203,11 @@ class VortexTileModuleImp(outer: VortexTile) extends BaseTileModuleImp(outer) {
|
||||
// outer.traceSourceNode.bundle <> core.io.trace
|
||||
core.io.traceStall := outer.traceAuxSinkNode.bundle.stall
|
||||
// outer.bpwatchSourceNode.bundle <> core.io.bpwatch
|
||||
core.io.hartid := outer.hartIdSinkNode.bundle
|
||||
require(core.io.hartid.getWidth >= outer.hartIdSinkNode.bundle.getWidth,
|
||||
s"core hartid wire (${core.io.hartid.getWidth}b) truncates external hartid wire (${outer.hartIdSinkNode.bundle.getWidth}b)")
|
||||
|
||||
// Copypasted from Rocket; not necessary for Vortex as hartId is set via Verilog parameter
|
||||
// core.io.hartid := outer.hartIdSinkNode.bundle
|
||||
// require(core.io.hartid.getWidth >= outer.hartIdSinkNode.bundle.getWidth,
|
||||
// s"core hartid wire (${core.io.hartid.getWidth}b) truncates external hartid wire (${outer.hartIdSinkNode.bundle.getWidth}b)")
|
||||
|
||||
if (outer.vortexParams.useVxCache) {
|
||||
println(s"width of a channel data ${core.io.mem.get.a.bits.data.getWidth}")
|
||||
@@ -245,7 +247,7 @@ class VortexTileModuleImp(outer: VortexTile) extends BaseTileModuleImp(outer) {
|
||||
}
|
||||
}
|
||||
|
||||
core.io.fpu := DontCare
|
||||
// core.io.fpu := DontCare
|
||||
|
||||
// TODO eliminate this redundancy
|
||||
// val h = dcachePorts.size
|
||||
@@ -257,6 +259,7 @@ class VortexTileModuleImp(outer: VortexTile) extends BaseTileModuleImp(outer) {
|
||||
// dcacheArb.io.requestor <> dcachePorts.toSeq
|
||||
}
|
||||
|
||||
// FIXME: unsure this is necessary
|
||||
trait HasFpuOpt { this: RocketTileModuleImp =>
|
||||
val fpuOpt = outer.tileParams.core.fpu.map(params => Module(new FPU(params)(outer.p)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user