Disable coverage policy for easier eval

This commit is contained in:
Hansung Kim
2023-05-14 19:20:36 -07:00
parent 9fd507fe46
commit e7b3455127

View File

@@ -591,11 +591,12 @@ class MultiCoalescer(
val minCoverage =
1.max(1 << ((config.maxCoalLogSize - config.wordSizeWidth) - 2))
when(normalizedHits.map(_ > minCoverage.U).reduce(_ || _)) {
chosenSizeIdx := argMax(normalizedHits)
chosenValid := true.B
printf("coalescing success by coverage policy\n")
}.elsewhen(normalizedMatches.map(_ > 1.U).reduce(_ || _)) {
// when(normalizedHits.map(_ > minCoverage.U).reduce(_ || _)) {
// chosenSizeIdx := argMax(normalizedHits)
// chosenValid := true.B
// printf("coalescing success by coverage policy\n")
// }.else
when(normalizedMatches.map(_ > 1.U).reduce(_ || _)) {
chosenSizeIdx := argMax(normalizedMatches)
chosenValid := true.B
printf("coalescing success by matches policy\n")
@@ -1418,6 +1419,8 @@ class MemTraceDriverImp(
sourceGen.io.reclaim.bits := tlOut.d.bits.source
// debug
dontTouch(reqQ.io.enq)
dontTouch(reqQ.io.deq)
when(tlOut.a.valid) {
TLPrintf(
"MemTraceDriver",