Skip to content

Commit 816bc50

Browse files
committed
TLFront config change to integrate with chipyard
1 parent 928805e commit 816bc50

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/scala/tilelink/Configs.scala

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ trait CanHaveTLUCIAdapter { this: BaseSubsystem =>
2929
protoParams = params.proto,
3030
fdiParams = params.fdi
3131
))
32+
uciTL.clockNode := bus.fixedClockNode
3233
bus.coupleTo(s"ucie_tl_man_port") {
33-
uciTL.managerNode :*= TLWidthWidget(bus.beatBytes) :*= TLFragmenter(bus.beatBytes, p(CacheBlockBytes)) :*= _
34+
uciTL.managerNode := TLWidthWidget(bus.beatBytes) := TLSourceShrinker(params.tl.sourceIDWidth) := TLFragmenter(bus.beatBytes, p(CacheBlockBytes)) := _
3435
} //manager node because SBUS is making request?
35-
bus.coupleFrom(s"ucie_tl_cl_port") { _ :*= TLFragmenter(bus.beatBytes, p(CacheBlockBytes)) :*= TLWidthWidget(bus.beatBytes) :*= uciTL.clientNode }
36+
bus.coupleFrom(s"ucie_tl_cl_port") { _ := TLWidthWidget(bus.beatBytes) := uciTL.clientNode }
37+
bus.coupleTo(s"ucie_tl_ctrl_port") { uciTL.regNode.node := TLWidthWidget(bus.beatBytes) := TLFragmenter(bus.beatBytes, bus.blockBytes) := _ }
3638
}
3739
}
3840

3941
class WithUCITLAdapter(params: UCITLParams) extends Config((site, here, up) => {
4042
case UCITLKey => Some(params)
41-
})
42-
43+
})

0 commit comments

Comments
 (0)