From 8f757a9135b24c13424f8eee2ff47dbaa0684d5c Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 4 Nov 2016 11:51:59 -0700 Subject: [PATCH] coreplex: rename BankedL2 trait to BankedL2CoherenceManagers --- src/main/scala/coreplex/BaseCoreplex.scala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/scala/coreplex/BaseCoreplex.scala b/src/main/scala/coreplex/BaseCoreplex.scala index f452fda5..2f62098e 100644 --- a/src/main/scala/coreplex/BaseCoreplex.scala +++ b/src/main/scala/coreplex/BaseCoreplex.scala @@ -96,7 +96,7 @@ trait CoreplexNetworkModule extends HasCoreplexParameters { implicit val p = outer.p } -trait BankedL2 { +trait BankedL2CoherenceManagers { this: CoreplexNetwork => require (isPow2(nBanksPerMemChannel)) require (isPow2(l1tol2_lineBytes)) @@ -119,19 +119,19 @@ trait BankedL2 { } } -trait BankedL2Bundle { +trait BankedL2CoherenceManagersBundle { this: CoreplexNetworkBundle { - val outer: BankedL2 + val outer: BankedL2CoherenceManagers } => require (nMemChannels == 1, "Seq in Chisel Bundle needed to support > 1") // !!! val mem = outer.l2Channels.map(_.bundleOut).toList.head // .head should be removed !!! } -trait BankedL2Module { +trait BankedL2CoherenceManagersModule { this: CoreplexNetworkModule { - val outer: BankedL2 - val io: BankedL2Bundle + val outer: BankedL2CoherenceManagers + val io: BankedL2CoherenceManagersBundle } => }