From b9e23a6d741cdcdf0ffb7364c6aae36a487335ef Mon Sep 17 00:00:00 2001 From: Tushar Krishna Date: Thu, 6 Oct 2016 14:35:17 -0400 Subject: config: add a separate config file for the network. This patch adds a new file configs/network/Network.py to setup the network, instead of doing that within Ruby.py. --- configs/example/fs.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs/example/fs.py') diff --git a/configs/example/fs.py b/configs/example/fs.py index a916ca49f..32fc699ba 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -51,8 +51,10 @@ from m5.util import addToPath, fatal addToPath('../common') addToPath('../ruby') +addToPath('../network') import Ruby +import Network from FSConfig import * from SysPaths import * @@ -306,6 +308,7 @@ Options.addFSOptions(parser) # Add the ruby specific and protocol specific options if '--ruby' in sys.argv: Ruby.define_options(parser) + Network.define_options(parser) (options, args) = parser.parse_args() -- cgit v1.2.3