Merge pull request #1138 from freechipsproject/cover_tag_ecc_error_during_fence_i
Added coverage point to cover the case when ECC error happens during …
This commit is contained in:
		| @@ -712,6 +712,8 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) { | |||||||
|       flushing := !release_ack_wait && !uncachedInFlight.asUInt.orR |       flushing := !release_ack_wait && !uncachedInFlight.asUInt.orR | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |   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 |   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).valid := flushing | ||||||
|   metaArb.io.in(5).bits.write := false |   metaArb.io.in(5).bits.write := false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user