From 9f83db998eff6b82975da5f63937314a47565981 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 27 Oct 2017 01:12:58 -0700 Subject: [PATCH] tile: don't chain too many unneeded TileLink adapters (#1075) --- src/main/scala/rocket/ScratchpadSlavePort.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/rocket/ScratchpadSlavePort.scala b/src/main/scala/rocket/ScratchpadSlavePort.scala index b154dfbc..833dfa0c 100644 --- a/src/main/scala/rocket/ScratchpadSlavePort.scala +++ b/src/main/scala/rocket/ScratchpadSlavePort.scala @@ -120,9 +120,9 @@ trait CanHaveScratchpad extends HasHellaCache with HasICacheFrontend { if (xbarPorts.nonEmpty) { val xbar = LazyModule(new TLXbar) - xbar.node := TLFIFOFixer()(TLFragmenter(xBytes, cacheBlockBytes, earlyAck=true)(slaveNode)) + xbar.node := slaveNode xbarPorts.foreach { case (port, bytes) => - port := (if (bytes == xBytes) xbar.node else TLFragmenter(bytes, xBytes, earlyAck=true)(TLWidthWidget(xBytes)(xbar.node))) + port := TLFragmenter(bytes, cacheBlockBytes, earlyAck=true)(if (bytes == xBytes) xbar.node else TLWidthWidget(xBytes)(xbar.node)) } } }