Create SoC-integrated Config for Coalescer
This requires config.addressWidth to be increased to 32. FIXME: This breaks CoalescerUnitTest with unsatisfied requirement `Link's max transfer (8) < List<...>'s beatBytes (32)`.
This commit is contained in:
@@ -21,6 +21,15 @@ trait CanHaveMemtraceCore { this: BaseSubsystem =>
|
||||
println(
|
||||
s"============ MemTraceDriver instantiated [filename=${param.tracefilename}]"
|
||||
)
|
||||
sbus.fromPort(Some("gpu-tracer"))() :=* tracer.node
|
||||
val upstream = p(CoalescerKey) match {
|
||||
case Some(coalParam) => {
|
||||
val coal = LazyModule(new CoalescingUnit(coalParam))
|
||||
println(s"============ CoalescingUnit instantiated [numLanes=${coalParam.numLanes}]")
|
||||
coal.cpuNode :=* tracer.node // N lanes
|
||||
coal.aggregateNode // N+1 lanes
|
||||
}
|
||||
case None => tracer.node
|
||||
}
|
||||
sbus.fromPort(Some("gpu-tracer"))() :=* upstream
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user