NetDest is a bit vector of destinations - you can do a cout and check.
I would suggest looking at RoutingUnit.cc<http://RoutingUnit.cc>’s 
outportCompute function where the destination id is used and see the RouteInfo 
struct.
For your case, I think you need to add a temp destination there and use that in 
RouteCompute instead of the actual destination.

Cheers,
Tushar

On Mar 12, 2019, at 1:55 AM, nevethetha ganesan 
<nevethetha2...@gmail.com<mailto:nevethetha2...@gmail.com>> wrote:

Hello Sir,
In NetworkInterface.cc<http://NetworkInterface.cc>  flitisizeMessage() I could 
not understand what is NetDest personal_dest, removeNetDest(personal_dest) ?
IS destID used as NI ID variable ? can destID be used to set temporary 
destination ?

On Tue, Mar 12, 2019 at 10:12 AM Krishna, Tushar 
<tus...@ece.gatech.edu<mailto:tus...@ece.gatech.edu>> wrote:
Take a look at the garnet2.0 wiki and 
NetworkInterface.cc<http://NetworkInterface.cc>

Cheers,
Tushar

> On Mar 12, 2019, at 12:40 AM, nevethetha ganesan 
> <nevethetha2...@gmail.com<mailto:nevethetha2...@gmail.com>> wrote:
>
> Hello ,
>  I would like to combine two routing algorithms say one for source router to 
> temporary destination
>  router and another algorithm for temporary destination to original 
> destination router.so, the head flit of the packet must change its 
> destination often. There is no clear idea on  where the destination of head 
> flit is set and how the hop count of both algorithms will get added in gem5 
> garnet 2.0?  So please help us!!!
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to