Hello, Anyone hit same issue when building "GEM5 within SystemC"? Or just
succeeding?
| |
G
|
|
ginger...@163.com
|
---- Replied Message ----
| From | G via gem5-users<gem5-users@gem5.org> |
| Date | 7/3/2023 10:35 |
| To | gem5-users@gem5.org<gem5-users@gem5.org> |
| Cc | gingerluo<ginger...@163.com> |
| Subject | [gem5-users] GEM5 within SystemC build issue |
Hello,
Anyone went well with GEM5 and SystemC integration?
I triied to build libgem5_debug.so so I can integrate GEM5 in a standalone
systemc environment with below commandline:
python3 `which scons` --with-cxx-config --without-python --without-tcmalloc
USE_SYSTEMC=1 build/RISCV/libgem5_$(BUILD_TYPE).so -j 32
But I got below issue with "--with-cxx-config" option.
build/RISCV/cxx_config/Gem5ToTlmBridge32.cc: In member function ‘virtual
gem5::SimObject* gem5::Gem5ToTlmBridge32CxxConfigParams::simObjectCreate()’:
build/RISCV/cxx_config/Gem5ToTlmBridge32.cc:149:24: error: cannot convert
‘sc_gem5::Gem5ToTlmBridge<32>*’ to ‘gem5::SimObject*’ in return
149 | return this->create();
| ~~~~~~~~~~~~^~
| |
| sc_gem5::Gem5ToTlmBridge<32>*
if I do without this option, assertion fired in below, complaining:
main.cc:280: fatal: Config problem in sim object root: No sim object type Root
is available
| |
G
|
|
ginger...@163.com
|
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org