1
0

fix another bug in Widener

This commit is contained in:
Howard Mao 2016-07-01 16:24:48 -07:00
parent 10a46a36ae
commit e163a23583

View File

@ -205,6 +205,7 @@ class TileLinkIOWidener(innerTLId: String, outerTLId: String)
} }
val iacq = io.in.acquire.bits val iacq = io.in.acquire.bits
val oacq = io.out.acquire.bits
val ognt = io.out.grant.bits val ognt = io.out.grant.bits
val ignt = io.in.grant.bits val ignt = io.in.grant.bits
@ -221,7 +222,7 @@ class TileLinkIOWidener(innerTLId: String, outerTLId: String)
val put_data = Reg(Vec(factor, UInt(width = innerDataBits))) val put_data = Reg(Vec(factor, UInt(width = innerDataBits)))
val put_wmask = Reg(Vec(factor, UInt(width = innerWriteMaskBits))) val put_wmask = Reg(Vec(factor, UInt(width = innerWriteMaskBits)))
val put_allocate = Reg(Bool()) val put_allocate = Reg(Bool())
val (put_beat, put_done) = Counter(io.out.acquire.fire() && iacq.hasMultibeatData(), outerDataBeats) val (put_beat, put_done) = Counter(io.out.acquire.fire() && oacq.hasMultibeatData(), outerDataBeats)
val (recv_idx, recv_done) = Counter(io.in.acquire.fire() && iacq.hasMultibeatData(), factor) val (recv_idx, recv_done) = Counter(io.in.acquire.fire() && iacq.hasMultibeatData(), factor)
val in_addr = iacq.full_addr() val in_addr = iacq.full_addr()