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>
This commit is contained in:
committed by
Daniel Carvalho
parent
75035f5674
commit
121160d97f
@@ -36,8 +36,11 @@ import math
|
||||
import m5
|
||||
from m5.objects import *
|
||||
from m5.defines import buildEnv
|
||||
from m5.util import convert
|
||||
from m5.util import addToPath, convert
|
||||
from CntrlBase import *
|
||||
|
||||
addToPath('../')
|
||||
|
||||
from topologies.Cluster import Cluster
|
||||
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -35,8 +35,11 @@ import math
|
||||
import m5
|
||||
from m5.objects import *
|
||||
from m5.defines import buildEnv
|
||||
from m5.util import addToPath
|
||||
from Ruby import send_evicts
|
||||
|
||||
addToPath('../')
|
||||
|
||||
from topologies.Cluster import Cluster
|
||||
|
||||
class CntrlBase:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -47,6 +47,8 @@ from m5.objects import *
|
||||
from m5.defines import buildEnv
|
||||
from m5.util import addToPath, fatal
|
||||
|
||||
addToPath('../')
|
||||
|
||||
from common import MemConfig
|
||||
|
||||
from topologies import *
|
||||
|
||||
Reference in New Issue
Block a user