gem5/configs/ruby
Andreas Hansson 68fdccb30b ruby: Fix regressions and make Ruby configs Python packages
This patch moves the addition of network options into the Ruby module
to avoid the regressions all having to add it explicitly. Doing this
exposes an issue in our current config system though, namely the fact
that addtoPath is relative to the Python script being executed. Since
both example and regression scripts use the Ruby module we would end
up with two different (relative) paths being added. Instead we take a
first step at turning the config modules into Python packages, simply
by adding a __init__.py in the configs/ruby, configs/topologies and
configs/network subdirectories.

As a result, we can now add the top-level configs directory to the
Python search path, and then use the package names in the various
modules. The example scripts are also updated, and the messy
path-deducing variations in the scripts are unified.
2016-10-13 03:17:19 -04:00
..
__init__.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
AMD_Base_Constructor.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
CntrlBase.py config: add base class for ruby controllers 2015-07-20 09:15:18 -05:00
Garnet_standalone.py ruby: rename ALPHA_Network_test protocol to Garnet_standalone. 2016-10-06 14:35:14 -04:00
GPU_RfO.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
GPU_VIPER.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
GPU_VIPER_Baseline.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
GPU_VIPER_Region.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
MESI_Three_Level.py ruby: more flexible ruby tester support 2015-07-20 09:15:18 -05:00
MESI_Two_Level.py ruby: more flexible ruby tester support 2015-07-20 09:15:18 -05:00
MI_example.py ruby: more flexible ruby tester support 2015-07-20 09:15:18 -05:00
MOESI_AMD_Base.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00
MOESI_CMP_directory.py ruby: more flexible ruby tester support 2015-07-20 09:15:18 -05:00
MOESI_CMP_token.py ruby: more flexible ruby tester support 2015-07-20 09:15:18 -05:00
MOESI_hammer.py ruby: more flexible ruby tester support 2015-07-20 09:15:18 -05:00
Ruby.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00