diff options
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.hh')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.hh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.hh index 7ffaf423e..24fe6083d 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.hh @@ -51,17 +51,12 @@ class Switch_d : public Consumer void check_for_wakeup(); void print(std::ostream& out) const {}; - inline void - update_sw_winner(int inport, flit_d *t_flit) - { - m_switch_buffer[inport]->insert(t_flit); - } + inline void update_sw_winner(int inport, flit_d *t_flit) + { m_switch_buffer[inport]->insert(t_flit); } - inline double - get_crossbar_count() - { - return m_crossbar_activity; - } + inline double get_crossbar_count() { return m_crossbar_activity; } + + uint32_t functionalWrite(Packet *pkt); private: int m_num_vcs; |