31#ifndef __MEM_RUBY_NETWORK_GARNET_0_FLIT_HH__
32#define __MEM_RUBY_NETWORK_GARNET_0_FLIT_HH__
54 flit(
int packet_id,
int id,
int vc,
int vnet,
RouteInfo route,
int size,
55 MsgPtr msg_ptr,
int MsgSize, uint32_t bWidth,
Tick curTime);
83 virtual void print(std::ostream& out)
const;
88 return (stage ==
m_stage.first &&
113 virtual flit*
serialize(
int ser_id,
int parts, uint32_t bWidth);
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
bool functionalWrite(Packet *pkt)
virtual flit * serialize(int ser_id, int parts, uint32_t bWidth)
void set_src_delay(Tick delay)
std::pair< flit_stage, Tick > get_stage()
virtual flit * deserialize(int des_id, int num_flits, uint32_t bWidth)
void set_enqueue_time(Tick time)
bool is_stage(flit_stage stage, Tick time)
virtual void print(std::ostream &out) const
static bool greater(flit *n1, flit *n2)
void set_dequeue_time(Tick time)
void advance_stage(flit_stage t_stage, Tick newTime)
void set_outport(int port)
bool functionalRead(Packet *pkt, WriteMask &mask)
std::pair< flit_stage, Tick > m_stage
void set_route(RouteInfo route)
std::ostream & operator<<(std::ostream &out, const flit &obj)
std::shared_ptr< Message > MsgPtr
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.