[gem5-users] gem5-systemc builidng error

2022-03-16 Thread Peng, Ziyang via gem5-users
Hi, I am a new to gem5 and want to do some research on SystemC co-simulation. I get the code from https://github.com/gem5/gem5, follow the steps the README both in /util/tlm and /util/systemc and get quite a lot building error likes xxx should be gem5::xxx or gem5::yyy should be yyy. After fix

[gem5-users] Failed to run tlm-gem5 cosimualtion examples in util/tlm

2022-03-22 Thread Peng, Ziyang via gem5-users
Hi, I am working on combine external sc_models to Gem5. So I try to follow the tlm tutorial in gem5/util/tlm/README. Following the building steps in the REDME file, there is no issue on the first two line and end with normal gem5.opt output: >cd ../../ >/usr/bin/env python3 `which scons` build/AR

[gem5-users] Building gem5 in virtual python environment

2023-04-09 Thread Peng, Ziyang via gem5-users
Hi guys, I was working on building gem5 with miniconda python. The building crashed with "Error: Can't find a working Python installation". After searching online, I found that this is a common problem, but there is no accurate solution. Here is my local solution: 1. Add this line in the

[gem5-users] Create the gem5 required config file without using gem5 binary?

2023-04-20 Thread Peng, Ziyang via gem5-users
Hi all, Since gem5 is using python scripts to create configuration files. Is there any way to create the configuration file without using the binary like gem5.opt or gem5.fast? Maybe a pure python method or a C++ interface like CXXConfig ? Thanks + regards, Ziyang _

[gem5-users] Config ARM DSU in Gem5 simulator

2023-07-31 Thread Peng, Ziyang via gem5-users
Hi all, I am a Gem5 user currently studying with the ARM architecture. In ARM, there is a DSU(DyanamIQ Shared Unit) comprises the L3 memory system, control logic, and external interfaces to support DynamI

[gem5-users] Multi-threaded program in Gem5 SE mode

2023-10-24 Thread Peng, Ziyang via gem5-users
Hi all, Earlier this month, I saw an email saying that Gem5 SE mode already supports multi-threaded program. I tested both ARM and X86 program. X86 works well but the ARM one will report below errors when deleting threads(maybe?). build/ARM/sim/syscall_emul.cc:74: warn: ignoring syscall madvise(

[gem5-users] Re: Assistance required: Stats not generated for TLM examples

2024-01-08 Thread Peng, Ziyang via gem5-users
Hi PaiJ, Is the stats.txt file in m5out folder is empty? If yes, I think the root cause is that gem5-tlm is using cxx_manager class to register each objects while the registering of stat is missing. My solution is adding a new method at CxxConfigManager::instantiate(bool build_all){} . This meth

[gem5-users] Question about ARM DVFS support

2024-03-07 Thread Peng, Ziyang via gem5-users
Hi all, I found Gem5 provides DVFS support for ARM. The doc introduce how to enable it in the FS mode but not clearly about how it works. From my study with the Gem5 source code, energy_ctrl will call DVFS to change the