From 93aa370b87c9028b90fcf9bf80099cda6430393a Mon Sep 17 00:00:00 2001 From: Sagar Karandikar Date: Thu, 3 Dec 2015 14:03:10 -0800 Subject: [PATCH] yunsup's fix for dgemm-opt assertion failure --- uncore/src/main/scala/tilelink.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncore/src/main/scala/tilelink.scala b/uncore/src/main/scala/tilelink.scala index aea7e8e5..21c38a36 100644 --- a/uncore/src/main/scala/tilelink.scala +++ b/uncore/src/main/scala/tilelink.scala @@ -981,7 +981,7 @@ class FinishUnit(srcId: Int = 0, outstanding: Int = 2)(implicit p: Parameters) e io.finish.valid := q.io.deq.valid q.io.deq.ready := io.finish.ready - io.refill.valid := io.grant.valid + io.refill.valid := (q.io.enq.ready || !g.requiresAck()) && io.grant.valid io.refill.bits := g io.grant.ready := (q.io.enq.ready || !g.requiresAck()) && io.refill.ready io.ready := q.io.enq.ready