From 16a6b1108123d18c7ae51e8f3ab0dbafdd132bff Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Thu, 7 Jul 2016 14:34:24 -0700 Subject: [PATCH] fix bug in AXI -> TL converter --- uncore/src/main/scala/converters/Nasti.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uncore/src/main/scala/converters/Nasti.scala b/uncore/src/main/scala/converters/Nasti.scala index 587c77a9..84ec2d47 100644 --- a/uncore/src/main/scala/converters/Nasti.scala +++ b/uncore/src/main/scala/converters/Nasti.scala @@ -428,14 +428,14 @@ class TileLinkIONastiIOConverter(implicit p: Parameters) extends TLModule()(p) io.nasti.b.valid := io.tl.grant.valid && tl_b_grant(io.tl.grant.bits) io.nasti.b.bits := NastiWriteResponseChannel( - id = put_id_mapper.io.req.out_id) + id = put_id_mapper.io.resp.in_id) assert(!io.nasti.b.valid || put_id_mapper.io.resp.matches, "Put ID does not match") io.nasti.r.valid := io.tl.grant.valid && !tl_b_grant(io.tl.grant.bits) io.nasti.r.bits := NastiReadDataChannel( - id = get_id_mapper.io.req.out_id, + id = get_id_mapper.io.resp.in_id, data = io.tl.grant.bits.data, last = tl_last(io.tl.grant.bits))