Skip to content

Commit 3697ac6

Browse files
committed
scoreboard: Fix coll/wb updates being dropped by later RS updates
1 parent bb0f379 commit 3697ac6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main/scala/radiance/muon/Scoreboard.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,8 @@ class Scoreboard(implicit p: Parameters) extends CoreModule()(p) {
296296
}
297297

298298
when (warpIo.updateRS.enable || io.updateWB.enable || io.updateColl.enable) {
299-
// rsReadRecs / rsWriteRecs always contains coll/WB update recs, as
300-
// passed in applyUpdates
301-
commitUpdate(rsReadRecs, isWrite = false)
302-
commitUpdate(rsWriteRecs, isWrite = true)
299+
commitUpdate(collRecs ++ rsReadRecs, isWrite = false)
300+
commitUpdate(wbRecs ++ rsWriteRecs, isWrite = true)
303301

304302
when (!rsReadSuccess) {
305303
printf(cf"scoreboard: warp=${warpId}: failed to commit RS update due to read overflow: ")

0 commit comments

Comments
 (0)