Hi Vipin,

The interface to gem5 isn't the command line, it's a python runscript. In
your python script, you can add parameters (e.g., with optparse) which are
accessible from the command line, but this shouldn't be considered the main
interface to modifying the parameters of gem5 objects. If you want to
change the replacement policy, I suggest writing your own runscript which
has the replacement policy as an option. See
https://www.gem5.org/documentation/learning_gem5/introduction/ for more
information.

Cheers,
Jason

On Thu, Dec 15, 2022 at 9:21 PM VIPIN PATEL via gem5-users <
[email protected]> wrote:

> Dear Gem5-users,
>
> How can we modify the default replacement policy for ruby caches in gem5?
> Is there any command line option for replacement policy similar to
> "--l1d_size", "--l1d_assoc" for changing size and associativity of
> L1D-cahce?
>
> Regards,
> Vipin
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to