From b01fe4f6aa80e7b452910e22bdbbb996a4d26cc5 Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Sat, 24 Aug 2013 15:24:17 -0700 Subject: [PATCH] fix memserdes bit ordering --- uncore/src/memserdes.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uncore/src/memserdes.scala b/uncore/src/memserdes.scala index b1272b28..2af04df8 100644 --- a/uncore/src/memserdes.scala +++ b/uncore/src/memserdes.scala @@ -107,8 +107,7 @@ class MemSerdes(w: Int) extends Component } io.wide.resp.valid := resp_val - io.wide.resp.bits.tag := in_buf(io.wide.resp.bits.tag.width-1,0) - io.wide.resp.bits.data := in_buf >> UFix(io.wide.resp.bits.tag.width) + io.wide.resp.bits := io.wide.resp.bits.fromBits(in_buf) } class MemDesserIO(w: Int) extends Bundle {