31#ifndef __MEM_RUBY_NETWORK_GARNET_0_ROUTINGUNIT_HH__
32#define __MEM_RUBY_NETWORK_GARNET_0_ROUTINGUNIT_HH__
void addOutDirection(PortDirection outport_dirn, int outport)
int outportComputeCustom(RouteInfo route, int inport, PortDirection inport_dirn)
int lookupRoutingTable(int vnet, NetDest net_dest)
void addInDirection(PortDirection inport_dirn, int inport)
std::vector< int > m_weight_table
std::vector< std::vector< NetDest > > m_routing_table
std::map< int, PortDirection > m_inports_idx2dirn
int outportComputeXY(RouteInfo route, int inport, PortDirection inport_dirn)
void addRoute(std::vector< NetDest > &routing_table_entry)
RoutingUnit(Router *router)
std::map< int, PortDirection > m_outports_idx2dirn
bool supportsVnet(int vnet, std::vector< int > sVnets)
std::map< PortDirection, int > m_outports_dirn2idx
void addWeight(int link_weight)
std::map< PortDirection, int > m_inports_dirn2idx
int outportCompute(RouteInfo route, int inport, PortDirection inport_dirn)
std::string PortDirection
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.