gem5 v24.0.0.0
|
#include <flitBuffer.hh>
Public Member Functions | |
flitBuffer () | |
flitBuffer (int maximum_size) | |
bool | isReady (Tick curTime) |
bool | isEmpty () |
void | print (std::ostream &out) const |
bool | isFull () |
void | setMaxSize (int maximum) |
int | getSize () const |
flit * | getTopFlit () |
flit * | peekTopFlit () |
void | insert (flit *flt) |
bool | functionalRead (Packet *pkt, WriteMask &mask) |
uint32_t | functionalWrite (Packet *pkt) |
Private Attributes | |
std::deque< flit * > | m_buffer |
int | max_size |
Definition at line 50 of file flitBuffer.hh.
gem5::ruby::garnet::flitBuffer::flitBuffer | ( | ) |
Definition at line 43 of file flitBuffer.cc.
gem5::ruby::garnet::flitBuffer::flitBuffer | ( | int | maximum_size | ) |
Definition at line 48 of file flitBuffer.cc.
References max_size.
Definition at line 89 of file flitBuffer.cc.
References functionalRead(), gem5::ArmISA::i, m_buffer, and gem5::ArmISA::mask.
Referenced by functionalRead(), gem5::ruby::garnet::NetworkLink::functionalRead(), gem5::ruby::garnet::OutputUnit::functionalRead(), and gem5::ruby::garnet::VirtualChannel::functionalRead().
uint32_t gem5::ruby::garnet::flitBuffer::functionalWrite | ( | Packet * | pkt | ) |
Definition at line 102 of file flitBuffer.cc.
References functionalWrite(), gem5::ArmISA::i, and m_buffer.
Referenced by functionalWrite(), gem5::ruby::garnet::NetworkLink::functionalWrite(), gem5::ruby::garnet::OutputUnit::functionalWrite(), and gem5::ruby::garnet::VirtualChannel::functionalWrite().
|
inline |
Definition at line 61 of file flitBuffer.hh.
References m_buffer.
|
inline |
Definition at line 64 of file flitBuffer.hh.
References gem5::ArmISA::f, and m_buffer.
Referenced by gem5::ruby::garnet::NetworkLink::consumeLink(), gem5::ruby::garnet::VirtualChannel::getTopFlit(), gem5::ruby::garnet::NetworkBridge::wakeup(), and gem5::ruby::garnet::NetworkLink::wakeup().
|
inline |
Definition at line 78 of file flitBuffer.hh.
References gem5::RiscvISA::flt(), and m_buffer.
Referenced by gem5::ruby::garnet::InputUnit::increment_credit(), gem5::ruby::garnet::OutputUnit::insert_flit(), gem5::ruby::garnet::VirtualChannel::insertFlit(), gem5::ruby::garnet::NetworkBridge::scheduleFlit(), gem5::ruby::garnet::NetworkInterface::scheduleFlit(), gem5::ruby::garnet::NetworkInterface::InputPort::sendCredit(), and gem5::ruby::garnet::NetworkLink::wakeup().
bool gem5::ruby::garnet::flitBuffer::isEmpty | ( | ) |
Definition at line 54 of file flitBuffer.cc.
References m_buffer.
Referenced by gem5::ruby::garnet::NetworkBridge::wakeup(), and gem5::ruby::garnet::NetworkLink::wakeup().
bool gem5::ruby::garnet::flitBuffer::isFull | ( | ) |
Definition at line 77 of file flitBuffer.cc.
bool gem5::ruby::garnet::flitBuffer::isReady | ( | Tick | curTime | ) |
Definition at line 60 of file flitBuffer.cc.
References gem5::ruby::garnet::flit::get_time(), m_buffer, and peekTopFlit().
Referenced by gem5::ruby::garnet::NetworkLink::isReady(), gem5::ruby::garnet::VirtualChannel::isReady(), gem5::ruby::garnet::VirtualChannel::need_stage(), gem5::ruby::garnet::NetworkBridge::wakeup(), and gem5::ruby::garnet::NetworkLink::wakeup().
|
inline |
Definition at line 72 of file flitBuffer.hh.
References m_buffer.
Referenced by isReady(), gem5::ruby::garnet::VirtualChannel::need_stage(), gem5::ruby::garnet::NetworkLink::peekLink(), and gem5::ruby::garnet::VirtualChannel::peekTopFlit().
void gem5::ruby::garnet::flitBuffer::print | ( | std::ostream & | out | ) | const |
Definition at line 71 of file flitBuffer.cc.
References m_buffer.
Referenced by gem5::ruby::garnet::operator<<().
void gem5::ruby::garnet::flitBuffer::setMaxSize | ( | int | maximum | ) |
Definition at line 83 of file flitBuffer.cc.
References max_size.
|
private |
Definition at line 87 of file flitBuffer.hh.
Referenced by functionalRead(), functionalWrite(), getSize(), getTopFlit(), insert(), isEmpty(), isFull(), isReady(), peekTopFlit(), and print().
|
private |
Definition at line 88 of file flitBuffer.hh.
Referenced by flitBuffer(), flitBuffer(), isFull(), and setMaxSize().