diff options
author | David Hashe <david.hashe@amd.com> | 2015-07-20 09:15:18 -0500 |
---|---|---|
committer | David Hashe <david.hashe@amd.com> | 2015-07-20 09:15:18 -0500 |
commit | 0d00cbc97b47344e12e9eb943efb9ca29db66898 (patch) | |
tree | 705c0b835f10b1f910b9753b96d07ee8b474f4f9 /src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc | |
parent | 8b32dad4d8545bf33285853936ede834cb39cf77 (diff) | |
download | gem5-0d00cbc97b47344e12e9eb943efb9ca29db66898.tar.xz |
ruby: change router pipeline stages to 2
This patch changes the router pipeline stages from 4 to 2. The
canonical 4-stage router is conservative while a lower-latency router
with look ahead routing and speculative allocation is well acknowledged.
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc index 126cf79e6..97bc1abdd 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc @@ -131,6 +131,18 @@ Router_d::swarb_req() } void +Router_d::call_sw_alloc() +{ + m_sw_alloc->wakeup(); +} + +void +Router_d::call_switch() +{ + m_switch->wakeup(); +} + +void Router_d::update_incredit(int in_port, int in_vc, int credit) { m_input_unit[in_port]->update_credit(in_vc, credit); |