From 7f8f138d6a3bad78abe1a6f0ac219cfe8d2b7967 Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Thu, 24 Mar 2016 19:48:52 -0700 Subject: [PATCH] fix addPendingBitWhenPartialWritemask --- 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 6d7c1241..9fc29cc6 100644 --- a/uncore/src/main/scala/cache.scala +++ b/uncore/src/main/scala/cache.scala @@ -508,7 +508,7 @@ abstract class L2XactTracker(implicit p: Parameters) extends XactTracker()(p) def addPendingBitWhenBeatHasPartialWritemask(in: DecoupledIO[AcquireFromSrc]): UInt = { val a = in.bits val isPartial = a.wmask() =/= Acquire.fullWriteMask - addPendingBitWhenBeat(in.fire() && isPartial && Bool(ignoresWriteMask), a) + addPendingBitWhenBeat(in.fire() && (isPartial || Bool(ignoresWriteMask)), a) } }