Searched hist:9869 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/mem/ruby/network/ | ||
H A D | Topology.cc | diff 9869:a204694db4f9 Wed Sep 11 16:35:00 EDT 2013 Joel Hestness <jthestness@gmail.com> ruby: Fix Topology throttle connections The Topology source sets up input and output buffers for each of the external nodes of a topology by indexing on Ruby's generated controller unique IDs. These unique IDs are found by adding the MachineType_base_number to the version number of each controller (see any generated *_Controller.cc - init() calls getToNetQueue and getFromNetQueue using m_version + base). However, the Topology object used the cntrl_id - which is required to be unique across all controllers - to index the controllers list as they are being connected to their input and output buffers. If the cntrl_ids did not match the Ruby unique ID, the throttles end up connected to incorrectly indexed nodes in the network, resulting in packets traversing incorrect network paths. This patch fixes the Topology indexing scheme by using the Ruby unique ID to match that of the SimpleNetwork buffer vectors. |
Completed in 9 milliseconds