gem5/configs/topologies
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
..
BaseTopology.py ruby: network: correct naming of routers 2013-09-06 16:21:33 -05:00
Cluster.py config: fix typo in cluster topology. 2016-10-07 23:56:48 -04:00
Crossbar.py ruby: garnet2.0 2016-10-06 14:35:22 -04:00
CrossbarGarnet.py config: make internal links in network topology unidirectional. 2016-10-06 14:35:18 -04:00
MeshDirCorners_XY.py ruby: garnet2.0 2016-10-06 14:35:22 -04:00
Mesh_XY.py ruby: garnet2.0 2016-10-06 14:35:22 -04:00
Mesh_westfirst.py ruby: garnet2.0 2016-10-06 14:35:22 -04:00
Pt2Pt.py ruby: garnet2.0 2016-10-06 14:35:22 -04:00
__init__.py ruby: Fix regressions and make Ruby configs Python packages 2016-10-13 03:17:19 -04:00