summaryrefslogtreecommitdiff
path: root/configs/ruby/MOESI_AMD_Base.py
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2018-11-07 10:24:24 +0100
committerDaniel Carvalho <odanrc@yahoo.com.br>2018-11-08 09:45:08 +0000
commit121160d97f3d41220a26d3371a277434c3defea3 (patch)
treee9bff05eb791c5912dd91b2ba34b0dc1ed90b2bb /configs/ruby/MOESI_AMD_Base.py
parent75035f5674df3e497d69404a9093b852d2ccf7aa (diff)
downloadgem5-121160d97f3d41220a26d3371a277434c3defea3.tar.xz
configs: Add missing path to ruby imports
Add missing addToPath to ruby files, so that import modules from previous folder are visible. Change-Id: I912d78a2f709974f72fe768e73abac1617126f46 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/13995 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs/ruby/MOESI_AMD_Base.py')
-rw-r--r--configs/ruby/MOESI_AMD_Base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/ruby/MOESI_AMD_Base.py b/configs/ruby/MOESI_AMD_Base.py
index 407f2e86c..ad1654393 100644
--- a/configs/ruby/MOESI_AMD_Base.py
+++ b/configs/ruby/MOESI_AMD_Base.py
@@ -35,9 +35,12 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
+from m5.util import addToPath
from Ruby import create_topology
from Ruby import send_evicts
+addToPath('../')
+
from topologies.Cluster import Cluster
from topologies.Crossbar import Crossbar