From 973eb43128e1294030f0527e530e0f71150d6023 Mon Sep 17 00:00:00 2001 From: Henry Cook Date: Mon, 5 Jan 2015 19:48:49 -0800 Subject: [PATCH] state machine bug on uncached write hits --- uncore/src/main/scala/cache.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uncore/src/main/scala/cache.scala b/uncore/src/main/scala/cache.scala index af3a53c7..468b6587 100644 --- a/uncore/src/main/scala/cache.scala +++ b/uncore/src/main/scala/cache.scala @@ -870,7 +870,9 @@ class L2AcquireTracker(trackerId: Int, bankId: Int, innerId: String, outerId: St xact_data(local_data_resp_cnt) := mergeData(xact, xact_data(local_data_resp_cnt), io.data.resp.bits.data) } - when(local_data_resp_done) { state := s_meta_write } + when(local_data_resp_done) { + state := Mux(co.messageHasData(xact), s_data_write, s_meta_write) + } } is(s_data_write) { io.data.write.valid := Bool(true)