Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A multicore system contains two ( 2 ) RISC V processors, P 1 and P 2 . Each processor maintains a private data cache employing
A multicore system contains two RISC V processors, P and P Each processor maintains a private data cache employing a writeback update scheme with the MESI snooping protocol as shown in Fig. to maintain coherence.
MESIvpng
Figure State transition diagram for the MESI protocol.
Processors P and P execute a sequence of memory access operations on a shared memory address in the following order the address is stored in register a on both P and P:
a: x
P: lw ta
P: sw ta
P: lw ta
P: sw ta
P: lw ta
P: sw ta
Using the tabular format shown below, list the shared bus transactions Bus Read, Bus Read Ex Bus Write or Shared and the state Modified Exclusive, Shared or Invalid of the cache entry for Mema in the cache for both P and P after each instruction. If no shared bus transaction is issued, enter None
Operation P Bus Transaction P Bus Transaction P Cache State P Cache State
Initial state Invalid Invalid
P: lw ta
P: sw ta
P: lw ta
P: sw ta
P: lw ta
P: sw ta
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started