Hi Zitai,

You should be able to use any CPU model with the TLM interface. You can
write your own configuration file / run script that creates a
TimingSimpleCPU and connects the I/D ports to the TLM interface.

Cheers,
Jason

On Thu, Jul 27, 2023 at 2:44 AM 泰。 via gem5-users <gem5-users@gem5.org>
wrote:

> Hi:
>
> I am a Gem5 user and currently working on system-level modeling and
> simulation using Gem5. I have encountered an issue and would greatly
> appreciate your assistance and advice.
>
> Currently, I am *using tlm_slave.py to connect with TLM memory
> successfully*. However, I noticed that when using tlm_slave.py, it
> requires pairing with the _TrafficGen CPU which is not a conventional CPU
> model; instead, it is a special module used for generating memory system
> stimuli. I would like to use the traditional processor simulator 
> *RiscvTimingSimpleCPU
> instead of the _TrafficGen CPU* to conduct more realistic
> instruction-level simulation.
>
> I am not familiar with the method of connecting RiscvTimingSimpleCPU with
> TLM memory and would like to inquire whether it is possible to achieve this
> configuration and what specific steps need to be taken.
>
> During the configuration process, would I need to modify the interface of
> RiscvTimingSimpleCPU or perform other customizations? Is the workload
> significant?
>
> Thank you very much for your help and guidance!
>
> Best regards,
>
> Zitai
>
>
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to