1
0

axi4: switch arbiter to round robin

This commit is contained in:
Wesley W. Terpstra
2017-04-27 14:40:49 -07:00
parent 976af7a8c7
commit 661015a78d
2 changed files with 53 additions and 7 deletions

View File

@ -105,7 +105,7 @@ class AXI4ToTL()(implicit p: Parameters) extends LazyModule
when (in.aw.fire() && s) { r := r + UInt(1) }
}
TLArbiter(TLArbiter.lowestIndexFirst)(out.a, (UInt(0), r_out), (in.aw.bits.len, w_out))
TLArbiter(TLArbiter.roundRobin)(out.a, (UInt(0), r_out), (in.aw.bits.len, w_out))
val ok_b = Wire(in.b)
val ok_r = Wire(in.r)