summaryrefslogtreecommitdiff
path: root/configs/example/ruby_random_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/example/ruby_random_test.py')
-rw-r--r--configs/example/ruby_random_test.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py
index 44df082b3..a0dca297e 100644
--- a/configs/example/ruby_random_test.py
+++ b/configs/example/ruby_random_test.py
@@ -34,13 +34,10 @@ from m5.defines import buildEnv
from m5.util import addToPath
import os, optparse, sys
addToPath('../common')
-addToPath('../ruby')
-addToPath('../network')
-addToPath('../topologies')
+addToPath('../')
import Options
-import Ruby
-import Network
+from ruby import Ruby
# Get paths we might need. It's expected this file is in m5/configs/example.
config_path = os.path.dirname(os.path.abspath(__file__))
@@ -59,7 +56,6 @@ parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
# Add the ruby specific and protocol specific options
#
Ruby.define_options(parser)
-Network.define_options(parser)
execfile(os.path.join(config_root, "common", "Options.py"))