From 38c9ddffcc68f4d0c7370f346d6c70df1a54a15e Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Sat, 21 Jan 2017 13:23:07 -0800 Subject: [PATCH] BankedL2: move TLFilter BEFORE coherence manager This lets smart caches exclude the sets that are filtered. --- src/main/scala/coreplex/CoreplexNetwork.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/coreplex/CoreplexNetwork.scala b/src/main/scala/coreplex/CoreplexNetwork.scala index aade8abf..81edd50a 100644 --- a/src/main/scala/coreplex/CoreplexNetwork.scala +++ b/src/main/scala/coreplex/CoreplexNetwork.scala @@ -77,8 +77,8 @@ trait BankedL2CoherenceManagers extends CoreplexNetwork { val mask = ~BigInt((l2Config.nBanksPerChannel-1) * l1tol2_lineBytes) for (i <- 0 until l2Config.nBanksPerChannel) { val (in, out) = l2Config.coherenceManager(p) - in := TLFilter(AddressSet(i * l1tol2_lineBytes, mask))(l1tol2.node) - bankBar.node := out + in := l1tol2.node + bankBar.node := TLFilter(AddressSet(i * l1tol2_lineBytes, mask))(out) } } }