29 #ifndef __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
30 #define __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
36 #include "params/SimpleNetwork.hh"
63 const NetDest& routing_table_entry);
65 const NetDest& routing_table_entry);
67 const NetDest& routing_table_entry,
71 void print(std::ostream& out)
const;
79 const NetDest& routing_table_entry,
int link_latency);
106 #endif // __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
SimpleNetworkParams Params
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
bool getAdaptiveRouting()
void print(std::ostream &out) const
bool isVNetOrdered(int vnet) const
Stats::Formula m_msg_counts[MessageSizeType_NUM]
std::vector< bool > m_ordered
bool functionalRead(Packet *pkt)
int getEndpointBandwidth()
std::ostream & operator<<(std::ostream &out, const SimpleNetwork &obj)
std::string PortDirection
uint32_t functionalWrite(Packet *pkt)
std::vector< Switch * > m_switches
void makeInternalLink(SwitchID src, SwitchID dest, BasicLink *link, const NetDest &routing_table_entry, PortDirection src_outport, PortDirection dst_inport)
Stats::Formula m_msg_bytes[MessageSizeType_NUM]
std::vector< MessageBuffer * > m_int_link_buffers
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
void makeExtOutLink(SwitchID src, NodeID dest, BasicLink *link, const NetDest &routing_table_entry)
SimpleNetwork & operator=(const SimpleNetwork &obj)
void regStats()
Register statistics for this object.
void makeLink(SwitchID src, SwitchID dest, const NetDest &routing_table_entry, int link_latency)
const int m_endpoint_bandwidth
void makeExtInLink(NodeID src, SwitchID dest, BasicLink *link, const NetDest &routing_table_entry)
void addLink(SwitchID src, SwitchID dest, int link_latency)
SimpleNetwork(const Params *p)
const bool m_adaptive_routing
int m_num_connected_buffers