summaryrefslogtreecommitdiff
path: root/configs/learning_gem5/part3/simple_ruby.py
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2018-03-09 12:10:54 -0800
committerJason Lowe-Power <jason@lowepower.com>2018-03-23 15:50:28 +0000
commit173227b390895636947c7c1bf5cbcd60d3c40ee7 (patch)
treee9882fd5be1f208203b6dbdb76b53a3d68ac9894 /configs/learning_gem5/part3/simple_ruby.py
parentd9f9b80dc9b7f1d892f9b977a1342e98ebc75b00 (diff)
downloadgem5-173227b390895636947c7c1bf5cbcd60d3c40ee7.tar.xz
learning_gem5: Add a simple config for MI_example
Adds a new config script to configure the MI_example protocol. This script closely follows the script used for MSI, but instead supports the MI_example protocol. This script works with the simple_ruby runscript and can be included instead of msi_caches. Change-Id: I8be0be67bf51369763ba103a5f101cfc01ad8859 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/8945 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'configs/learning_gem5/part3/simple_ruby.py')
-rw-r--r--configs/learning_gem5/part3/simple_ruby.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/learning_gem5/part3/simple_ruby.py b/configs/learning_gem5/part3/simple_ruby.py
index bf21be9e1..9b89b78fd 100644
--- a/configs/learning_gem5/part3/simple_ruby.py
+++ b/configs/learning_gem5/part3/simple_ruby.py
@@ -44,6 +44,8 @@ import m5
# import all of the SimObjects
from m5.objects import *
+# You can import ruby_caches_MI_example to use the MI_example protocol instead
+# of the MSI protocol
from msi_caches import MyCacheSystem
# create the system we are going to simulate