09.08.2013 Views

Design and Verification of Adaptive Cache Coherence Protocols ...

Design and Verification of Adaptive Cache Coherence Protocols ...

Design and Verification of Adaptive Cache Coherence Protocols ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C-engine Rule <strong>of</strong> <strong>Cache</strong>t Deriving Imperative & Directive Rules<br />

VC1 IC1<br />

VC2 IC2<br />

VC3 IC3<br />

VC4 IC4<br />

VC5 IC5<br />

VC6 IC6<br />

VC7 IC7<br />

MC1 IC8<br />

MC2 IC1 + IC13<br />

MC3 IC10<br />

MC4 IC11<br />

MC5 IC12<br />

MC6 IC13<br />

MC7 IC14<br />

MC8 IC15<br />

MC9 IC16<br />

MC10 IC17<br />

MC11 IC18<br />

MC12 IC19<br />

MC13 IC20<br />

MC14 IC21<br />

MC15 IC22<br />

MC16 Receive-DownReqwb<br />

MC17 Receive-DownReqwb<br />

MC18 Receive-DownReqwb +IC3<br />

MC19 Receive-DownReqwb +IC4<br />

MC20 Receive-DownReqwb<br />

MC21 Receive-DownReqwb<br />

MC22 Receive-DownReqwb<br />

MC23 Receive-DownReqmw<br />

MC24 Receive-DownReqmw<br />

MC25 Receive-DownReqmw<br />

MC26 Receive-DownReqmw<br />

MC27 Receive-DownReqmw + IC5<br />

MC28 Receive-DownReqmw + IC6<br />

MC29 Receive-DownReqmw<br />

MC30 Receive-DownReqmw<br />

MC31 Receive-DownReqmw<br />

Figure 7.15: Derivation <strong>of</strong> <strong>Cache</strong> Engine Rules <strong>of</strong> <strong>Cache</strong>t<br />

The composite C-engine rules include the composite imperative C-engine rules given in<br />

Figure 7.9, <strong>and</strong> some additional rules that are needed to process Migratory-to-Base downgrade<br />

requests. A Migratory-to-Base message behaves as a DownReqmw followed by aDownReqwb.<br />

The memory may send a composite message to a cache under certain circumstances. If the<br />

memory state is Cw[ ], the memory can send a Migratory message to supply a Migratory copy<br />

to a cache site. If the memory state is Cm[id ], the memory can send a DownReqmb message<br />

to cache site id to downgrade the cache cell from Migratory to Base. In addition, the memory<br />

can acknowledge the last resumed writeback operation with a WbAckm message to allow the<br />

cache to retain a Migratory copy. When the memory receives a composite message, it processes<br />

the message as a sequence <strong>of</strong> basic messages. The memory treats a Wbw message as a Downwb<br />

followed by aWbb, a Downmb message as aDownmw followed by aDownwb, <strong>and</strong>aDownVmb<br />

message as a DownVmw followed by aDownwb.<br />

155

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!