1
0

coreplex: fix BankedL2 line width

This commit is contained in:
Wesley W. Terpstra 2016-11-04 11:18:31 -07:00 committed by Henry Cook
parent ea602790a8
commit d03046d11c
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ trait CoreplexNetworkModule extends HasCoreplexParameters {
trait BankedL2 {
this: CoreplexNetwork =>
require (isPow2(nBanksPerMemChannel))
require (isPow2(l1tol2_beatBytes))
require (isPow2(l1tol2_lineBytes))
def l2ManagerFactory(): (TLInwardNode, TLOutwardNode)

View File

@ -13,7 +13,7 @@ import rocket._
trait BroadcastL2 {
this: CoreplexNetwork =>
def l2ManagerFactory() = {
val bh = LazyModule(new TLBroadcast(l1tol2_beatBytes, nTrackersPerBank))
val bh = LazyModule(new TLBroadcast(l1tol2_lineBytes, nTrackersPerBank))
(bh.node, bh.node)
}
}