From 7eef3393f11ef5c87e1532fa2171e1436c962a31 Mon Sep 17 00:00:00 2001 From: Henry Cook Date: Wed, 2 Mar 2016 10:59:18 -0800 Subject: [PATCH] fix bug resulting in different g_types on tail beats in L2CacheBank.io.inner.grant --- 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 338f8f88..fda44abc 100644 --- a/uncore/src/main/scala/cache.scala +++ b/uncore/src/main/scala/cache.scala @@ -935,7 +935,7 @@ class L2AcquireTracker(trackerId: Int)(implicit p: Parameters) extends L2XactTra Mux(ognt_data_done, pending_coh_on_ognt.outer, pending_coh.outer)) - updatePendingCohWhen(io.inner.grant.fire(), pending_coh_on_ignt) + updatePendingCohWhen(io.inner.grant.fire() && io.ignt().last(), pending_coh_on_ignt) // We must wait for as many Finishes as we sent Grants io.inner.finish.ready := state === s_busy