Hi, The type of memory accesses used by the simulation depends on the type of memory accesses required by the initiators. Those likely are the CPUs, hence you want to switch from fast to accurate CPU models when entering the region of interest.
You can first take a look at the Switchover section here to check how to switch CPUs: https://www.gem5.org/documentation/general_docs/checkpoints/ As you can see, it is possible to instruct gem5 to switch cpu models during the simulation using python. Now you need to break from the simulation loop out to the python run script using your preferred method which likely is to use the switchcpu m5op (https://www.gem5.org/documentation/general_docs/m5ops/). Then, from your python script, you can use translate_exit_status to check for the exit event and in case of a SWITCHCPU event, switch CPUs. Note that it is important to check for the exit_event so that you react appropriately to the various possible exit causes. Best, Gabriel
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org