From b72230a9f04f18d9358ca427b69445ff090e6d95 Mon Sep 17 00:00:00 2001 From: Henry Cook Date: Mon, 16 Mar 2015 00:09:55 -0700 Subject: [PATCH] PutBlock bugfix --- uncore/src/main/scala/cache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncore/src/main/scala/cache.scala b/uncore/src/main/scala/cache.scala index ef3cb3d7..8c65a20f 100644 --- a/uncore/src/main/scala/cache.scala +++ b/uncore/src/main/scala/cache.scala @@ -636,7 +636,7 @@ class L2AcquireTracker(trackerId: Int, bankId: Int) extends L2XactTracker { val offset = xact.addr_byte()(byteAddrBits-1, log2Up(amoAluOperandBits/8)) amoalu.io.lhs := old_data >> offset*amoOpSz amoalu.io.rhs := new_data >> offset*amoOpSz - val valid_beat = xact.addr_beat === beat + val valid_beat = xact.is(Acquire.putBlockType) || xact.addr_beat === beat val wmask = Fill(dataBits, valid_beat) & Mux(xact.is(Acquire.putAtomicType), FillInterleaved(amoAluOperandBits, UIntToOH(offset)),