Related to #36, we need to simulate the return of snoop results from other caches, following a specific procedure based on the address referenced in the bus op. Specifications are below. We can add this as a helper or utility function that parses the address and returns the snoop result. GetSnoopResult can then call the helper function.
Specific requirement / clarification from Mark:
For the GetSnoopResult function, use the two least significant bits of the address as follows to determine the simulated snoop result:
"---00= HIT, ---01 = HitM ---10 or ---11 = NoHit"
Related to #36, we need to simulate the return of snoop results from other caches, following a specific procedure based on the address referenced in the bus op. Specifications are below. We can add this as a helper or utility function that parses the address and returns the snoop result.
GetSnoopResult
can then call the helper function.Specific requirement / clarification from Mark: