gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ruby::garnet::VirtualChannel Class Reference

#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)
 
flitpeekTopFlit ()
 
flitgetTopFlit ()
 
bool functionalRead (Packet *pkt, WriteMask &mask)
 
uint32_t functionalWrite (Packet *pkt)
 

Private Attributes

flitBuffer inputBuffer
 
std::pair< VC_state_type, Tickm_vc_state
 
int m_output_port
 
Tick m_enqueue_time
 
int m_output_vc
 

Detailed Description

Definition at line 49 of file VirtualChannel.hh.

Constructor & Destructor Documentation

◆ VirtualChannel()

gem5::ruby::garnet::VirtualChannel::VirtualChannel ( )

Definition at line 43 of file VirtualChannel.cc.

◆ ~VirtualChannel()

gem5::ruby::garnet::VirtualChannel::~VirtualChannel ( )
default

Member Function Documentation

◆ functionalRead()

bool gem5::ruby::garnet::VirtualChannel::functionalRead ( Packet * pkt,
WriteMask & mask )

◆ functionalWrite()

uint32_t gem5::ruby::garnet::VirtualChannel::functionalWrite ( Packet * pkt)

◆ get_enqueue_time()

Tick gem5::ruby::garnet::VirtualChannel::get_enqueue_time ( )
inline

Definition at line 63 of file VirtualChannel.hh.

References m_enqueue_time.

◆ get_outport()

int gem5::ruby::garnet::VirtualChannel::get_outport ( )
inline

Definition at line 61 of file VirtualChannel.hh.

References m_output_port.

◆ get_outvc()

int gem5::ruby::garnet::VirtualChannel::get_outvc ( )
inline

Definition at line 59 of file VirtualChannel.hh.

References m_output_vc.

◆ get_state()

VC_state_type gem5::ruby::garnet::VirtualChannel::get_state ( )
inline

Definition at line 65 of file VirtualChannel.hh.

References m_vc_state.

◆ getTopFlit()

flit * gem5::ruby::garnet::VirtualChannel::getTopFlit ( )
inline

Definition at line 93 of file VirtualChannel.hh.

References gem5::ruby::garnet::flitBuffer::getTopFlit(), and inputBuffer.

◆ insertFlit()

void gem5::ruby::garnet::VirtualChannel::insertFlit ( flit * t_flit)
inline

Definition at line 74 of file VirtualChannel.hh.

References inputBuffer, and gem5::ruby::garnet::flitBuffer::insert().

◆ isReady()

bool gem5::ruby::garnet::VirtualChannel::isReady ( Tick curTime)
inline

Definition at line 68 of file VirtualChannel.hh.

References inputBuffer, and gem5::ruby::garnet::flitBuffer::isReady().

◆ need_stage()

◆ peekTopFlit()

flit * gem5::ruby::garnet::VirtualChannel::peekTopFlit ( )
inline

Definition at line 87 of file VirtualChannel.hh.

References inputBuffer, and gem5::ruby::garnet::flitBuffer::peekTopFlit().

◆ set_active()

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.

◆ set_enqueue_time()

void gem5::ruby::garnet::VirtualChannel::set_enqueue_time ( Tick time)
inline

Definition at line 64 of file VirtualChannel.hh.

References m_enqueue_time.

◆ set_idle()

void gem5::ruby::garnet::VirtualChannel::set_idle ( Tick curTime)

◆ set_outport()

void gem5::ruby::garnet::VirtualChannel::set_outport ( int outport)
inline

Definition at line 60 of file VirtualChannel.hh.

References m_output_port.

◆ set_outvc()

void gem5::ruby::garnet::VirtualChannel::set_outvc ( int outvc)
inline

Definition at line 58 of file VirtualChannel.hh.

References m_output_vc.

◆ set_state()

void gem5::ruby::garnet::VirtualChannel::set_state ( VC_state_type m_state,
Tick curTime )
inline

Definition at line 80 of file VirtualChannel.hh.

References m_vc_state.

Member Data Documentation

◆ inputBuffer

flitBuffer gem5::ruby::garnet::VirtualChannel::inputBuffer
private

◆ m_enqueue_time

Tick gem5::ruby::garnet::VirtualChannel::m_enqueue_time
private

Definition at line 105 of file VirtualChannel.hh.

Referenced by get_enqueue_time(), set_active(), set_enqueue_time(), and set_idle().

◆ m_output_port

int gem5::ruby::garnet::VirtualChannel::m_output_port
private

Definition at line 104 of file VirtualChannel.hh.

Referenced by get_outport(), set_idle(), and set_outport().

◆ m_output_vc

int gem5::ruby::garnet::VirtualChannel::m_output_vc
private

Definition at line 106 of file VirtualChannel.hh.

Referenced by get_outvc(), set_idle(), and set_outvc().

◆ m_vc_state

std::pair<VC_state_type, Tick> gem5::ruby::garnet::VirtualChannel::m_vc_state
private

Definition at line 103 of file VirtualChannel.hh.

Referenced by get_state(), need_stage(), set_active(), set_idle(), and set_state().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0