Invalidate TL error bit in D$ once progress is made
This commit is contained in:
parent
d8d4504995
commit
6176b348dc
@ -305,6 +305,7 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) {
|
|||||||
}
|
}
|
||||||
when (lrscCount > 0) { lrscCount := lrscCount - 1 }
|
when (lrscCount > 0) { lrscCount := lrscCount - 1 }
|
||||||
when ((s2_valid_masked && lrscCount > 0) || io.cpu.invalidate_lr) { lrscCount := 0 }
|
when ((s2_valid_masked && lrscCount > 0) || io.cpu.invalidate_lr) { lrscCount := 0 }
|
||||||
|
when (s2_valid_masked || io.cpu.invalidate_lr) { tl_error_valid := false }
|
||||||
|
|
||||||
// don't perform data correction if it might clobber a recent store
|
// don't perform data correction if it might clobber a recent store
|
||||||
val s2_correct = s2_data_error && !any_pstore_valid && !RegNext(any_pstore_valid) && Bool(usingDataScratchpad)
|
val s2_correct = s2_data_error && !any_pstore_valid && !RegNext(any_pstore_valid) && Bool(usingDataScratchpad)
|
||||||
|
Loading…
Reference in New Issue
Block a user