Thanks, I'll check it out.

Best Regards,
*Eng. Karim Soliman*
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)


On Fri, Mar 3, 2023 at 9:35 PM Krishna, Tushar <tus...@ece.gatech.edu>
wrote:

> Take a look at outportComputeXY for some reference ..
>
> Cheers,
> Tushar
>
> On Mar 3, 2023, at 2:45 AM, Karim Soliman via gem5-users <
> gem5-users@gem5.org> wrote:
>
> 
> 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
>
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to