Skip to content

Conversation

@ngc7331
Copy link
Member

@ngc7331 ngc7331 commented Nov 14, 2025

After OpenXiangShan/XiangShan#3051, we have supported low-power read (read only 5 out of 8 8B-banks) in ICacheDataArray, and in V3, it was further modified to dynamically compute the mask based on the taken branch location.

Though, refill-check in difftest does not support masked comparison, instead it checks entire 512bit, so it will fail if we enable checks on cacheid >=3 (#712).

OpenXiangShan/XiangShan#5188 have disabled checks on cacheid >= 3 temporarily. But as we're refactoring ICache recently, we need this check to ensure the refactored code is working properly.

Therefore, this PR tries to introduce masked refill-check, each mask bit controls comparison of 8B data.

@ngc7331 ngc7331 requested a review from klin02 November 14, 2025 03:58
@ngc7331 ngc7331 marked this pull request as ready for review November 14, 2025 04:52
@klin02 klin02 merged commit 418350e into master Nov 14, 2025
5 checks passed
@klin02 klin02 deleted the feat-refill-test-mask branch November 14, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants