From 99de42d34c5563050e2c07b2af67663e59a50581 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 27 Apr 2017 15:30:02 -0700 Subject: [PATCH] Swap order of ITIM WidthWidget and Fragmenter e99fa057ac3c1270ccde26e8cdba08ec2599beee accidentally reversed them --- src/main/scala/rocket/ScratchpadSlavePort.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/scala/rocket/ScratchpadSlavePort.scala b/src/main/scala/rocket/ScratchpadSlavePort.scala index d438cb32..a96fd248 100644 --- a/src/main/scala/rocket/ScratchpadSlavePort.scala +++ b/src/main/scala/rocket/ScratchpadSlavePort.scala @@ -113,9 +113,9 @@ trait CanHaveScratchpad extends HasHellaCache with HasICacheFrontend with HasCor // 1) Frontend always exists, but may or may not have a scratchpad node val fg = LazyModule(new TLFragmenter(fetchWidth*coreInstBytes, p(CacheBlockBytes), true)) val ww = LazyModule(new TLWidthWidget(xLen/8)) - frontend.slaveNode :*= ww.node - ww.node :*= fg.node - fg.node :*= slaveNode + frontend.slaveNode :*= fg.node + fg.node :*= ww.node + ww.node :*= slaveNode // 2) ScratchpadSlavePort always has a node, but only exists when the HellaCache has a scratchpad val scratch = tileParams.dcache.flatMap(d => d.scratch.map(s =>