41#ifndef __MEM_RUBY_NETWORK_SIMPLE_WEIGHTBASEDROUTINGUNIT_HH__
42#define __MEM_RUBY_NETWORK_SIMPLE_WEIGHTBASEDROUTINGUNIT_HH__
45#include "params/WeightBased.hh"
62 const NetDest& routing_table_entry,
64 int link_weight)
override;
88 [](
const auto &
a,
const auto &
b) {
89 auto tup = [](const auto &li)
90 { return std::make_tuple(li->m_order,
WeightBased(const Params &p)
void findRoute(const Message &msg, std::vector< RouteInfo > &out_links) const
std::vector< std::unique_ptr< LinkInfo > > m_links
void route(const Message &msg, int vnet, bool deterministic, std::vector< RouteInfo > &out_links) override
void addOutPort(LinkID link_id, const std::vector< MessageBuffer * > &m_out_buffer, const NetDest &routing_table_entry, const PortDirection &direction, int link_weight) override
std::string PortDirection
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
const NetDest m_routing_entry
const std::vector< MessageBuffer * > m_out_buffers