1
0

tilelink: don't pollute TLParamters with AtomicAutomata's implementation (#1111)

This commit is contained in:
Wesley W. Terpstra
2017-11-14 17:49:10 -08:00
committed by GitHub
parent 8b79f0394e
commit 61ef560c75
5 changed files with 19 additions and 6 deletions

View File

@ -34,8 +34,6 @@ class TLXbar(policy: TLArbiter.Policy = TLArbiter.roundRobin)(implicit p: Parame
numClientPorts = 1 to 999,
numManagerPorts = 1 to 999,
clientFn = { seq =>
require (!seq.exists(_.unsafeAtomics) || seq.size == 1,
"An unsafe atomic port can not be combined with any other!")
seq(0).copy(
minLatency = seq.map(_.minLatency).min,
clients = (TLXbar.mapInputIds(seq) zip seq) flatMap { case (range, port) =>