[gem5-users] some questions about IO Device when using FS mode in Gem5

2022-04-22 Thread lin via gem5-users
Hello! I run gem5 in Full System mode through fs.py. When I write a c program and use mmap() function to map the hardware to read the hardware address, for example, the hardware address of Trust_Watchdog is 0x2a49. When I use the mmap() to read the watchdog address,there is no

[gem5-users] power about Gem5 SE mode

2022-04-13 Thread lin via gem5-users
Hello! I have used the systemc module I wrote as the IO peripherals of gem5 and run the C program in SE mode. How can I calculate the power consumption of this process? Can I use the mcpat of gem5? If so, how can I modify the mcpat file? Thanks!___

[gem5-users] Link IO peripheral to Gem5 and run Gem5 FS mode

2022-04-06 Thread lin via gem5-users
Hello, In the full system emulation mode, I connected the two IO peripherals I wrote to gem5 through fs.py. The connected IO peripherals can be found on the system frame under the m5out folder. How can my linux system running on the full system emulation access the underlying peripherals?

[gem5-users] ?????? some problem about IO device's write or read function's return tick

2021-12-27 Thread lin via gem5-users
Thanks! Now I want to evulate the performance(e.g running time) about a system with my own IO device,which mode of the "cpu" and the "memory" should I use,*atomic* or *timing*? ---- ??:

[gem5-users] statistics on gem5

2021-12-24 Thread lin via gem5-users
Hi I am interested in how to calculate performance.Are you figure out the relationship between these data like simSeconds or hostSeconds.If so,can you give me some suggestions help me calculate the performance of my system ?? Thanks___ gem5-users

[gem5-users] some problem about IO device's write or read function's return tick

2021-12-23 Thread lin via gem5-users
Hi I make an IO device link to the membus and complete the Tick read(PacketPtr pkt) and the write() function .But I find that no matter how many ticks ( the funciton return n*tick) I set,the simSeconds no change.If it normal?If not , what can I do to set the return ticks of the read() or

[gem5-users] some problem about util/tlm in gem5v20.1.0.5

2021-12-20 Thread lin via gem5-users
Hi I read the README in util/tlm and follow thefollowing command: cd ../.. scons build/ARM/gem5.opt scons --with-cxx-config --without-python --without-tcmalloc build/ARM/libgem5_opt.so cd util/tlm Then I run the command: ../../build/ARM/gem5.opt conf/tlm_slave.pyIt report that: fatal: Can't

[gem5-users] some questions about Gem5 IO device

2021-12-19 Thread lin via gem5-users
I want to know that when I use the read() function to visit the IO device, can I use the wait() like SystemC or other ways to let the clock run to next clock period to acquire the IO running result which will sent to the packers? Because my device is written in SystemC, the data cannot be