gem5 v24.0.0.0
|
#include <VirtualChannel.hh>
Public Member Functions | |
VirtualChannel () | |
~VirtualChannel ()=default | |
bool | need_stage (flit_stage stage, Tick time) |
void | set_idle (Tick curTime) |
void | set_active (Tick curTime) |
void | set_outvc (int outvc) |
int | get_outvc () |
void | set_outport (int outport) |
int | get_outport () |
Tick | get_enqueue_time () |
void | set_enqueue_time (Tick time) |
VC_state_type | get_state () |
bool | isReady (Tick curTime) |
void | insertFlit (flit *t_flit) |
void | set_state (VC_state_type m_state, Tick curTime) |
flit * | peekTopFlit () |
flit * | getTopFlit () |
bool | functionalRead (Packet *pkt, WriteMask &mask) |
uint32_t | functionalWrite (Packet *pkt) |
Private Attributes | |
flitBuffer | inputBuffer |
std::pair< VC_state_type, Tick > | m_vc_state |
int | m_output_port |
Tick | m_enqueue_time |
int | m_output_vc |
Definition at line 49 of file VirtualChannel.hh.
gem5::ruby::garnet::VirtualChannel::VirtualChannel | ( | ) |
Definition at line 43 of file VirtualChannel.cc.
|
default |
Definition at line 79 of file VirtualChannel.cc.
References gem5::ruby::garnet::flitBuffer::functionalRead(), inputBuffer, and gem5::ArmISA::mask.
uint32_t gem5::ruby::garnet::VirtualChannel::functionalWrite | ( | Packet * | pkt | ) |
Definition at line 85 of file VirtualChannel.cc.
References gem5::ruby::garnet::flitBuffer::functionalWrite(), and inputBuffer.
|
inline |
Definition at line 63 of file VirtualChannel.hh.
References m_enqueue_time.
|
inline |
Definition at line 61 of file VirtualChannel.hh.
References m_output_port.
|
inline |
Definition at line 59 of file VirtualChannel.hh.
References m_output_vc.
|
inline |
Definition at line 65 of file VirtualChannel.hh.
References m_vc_state.
|
inline |
Definition at line 93 of file VirtualChannel.hh.
References gem5::ruby::garnet::flitBuffer::getTopFlit(), and inputBuffer.
|
inline |
Definition at line 74 of file VirtualChannel.hh.
References inputBuffer, and gem5::ruby::garnet::flitBuffer::insert().
|
inline |
Definition at line 68 of file VirtualChannel.hh.
References inputBuffer, and gem5::ruby::garnet::flitBuffer::isReady().
bool gem5::ruby::garnet::VirtualChannel::need_stage | ( | flit_stage | stage, |
Tick | time ) |
Definition at line 68 of file VirtualChannel.cc.
References gem5::ruby::garnet::ACTIVE_, inputBuffer, gem5::ruby::garnet::flit::is_stage(), gem5::ruby::garnet::flitBuffer::isReady(), m_vc_state, and gem5::ruby::garnet::flitBuffer::peekTopFlit().
|
inline |
Definition at line 87 of file VirtualChannel.hh.
References inputBuffer, and gem5::ruby::garnet::flitBuffer::peekTopFlit().
void gem5::ruby::garnet::VirtualChannel::set_active | ( | Tick | curTime | ) |
Definition at line 60 of file VirtualChannel.cc.
References gem5::ruby::garnet::ACTIVE_, m_enqueue_time, and m_vc_state.
|
inline |
Definition at line 64 of file VirtualChannel.hh.
References m_enqueue_time.
void gem5::ruby::garnet::VirtualChannel::set_idle | ( | Tick | curTime | ) |
Definition at line 50 of file VirtualChannel.cc.
References gem5::ruby::garnet::IDLE_, INFINITE_, m_enqueue_time, m_output_port, m_output_vc, and m_vc_state.
|
inline |
Definition at line 60 of file VirtualChannel.hh.
References m_output_port.
|
inline |
Definition at line 58 of file VirtualChannel.hh.
References m_output_vc.
|
inline |
Definition at line 80 of file VirtualChannel.hh.
References m_vc_state.
|
private |
Definition at line 102 of file VirtualChannel.hh.
Referenced by functionalRead(), functionalWrite(), getTopFlit(), insertFlit(), isReady(), need_stage(), and peekTopFlit().
|
private |
Definition at line 105 of file VirtualChannel.hh.
Referenced by get_enqueue_time(), set_active(), set_enqueue_time(), and set_idle().
|
private |
Definition at line 104 of file VirtualChannel.hh.
Referenced by get_outport(), set_idle(), and set_outport().
|
private |
Definition at line 106 of file VirtualChannel.hh.
Referenced by get_outvc(), set_idle(), and set_outvc().
|
private |
Definition at line 103 of file VirtualChannel.hh.
Referenced by get_state(), need_stage(), set_active(), set_idle(), and set_state().