Hi Zitai,

Here are  some examples of using SystemC with gem5:
https://github.com/gem5/gem5/blob/develop/configs/example/dramsys.py
https://github.com/gem5/gem5/tree/develop/util/tlm

However, it should be noted that the integration of SystemC with gem5 is
not being actively maintained by the community.

Regards,
Harshil

On Fri, Aug 4, 2023 at 2:31 AM 泰。 via gem5-users <gem5-users@gem5.org>
wrote:

>
> Hello All,
> I have been searching for a demonstration or example that showcases the
> integration of Gem5 SE mode with SystemC for the RISC-V architecture.
>
> I am a beginner in Gem5, and I am trying to connect using the following
> method, but I am facing an 'AttributeError: Class StubWorkload has no
> parameter addr_check' error. I don't know how to resolve it.
>
> cd util/tlm
> ../../build/RISCV/gem5.debug ../../configs/example/se.py    \
> --tlm-memory=transactor                                     \
> --cpu-type=TimingSimpleCPU                                  \
> --num-cpu=1                                                 \
> --mem-type=SimpleMemory                                     \
> --mem-size=512MB                                            \
> --mem-channels=1                                            \
> --cmd=../../tests/test-progs/hello/bin/riscv/linux/hello    \
> --caches --l2cache
>
> Does the thread below have a final conclusion and examples in the current
> version of Gem5?
>
> https://harmonylists.io/empathy/thread/65EU5R5SPC2ESETWHTYPLMGPJBCCMZMY?hash=37CBTLUSQYNZFID73WZMGBB5NNAL5E64#37CBTLUSQYNZFID73WZMGBB5NNAL5E64
>
> Best regards,
> Zitai
>
>
>
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to