32#ifndef __MEM_RUBY_NETWORK_GARNET_0_OUTPUTUNIT_HH__
33#define __MEM_RUBY_NETWORK_GARNET_0_OUTPUTUNIT_HH__
60 uint32_t consumerVcs);
66 void print(std::ostream& out)
const {};
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
PortDirection m_direction
void increment_credit(int out_vc)
bool has_free_vc(int vnet)
flitBuffer * getOutQueue()
GEM5_CLASS_VAR_USED int m_id
int get_credit_count(int vc)
void set_out_link(NetworkLink *link)
void decrement_credit(int out_vc)
uint32_t functionalWrite(Packet *pkt)
int select_free_vc(int vnet)
bool has_credit(int out_vc)
void set_vc_state(VC_state_type state, int vc, Tick curTime)
bool functionalRead(Packet *pkt, WriteMask &mask)
std::vector< OutVcState > outVcState
void insert_flit(flit *t_flit)
bool is_vc_idle(int vc, Tick curTime)
void set_credit_link(CreditLink *credit_link)
CreditLink * m_credit_link
PortDirection get_direction()
void print(std::ostream &out) const
OutputUnit(int id, PortDirection direction, Router *router, uint32_t consumerVcs)
#define GEM5_CLASS_VAR_USED
std::string PortDirection
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.