config: add port directions and per-router delay in topology.
authorTushar Krishna <tushar@ece.gatech.edu>
Thu, 6 Oct 2016 18:35:20 +0000 (14:35 -0400)
committerTushar Krishna <tushar@ece.gatech.edu>
Thu, 6 Oct 2016 18:35:20 +0000 (14:35 -0400)
commit0962d768270696395dacfbd2ceabe4ee1035a496
tree21feb5b3453c613dd4c35f0177b5333f97a5d967
parent003c08fa90f8b3eb7fbbbc96e0caa5f46bf58196
config: add port directions and per-router delay in topology.
This patch adds port direction names to the links during topology
creation, which can be used for better printed names for the links
or for users to code up their own adaptive routing algorithms.
It also adds support for every router to have an independent latency
value to support heterogeneous topologies with the subsequent
garnet2.0 patch.
14 files changed:
configs/topologies/Mesh_XY.py
src/mem/ruby/network/BasicLink.py
src/mem/ruby/network/BasicRouter.cc
src/mem/ruby/network/BasicRouter.hh
src/mem/ruby/network/BasicRouter.py
src/mem/ruby/network/Network.hh
src/mem/ruby/network/Topology.cc
src/mem/ruby/network/Topology.hh
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh
src/mem/ruby/network/simple/SimpleNetwork.cc
src/mem/ruby/network/simple/SimpleNetwork.hh