Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEM5 integration call Error #56

Open
idealgao opened this issue Aug 21, 2024 · 0 comments
Open

GEM5 integration call Error #56

idealgao opened this issue Aug 21, 2024 · 0 comments

Comments

@idealgao
Copy link

idealgao commented Aug 21, 2024

Hi All,

After clone the lastest repository, and strictly following step 1~6 to setup Ramulator2 into GEM5. Compile passed, Ramulator2 standalone test is Okay and GEM5 self-test case is Okay.
build/X86_BK/gem5.opt configs/deprecated/example/se.py --cmd=tests/test-progs/hello/bin/x86/linux/hello --cpu-type=TimingSimpleCPU --l1d_size=64kB --l1i_size=16kB --caches

But when GEM5 call Ramulator2 as ext-memory, the comes out errors below, is there any files I missed? Is there a sample for Step-6?
command line: build/X86_BK/gem5.opt configs/deprecated/example/se.py --cmd=tests/test-progs/hello/bin/x86/linux/hello --cpu-type=TimingSimpleCPU --l1d_size=64kB --l1i_size=16kB --caches --mem-type=Ramulator2

warn: The se.py script is deprecated. It will be removed in future releases of gem5.
AttributeError: object 'Ramulator2' has no attribute 'controller'
(C++ object is not yet constructed, so wrapped C++ methods are unavailable.)

At:
src/python/m5/SimObject.py(855): getattr
/home/idealgao/workshop/gem5/gem5/configs/common/MemConfig.py(243): config_mem
configs/deprecated/example/se.py(296):
src/python/m5/main.py(669): main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant