gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Re: Inquiry about using RiscvTimingSimpleCPU to connect with TLM memory in Gem5

泰。
Mon, Jul 31, 2023 8:39 AM

Hi Jason:

The issue was described in the previous email.

I am unsure about the correct way to establish the connection to the TLM interface. Could you guide me on how to resolve this issue and properly connect the I/D ports of the TimingSimpleCPU to the TLM interface?

Alternatively, can anyone tell me if there are similar demo scripts available in Gem5 that I can use?

Best regards,

Zitai

         ----------回复的邮件信息----------
   gem5-users@gem5.org<gem5-users@gem5.org&gt;&nbsp;在 2023-07-27 周四 23:08 写道:

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-leave@gem5.org

Hi Jason: The issue was described in the previous email. I am unsure about the correct way to establish the connection to the TLM interface. Could you guide me on how to resolve this issue and properly connect the I/D ports of the TimingSimpleCPU to the TLM interface? Alternatively, can anyone tell me if there are similar demo scripts available in Gem5 that I can use? Best regards, Zitai ----------回复的邮件信息---------- gem5-users@gem5.org<gem5-users@gem5.org&gt;&nbsp;在 2023-07-27 周四 23:08 写道: 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&gt; 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&nbsp;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-leave@gem5.org