summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/learning_gem5/part1/caches.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/learning_gem5/part1/caches.py b/configs/learning_gem5/part1/caches.py
index 74999cd57..5183c134d 100644
--- a/configs/learning_gem5/part1/caches.py
+++ b/configs/learning_gem5/part1/caches.py
@@ -33,9 +33,12 @@ This file contains L1 I/D and L2 caches to be used in the simple
gem5 configuration script. It uses the SimpleOpts wrapper to set up command
line options from each individual class.
"""
-
+import m5
from m5.objects import Cache
+# Add the common scripts to our path
+m5.util.addToPath('../../')
+
from common import SimpleOpts
# Some specific options for caches