1
0

Queue: silence some warnings

This commit is contained in:
Wesley W. Terpstra
2017-11-13 17:32:54 -08:00
parent 147fad6387
commit 7cfb69e2d5
2 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ class AXI4Deinterleaver(maxReadBytes: Int)(implicit p: Parameters) extends LazyM
val qs = Seq.tabulate(endId) { i =>
val depth = edgeOut.master.masters.find(_.id.contains(i)).flatMap(_.maxFlight).getOrElse(0)
if (depth > 0) {
Module(new Queue(out.r.bits, beats)).io
Module(new Queue(out.r.bits.cloneType, beats)).io
} else {
Wire(new QueueIO(out.r.bits, beats))
Wire(new QueueIO(out.r.bits.cloneType, beats))
}
}