Skip to content

Commit

Permalink
mem-ruby: Fix functional access in MI_example (gem5#1838)
Browse files Browse the repository at this point in the history
In MI_example, when in MI state the block "Maybe_Stale" as in this
controller may have the most up to date value or it could be in the
network. For MII it is guaranteed that this controller has the most up
to date value because it received a PUTX_NACK.

This fixes one of the daily test failures.
  • Loading branch information
powerjg authored Dec 5, 2024
1 parent 2625d23 commit f1e1d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mem/ruby/protocol/MI_example-cache.sm
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ machine(MachineType:L1Cache, "MI Example L1 Cache")
I, AccessPermission:Invalid, desc="Not Present/Invalid";
II, AccessPermission:Busy, desc="Not Present/Invalid, issued PUT";
M, AccessPermission:Read_Write, desc="Modified";
MI, AccessPermission:Busy, desc="Modified, issued PUT";
MII, AccessPermission:Busy, desc="Modified, issued PUTX, received nack";
MI, AccessPermission:Maybe_Stale, desc="Modified, issued PUT";
MII, AccessPermission:Read_Write, desc="Modified, issued PUTX, received nack";

IS, AccessPermission:Busy, desc="Issued request for LOAD/IFETCH";
IM, AccessPermission:Busy, desc="Issued request for STORE/ATOMIC";
Expand Down

0 comments on commit f1e1d4c

Please sign in to comment.