41 m_latency(p->link_latency),
42 linkBuffer(new
flitBuffer()), link_consumer(nullptr),
43 link_srcQueue(nullptr), m_link_utilized(0),
44 m_vc_load(p->vcs_per_vnet * p->virt_nets)
79 NetworkLinkParams::create()
85 CreditLinkParams::create()
uint32_t functionalWrite(Packet *)
void set_time(Cycles time)
unsigned int m_link_utilized
std::vector< unsigned int > m_vc_load
flitBuffer * link_srcQueue
void scheduleEventAbsolute(Tick timeAbs)
Cycles curCycle() const
Determine the current cycle, corresponding to a tick aligned to a clock edge.
Tick clockEdge(Cycles cycles=Cycles(0)) const
Determine the tick when a cycle begins, by default the current one, but the argument also enables the...
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
bool isReady(Cycles curTime)
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
void setSourceQueue(flitBuffer *srcQueue)
void setLinkConsumer(Consumer *consumer)
NetworkLink(const Params *p)
uint32_t functionalWrite(Packet *pkt)