learning_gem5: Add a simple Ruby protocol
authorJason Lowe-Power <jason@lowepower.com>
Fri, 9 Mar 2018 20:01:34 +0000 (12:01 -0800)
committerJason Lowe-Power <jason@lowepower.com>
Fri, 23 Mar 2018 15:50:28 +0000 (15:50 +0000)
commit0169113414abff79f9d3519b8de0e54f2782ba82
tree1f1d71e5ee00295904e102e6060185cc01ae810d
parent288cbf81451f24871d8e90cd1365841521d947a6
learning_gem5: Add a simple Ruby protocol

Adds the MSI protocol from "A Primer on Memory Consistency and Cache
Coherence" by Daniel J. Sorin, Mark D. Hill, and David A. Wood.

This code follows Learning gem5 Part 3.
http://learning.gem5.org/book/part3/index.html

This is meant to be a simple, clean, example of how to make a Ruby
protocol.
Currently, it only works in SE mode.

The next changeset will contain the required configuration files.

Change-Id: If2cc53f5e6b9c6891749f929d872671615a2b4ab
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/8942
src/learning_gem5/part3/MSI-cache.sm [new file with mode: 0644]
src/learning_gem5/part3/MSI-dir.sm [new file with mode: 0644]
src/learning_gem5/part3/MSI-msg.sm [new file with mode: 0644]
src/learning_gem5/part3/MSI.slicc [new file with mode: 0644]
src/learning_gem5/part3/SConsopts [new file with mode: 0644]