Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shazqadeer committed Nov 24, 2024
1 parent 6842296 commit c24c996
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Test/civl/large-samples/cache-coherence.bpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
// RUN: %parallel-boogie -vcsSplitOnEveryAssert "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

/*
This example constructs a directory-based MESI cache coherence protocol.
Many important details of a realistic protocol are modeled.
- Individual steps taken by the cache and directory controllers are fine-grained.
- Operations on the cache controller are non-blocking.
- Multiple memory addresses may map to the same cache address.
- A cache line may be evicted nondeterministically.
*/

type MemAddr;
type CacheAddr;
function Hash(MemAddr): CacheAddr;
Expand Down

0 comments on commit c24c996

Please sign in to comment.