From 3931b0faff5e77b02a1e27215519d789c2ca5209 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 17 Feb 2017 15:15:41 +0100 Subject: [PATCH] coreplex: assume L1 runs no slower than L2 --- src/main/scala/coreplex/RocketTiles.scala | 2 +- src/main/scala/rocket/Tile.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/coreplex/RocketTiles.scala b/src/main/scala/coreplex/RocketTiles.scala index 60ceb4f3..31f39ba6 100644 --- a/src/main/scala/coreplex/RocketTiles.scala +++ b/src/main/scala/coreplex/RocketTiles.scala @@ -73,7 +73,7 @@ trait HasRocketTiles extends CoreplexRISCVPlatform { } case Rational => { val wrapper = LazyModule(new RationalRocketTile(c)(pWithExtra)) - val sink = LazyModule(new TLRationalCrossingSink) + val sink = LazyModule(new TLRationalCrossingSink(util.FastToSlow)) val source = LazyModule(new TLRationalCrossingSource) sink.node :=* wrapper.masterNode l1tol2.node :=* sink.node diff --git a/src/main/scala/rocket/Tile.scala b/src/main/scala/rocket/Tile.scala index 026564e1..23f726ff 100644 --- a/src/main/scala/rocket/Tile.scala +++ b/src/main/scala/rocket/Tile.scala @@ -103,7 +103,7 @@ class RationalRocketTile(rtp: RocketTileParams)(implicit p: Parameters) extends masterNode :=* source.node val slaveNode = TLRationalInputNode() - val sink = LazyModule(new TLRationalCrossingSink) + val sink = LazyModule(new TLRationalCrossingSink(util.SlowToFast)) rocket.slaveNode :*= sink.node sink.node :*= slaveNode