From 7c2df9f0bfed1719a5d3bc40c0f6be34c4e4d68c Mon Sep 17 00:00:00 2001 From: Gleb Gagarin Date: Fri, 1 Dec 2017 16:28:28 -0800 Subject: [PATCH] Cover the case when there is an ECC error in DCache data array during fence.i execution --- src/main/scala/rocket/DCache.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/rocket/DCache.scala b/src/main/scala/rocket/DCache.scala index cecc8445..fbb2a679 100644 --- a/src/main/scala/rocket/DCache.scala +++ b/src/main/scala/rocket/DCache.scala @@ -713,6 +713,7 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) { } } ccover(s2_valid_masked && s2_req.cmd === M_FLUSH_ALL && s2_meta_error, "TAG_ECC_ERROR_DURING_FENCE_I", "D$ ECC error in tag array during cache flush") + ccover(s2_valid_masked && s2_req.cmd === M_FLUSH_ALL && s2_data_error, "DATA_ECC_ERROR_DURING_FENCE_I", "D$ ECC error in data array during cache flush") s1_flush_valid := metaArb.io.in(5).fire() && !s1_flush_valid && !s2_flush_valid_pre_tag_ecc && release_state === s_ready && !release_ack_wait metaArb.io.in(5).valid := flushing metaArb.io.in(5).bits.write := false