From 258abc56297b9a33c24f68bb4429bd6c7ad08c25 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Thu, 19 Jan 2017 13:51:50 -0800 Subject: [PATCH] coreplex: re-enable stateless L2 config --- src/main/scala/coreplex/Configs.scala | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/scala/coreplex/Configs.scala b/src/main/scala/coreplex/Configs.scala index 267ce219..bd09cf20 100644 --- a/src/main/scala/coreplex/Configs.scala +++ b/src/main/scala/coreplex/Configs.scala @@ -143,12 +143,11 @@ class WithBufferlessBroadcastHub extends Config((site, here, up) => { * DO NOT use this configuration. */ class WithStatelessBridge extends Config((site, here, up) => { -/* !!! FIXME - case BankedL2Config => up(BankedL2Config, site).copy(coherenceManager = { case (_, _) => - val pass = LazyModule(new TLBuffer(0)(site)) - (pass.node, pass.node) - }) -*/ + case BankedL2Config => up(BankedL2Config, site).copy(coherenceManager = { case q => + implicit val p = q + val cork = LazyModule(new TLCacheCork(unsafe = true)) + (cork.node, TLWidthWidget(p(L1toL2Config).beatBytes)(cork.node)) + }) case DCacheKey => up(DCacheKey, site).copy(nMSHRs = 0) })