1
0

tilelink2 broadcast: support bufferless Config

This commit is contained in:
Wesley W. Terpstra
2016-11-16 12:25:11 -08:00
parent 3703ed39f7
commit 06a7b95d0d
3 changed files with 6 additions and 26 deletions

View File

@ -10,9 +10,12 @@ import uncore.util._
import util._
import rocket._
/** Should the broadcast hub have no buffers */
case object BufferlessBroadcast extends Field[Boolean]
trait BroadcastL2 extends BankedL2CoherenceManagers {
def l2ManagerFactory() = {
val bh = LazyModule(new TLBroadcast(l1tol2_lineBytes, nTrackersPerBank))
val bh = LazyModule(new TLBroadcast(l1tol2_lineBytes, nTrackersPerBank, p(BufferlessBroadcast)))
(bh.node, bh.node)
}
}