1
0

tilelink2 WidthWidget: cope with Decoupled inputs

This commit is contained in:
Wesley W. Terpstra 2016-10-12 18:47:01 -07:00
parent e2e72ac979
commit 405f66da32

View File

@ -141,7 +141,7 @@ class TLWidthWidget(innerBeatBytes: Int) extends LazyModule
out <> in out <> in
} else if (edgeIn.manager.beatBytes > edgeOut.manager.beatBytes) { } else if (edgeIn.manager.beatBytes > edgeOut.manager.beatBytes) {
// split input to output // split input to output
split(edgeIn, in, edgeOut, out) split(edgeIn, Queue(in, 1, flow=true), edgeOut, out)
} else { } else {
// merge input to output // merge input to output
merge(edgeIn, in, edgeOut, out) merge(edgeIn, in, edgeOut, out)