diff options
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc | 4 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc index 5f9493806..db71c9974 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc @@ -60,7 +60,7 @@ NetworkInterface_d::NetworkInterface_d(const Params *p) // instantiating the NI flit buffers for (int i = 0; i < m_num_vcs; i++) { m_ni_buffers[i] = new flitBuffer_d(); - m_ni_enqueue_time[i] = INFINITE_; + m_ni_enqueue_time[i] = Cycles(INFINITE_); } m_vc_allocator.resize(m_virtual_networks); // 1 allocator per vnet @@ -330,7 +330,7 @@ NetworkInterface_d::scheduleOutputLink() if (t_flit->get_type() == TAIL_ || t_flit->get_type() == HEAD_TAIL_) { - m_ni_enqueue_time[vc] = INFINITE_; + m_ni_enqueue_time[vc] = Cycles(INFINITE_); } return; } diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh index 0b8b9f12f..05142cd28 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh @@ -86,7 +86,7 @@ class NetworkInterface_d : public ClockedObject, public Consumer // Input Flit Buffers // The flit buffers which will serve the Consumer std::vector<flitBuffer_d *> m_ni_buffers; - std::vector<Time> m_ni_enqueue_time; + std::vector<Cycles> m_ni_enqueue_time; // The Message buffers that takes messages from the protocol std::vector<MessageBuffer *> inNode_ptr; |