ruby: network: garnet: fixed: removes next cycle functions
authorNilay Vaish <nilay@cs.wisc.edu>
Thu, 20 Feb 2014 23:28:01 +0000 (17:28 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Thu, 20 Feb 2014 23:28:01 +0000 (17:28 -0600)
commitf8f8b7e5c2382dac32a8109c56f1aaad7e6a5fd7
treeebc3d4f4de1ff44452ff1d2a9040cd28c532977f
parent896654746adeebc264150692a9dda4e3fa48a6a3
ruby: network: garnet: fixed: removes next cycle functions
At several places, there are functions that take a cycle value as input
and performs some computation.  Along with each such function, another
function was being defined that simply added one more cycle to input and
computed the same function.  This patch removes this second copy of the
function.  Places where these functions were being called have been updated
to use the original function with argument being current cycle + 1.
src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh
src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/SWallocator_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/VCallocator_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/VirtualChannel_d.hh
src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.hh
src/mem/ruby/network/garnet/fixed-pipeline/flit_d.hh