summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc
diff options
context:
space:
mode:
authorDavid Hashe <david.hashe@amd.com>2015-07-20 09:15:18 -0500
committerDavid Hashe <david.hashe@amd.com>2015-07-20 09:15:18 -0500
commit8b32dad4d8545bf33285853936ede834cb39cf77 (patch)
treef90658a35f37477d161491db0b9e2f37516c68cf /src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc
parentf9fa242f423a7bfe144d6c48383443ee71d10f35 (diff)
downloadgem5-8b32dad4d8545bf33285853936ede834cb39cf77.tar.xz
ruby: change advance_stage for flit_d
Sets m_stage.second to the second parameter of the function. Then, for every place where advance_stage is called, adds a cycle to the argument being passed.
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc')
-rw-r--r--src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc
index 6cb60032a..fb147babc 100644
--- a/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc
+++ b/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.cc
@@ -81,7 +81,7 @@ InputUnit_d::wakeup()
m_vcs[vc]->set_enqueue_time(m_router->curCycle());
} else {
- t_flit->advance_stage(SA_, m_router->curCycle());
+ t_flit->advance_stage(SA_, m_router->curCycle() + Cycles(1));
m_router->swarb_req();
}
// write flit into input buffer