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 | 8b32dad4d8545bf33285853936ede834cb39cf77 (patch) | |
tree | f90658a35f37477d161491db0b9e2f37516c68cf /src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc | |
parent | f9fa242f423a7bfe144d6c48383443ee71d10f35 (diff) | |
download | gem5-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/VirtualChannel_d.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc index 109d2a3be..4db087188 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc @@ -57,7 +57,7 @@ VirtualChannel_d::grant_vc(int out_vc, Cycles curTime) m_vc_state.first = ACTIVE_; m_vc_state.second = curTime + Cycles(1); flit_d *t_flit = m_input_buffer->peekTopFlit(); - t_flit->advance_stage(SA_, curTime); + t_flit->advance_stage(SA_, curTime + Cycles(1)); } bool |