[gem5-users] Re: Add new command-line option for simulation

2021-06-23 Thread VEDIKA JITENDRA KULKARNI via gem5-users
Hi Srikant, Thanks a lot for the step-wise instructions! Will do that. Regards, Vedika From: Bharadwaj, Srikant Sent: 24 June 2021 00:34 To: gem5 users mailing list Cc: VEDIKA JITENDRA KULKARNI Subject: RE: Add new command-line option for simulation [Public]

[gem5-users] Re: Add new command-line option for simulation

2021-06-23 Thread Bharadwaj, Srikant via gem5-users
[Public] Hi Vedika, You will have to create parameters in the SimObject of GarnetNetwork and GarnetRouter and then access them in Router.cc and InputUnit.cc You can follow how this is done for vcs_per_vnet variable: 1. Have a command line in configs/network/Network.py to take in the command