Today you can technically switch between two network models, simple and garnet, 
by setting --network = garnet or  --network = simple from the command line. 
Seems like you want something like that? Check out configs/network/Network.py 
to see how that happens.

Best,
Tushar
On Dec 12, 2022, 5:29 PM -0500, Ali Karazmoodeh via gem5-users 
<gem5-users@gem5.org>, wrote:
Hi,
I want to create an NoC in the garnet network that instead of the router uses a 
different structure called RLInterface to connect the cores.
I need both NoCs (the existing router-based NoC and the one I'm creating) to 
coexist so that I can compare their power and performance.
As numerous files in the src/mem/ruby/network directory use Router to build the 
network (such as Topology, Network, GarnetNetwork, etc.), what approach is 
better to accomplish this goal? Can I modify the existing files and provide a 
command-line option to switch between the two networks, or do I need to create 
and build an entirely different network that uses RLInterface SimObject instead 
of Router SimObject?

Warm regards,
Ali Karazmoodeh
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to