Searched refs:flit (Results 1 - 21 of 21) sorted by relevance

/gem5/src/mem/ruby/network/garnet2.0/
H A DflitBuffer.hh42 #include "mem/ruby/network/garnet2.0/flit.hh"
57 flit *
60 flit *f = m_buffer.front();
61 std::pop_heap(m_buffer.begin(), m_buffer.end(), flit::greater);
66 flit *
73 insert(flit *flt)
76 std::push_heap(m_buffer.begin(), m_buffer.end(), flit::greater);
82 std::vector<flit *> m_buffer;
H A DCredit.hh42 #include "mem/ruby/network/garnet2.0/flit.hh"
45 // Carries m_vc (inherits from flit.hh)
48 class Credit : public flit
H A Dflit.hh44 class flit class
47 flit() {} function in class:flit
48 flit(int id, int vc, int vnet, RouteInfo route, int size,
90 greater(flit* n1, flit* n2)
117 operator<<(std::ostream& out, const flit& obj)
H A Dflit.cc34 #include "mem/ruby/network/garnet2.0/flit.hh"
36 // Constructor for the flit
37 flit::flit(int id, int vc, int vnet, RouteInfo route, int size, function in class:flit
66 flit::print(std::ostream& out) const
68 out << "[flit:: ";
82 flit::functionalWrite(Packet *pkt)
H A DNetworkLink.hh69 inline flit* peekLink() { return linkBuffer->peekTopFlit(); }
70 inline flit* consumeLink() { return linkBuffer->getTopFlit(); }
H A DNetworkInterface.hh95 std::deque<flit *> m_stall_queue;
99 // The flit buffers which will serve the Consumer
116 void sendCredit(flit *t_flit, bool is_free);
118 void incrementStats(flit *t_flit);
H A DVirtualChannel.hh66 insertFlit(flit *t_flit)
78 inline flit*
84 inline flit*
H A DCrossbarSwitch.hh56 inline void update_sw_winner(int inport, flit *t_flit)
H A DVirtualChannel.cc75 flit *t_flit = m_input_buffer->peekTopFlit();
H A DflitBuffer.cc56 flit *t_flit = peekTopFlit();
H A DInputUnit.hh103 inline flit*
109 inline flit*
H A DCrossbarSwitch.cc70 * and sends the winning flit (from SA) out of its output port on to the
85 flit *t_flit = m_switch_buffer[inport]->peekTopFlit();
89 // flit performs LT_ in the next cycle
H A DNetworkLink.cc69 flit *t_flit = link_srcQueue->getTopFlit();
H A DOutputUnit.hh91 insert_flit(flit *t_flit)
H A DNetworkInterface.cc63 // instantiating the NI flit buffers
143 NetworkInterface::incrementStats(flit *t_flit)
173 * them up and if the flit is a tail, the NI inserts the corresponding message
210 /*********** Check the incoming flit link **********/
212 flit *t_flit = inNetLink->consumeLink();
216 // If a tail flit is received, enqueue into the protocol buffers if
226 // this flit in the NI
229 // Update stats and delete flit pointer
233 // No space available- Place tail flit in stall queue and set
235 // update and flit pointe
[all...]
H A DInputUnit.cc75 * The InputUnit wakeup function reads the input flit from its input link.
76 * Each flit arrives with an input VC.
79 * The flit is buffered for (m_latency - 1) cycles in the input VC
87 flit *t_flit;
106 // The output port field in the flit is updated after it wins SA
114 // Buffer the flit
119 // any flit that is written will be read only once
130 // Router delay is modeled by making flit wait in buffer for
143 // Called by SwitchAllocator when the flit in this VC wins the Switch.
H A DRouter.hh45 #include "mem/ruby/network/garnet2.0/flit.hh"
95 void grant_switch(int inport, flit *t_flit);
H A DRouter.cc168 Router::grant_switch(int inport, flit *t_flit)
H A DSwitchAllocator.cc124 // This flit is in SA stage
129 // check if the flit in this InputVC is allowed to be sent
162 * The winning flit is read out from the input VC and sent to the
193 // remove flit from Input VC
194 flit *t_flit = m_input_unit[inport]->getTopFlit(invc);
198 "to invc %d at inport %d to flit %s at "
210 // Update outport field in the flit since this is
214 // outport is updated in VC, but not in flit
217 // set outvc (i.e., invc for next hop) in flit
218 // (This was updated in VC by vc_allocate, but not in flit)
[all...]
/gem5/src/cpu/testers/garnet_synthetic_traffic/
H A DGarnetSyntheticTraffic.py50 0 and 1 are 1-flit, 2 is 5-flit. \
/gem5/configs/example/
H A Dgarnet_synth_traffic.py83 0 and 1 are 1-flit, 2 is 5-flit.\
99 print("Error: Injection vnet %d should be 0 (1-flit), 1 (1-flit) "
100 "or 2 (5-flit) or -1 (random)" % (options.inj_vnet))

Completed in 21 milliseconds