diff options
Diffstat (limited to 'configs/example/garnet_synth_traffic.py')
-rw-r--r-- | configs/example/garnet_synth_traffic.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/garnet_synth_traffic.py b/configs/example/garnet_synth_traffic.py index a4c44efbc..8962c4af1 100644 --- a/configs/example/garnet_synth_traffic.py +++ b/configs/example/garnet_synth_traffic.py @@ -33,10 +33,12 @@ from m5.util import addToPath import os, optparse, sys addToPath('../common') addToPath('../ruby') +addToPath('../network') addToPath('../topologies') import Options import Ruby +import Network # Get paths we might need. It's expected this file is in m5/configs/example. config_path = os.path.dirname(os.path.abspath(__file__)) @@ -85,6 +87,7 @@ parser.add_option("--inj-vnet", type="int", default=-1, # 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")) |