Hi Yuhang, Once you set up a 3D topology, fundamentally nothing has to change in garnet for it to work - each router simply has more ports now. If you want the Z links to have different latencies, I think you can set that in the topology file as well. But if you actually want to model some different flow control etc then you should take a look at GarnetNetwork_d.cc where the network is created, and Router_d.cc which is the router class and has all the input ports, arbiters etc. One useful hint is that if your topology is completely known to you, you can perhaps model different behavior of different routers based on their IDs …
cheers, Tushar On Jul 6, 2013, at 6:38 PM, yuhang wrote: > Hello all, > > I'm trying to change the garnet network to 3D. I already set up a 3Dmesh > topology in configs/topologies/. I was wondering should I change something in > src/mem/ruby/network/garnet ? I'm afraid I get lost in those garnet source > files, and have no idea where to start in order to set up the 3D garnet. > > Thanks, > Yuhang > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
