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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

proc proc proc<br />

pmb mpb pmb mpb pmb mpb<br />

sache sache sache<br />

interconnect<br />

memory memory memory<br />

SYS SITEs System<br />

SITEs SITE [] SITE j SITEs Set <strong>of</strong> Sites<br />

SITE Site(id , MEM, SACHE, PMB, MPB, PROC) Site<br />

SACHE [] Cell(a,v,CSTATE) j SACHE Semantic <strong>Cache</strong><br />

CSTATE [] id jCSTATE <strong>Cache</strong> State<br />

Figure 3.7: System Con guration <strong>of</strong> GCRF<br />

Commit <strong>and</strong> Reconcile Rules: A Commit can be completed if the address is uncached or<br />

the data has been written back to all the sites since its most recent update. A Reconcile can<br />

be completed if the address is uncached or the modi ed data has not been written back toall<br />

the sites.<br />

GCRF-Commit Rule<br />

Site(id , mem, sache, ht,Commit(a)ipmb, mpb, proc) if a =2 sache _ Cell(a,-, ) 2 sache<br />

! Site(id , mem, sache, pmb, mpbjht,Acki, proc)<br />

GCRF-Reconcile Rule<br />

Site(id , mem, sache, ht,Reconcile(a)ipmb, mpb, proc) if Cell(a,-, ) =2 sache<br />

! Site(id , mem, sache, pmb, mpbjht,Acki, proc)<br />

<strong>Cache</strong>, Writeback <strong>and</strong> Purge Rules: A sache can obtain a clean copy from its own memory<br />

if the address is not cached at the time. A sache can write the data <strong>of</strong> a cell back to a memory<br />

that has not been updated according to the sache state. A sache can purge a cell if the data<br />

has been written back to all the sites since its most recent update.<br />

GCRF-<strong>Cache</strong> Rule<br />

Site(id , mem, sache, pmb, mpb, proc) if a =2 sache<br />

! Site(id , mem, Cell(a,mem[a], ) j sache, pmb, mpb, proc)<br />

63

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

Saved successfully!

Ooh no, something went wrong!