































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
































for bus requests cache blockfor each
Cache Block
State
P1 P2 Bus Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr Value P1: Write 10 to A1 Excl. A1 10 WrMs P1 A P1: Read A P2: Read A
P2: Write 20 to A P2: Write 40 to A
P1 P2 Bus Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr Value P1: Write 10 to A1 Excl. A1 10 WrMs P1 A P1: Read A1 Excl. A1 10 P2: Read A
P2: Write 20 to A P2: Write 40 to A
P1 P2 Bus Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr Value P1: Write 10 to A1 Excl. A1 10 WrMs P1 A P1: Read A1 Excl. A1 10 P2: Read A1 Shar. A1 RdMs P2 A Shar. A1 10 WrBk P1 A1 10 10 Shar. A1 10 RdDa P2 A1 10 10 P2: Write 20 to A1 Inv. Excl. A1 20 WrMs P2 A1 10 P2: Write 40 to A2 10 10
P1 P2 Bus Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr Value P1: Write 10 to A1 Excl. A1 10 WrMs P1 A P1: Read A1 Excl. A1 10 P2: Read A1 Shar. A1 RdMs P2 A Shar. A1 10 WrBk P1 A1 10 10 Shar. A1 10 RdDa P2 A1 10 10 P2: Write 20 to A1 Inv. Excl. A1 20 WrMs P2 A1 10 P2: Write 40 to A2 WrMs P2 A2 10 Excl. A2 40 WrBk P2 A1 20 20
in addition to read and write
block in the cache
could interfere with CPU just to check:
Remote Read Place Data on Bus?
Remote Write or Miss due to address conflict
Write back block
Remote Write or Miss due to address conflict Invalid
Shared (read/only)
Modified (read/write)
CPU Read hit
CPU Read
CPU Write Place Write Miss on bus
CPU Write
CPU read hit CPU write hit
Exclusive (read/only)
CPU Write Place Write Miss on Bus? CPU Read hit
Remote Read Write back block
Place read miss on bus
Place Write Miss on Bus