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

Reply via email to