Hey everyone,
I'm trying to configure custom routing algorithm in gem5 garnet - NOC.
I'm aware that i must implement the routing algorithm in C++ in the
following function:
int
RoutingUnit::outportComputeCustom(RouteInfo route,
                                 int inport,
                                 PortDirection inport_dirn) { }

located in file --> gem5/src/mem/ruby/network/garnet/RoutingUnit.cc
and in simulation i should use the option --routing-algorithm=2 to use my
custom routing algorithm.

but i can't understand how to do it and what is the output? is it the id of
the next router or what?
I'm also using custom network topology not Mesh topology so how to identify
the port numbers?



Best Regards,
*Eng. Karim Soliman*
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to