make sure TL -> NASTI converter handles multibeat transactions properly
This commit is contained in:
parent
85808f8cbb
commit
afc51c4a35
@ -187,8 +187,9 @@ class NastiIOTileLinkIOConverter(implicit p: Parameters) extends TLModule()(p)
|
|||||||
io.nasti.aw.valid := put_helper.fire(aw_ready, !w_inflight)
|
io.nasti.aw.valid := put_helper.fire(aw_ready, !w_inflight)
|
||||||
io.nasti.aw.bits := NastiWriteAddressChannel(
|
io.nasti.aw.bits := NastiWriteAddressChannel(
|
||||||
id = put_id_mapper.io.req.out_id,
|
id = put_id_mapper.io.req.out_id,
|
||||||
addr = io.tl.acquire.bits.full_addr()| put_offset,
|
addr = io.tl.acquire.bits.full_addr() |
|
||||||
size = put_size,
|
Mux(is_multibeat, UInt(0), put_offset),
|
||||||
|
size = Mux(is_multibeat, UInt(log2Ceil(tlDataBytes)), put_size),
|
||||||
len = Mux(is_multibeat, UInt(tlDataBeats - 1), UInt(0)))
|
len = Mux(is_multibeat, UInt(tlDataBeats - 1), UInt(0)))
|
||||||
|
|
||||||
io.nasti.w.valid := put_helper.fire(io.nasti.w.ready)
|
io.nasti.w.valid := put_helper.fire(io.nasti.w.ready)
|
||||||
|
Loading…
Reference in New Issue
Block a user