1
0

Changed TLXbar arbitration policy to roundRobin (#781)

This commit is contained in:
solomatnikov 2017-06-05 10:20:28 -07:00 committed by GitHub
parent efce8f06b8
commit 274d908d98

View File

@ -6,7 +6,7 @@ import Chisel._
import config._
import diplomacy._
class TLXbar(policy: TLArbiter.Policy = TLArbiter.lowestIndexFirst)(implicit p: Parameters) extends LazyModule
class TLXbar(policy: TLArbiter.Policy = TLArbiter.roundRobin)(implicit p: Parameters) extends LazyModule
{
def mapInputIds (ports: Seq[TLClientPortParameters ]) = assignRanges(ports.map(_.endSourceId)).map(_.get)
def mapOutputIds(ports: Seq[TLManagerPortParameters]) = assignRanges(ports.map(_.endSinkId))