[gem5-users] Re: GEM5 within SystemC build issue

2023-07-19 Thread G via gem5-users
Looks like this JIRA is low priority and has no progress since 2021. Thanks a lot! | | G | | ginger...@163.com | Replied Message | From | Yu-hsin Wang | | Date | 7/20/2023 10:47 | | To | G | | Cc | gem5-users@gem5.org | | Subject | Re: [gem5-users] Re: GEM5 within SystemC build issue |

[gem5-users] Re: How se mode implements system calls for riscv

2023-07-19 Thread Srikanta Chaitanya via gem5-users
Thanks, I'll check them out. On Thu, Jul 20, 2023, 12:01 AM Ayaz Akram wrote: > Hi Srikanta, > > You can find the implementation of system calls in src/sim/syscall_emul.cc > (and related files in the same directory). You can use the "strace" tool to > find out the syscalls used by a binary. > >

[gem5-users] Re: How se mode implements system calls for riscv

2023-07-19 Thread Ayaz Akram via gem5-users
Hi Srikanta, You can find the implementation of system calls in src/sim/syscall_emul.cc (and related files in the same directory). You can use the "strace" tool to find out the syscalls used by a binary. As far as multithreading is concerned, I think SE mode is not suitable for that purpose and

[gem5-users] Re: Exception when running libtorch simulation in SE mode

2023-07-19 Thread Bobby Bruce via gem5-users
I tried to reproduce this for myself but I failed to do so (using v23.0.0.1, `build/ALL/gem5.opt`).. Attached is a tarball of the files i used. The steps I carried out can be found on the the "README.md" file. I'm not sure what I'm missing but my execution prints "Hello World" successfully.The

[gem5-users] Re: GEM5 within SystemC build issue

2023-07-19 Thread G via gem5-users
Hi Yu-hsin, Thanks for the reply, I'm trying to run gem5 as dynamic lib inside SystemC. Did tried and can pass build without this option, but hit below assertion so I suspect it has to go with cxx-config portion. main.cc:280: fatal: Config problem in sim object root: No sim object type Root is

[gem5-users] Re: Exception when running libtorch simulation in SE mode

2023-07-19 Thread Caio Vieira via gem5-users
Hi, Yes, the binary works correctly on my host. Also, I was able to load it in an Ubuntu 18 FS simulation using gem5. Before the panic condition is triggered, an exception is thrown, which does not occur when running on host. I tried to debug gem5 by running it on gdb and using "catch

[gem5-users] Re: GEM5 within SystemC build issue

2023-07-19 Thread G via gem5-users
Hello Yu-hsin, Just saw you are the main edtor of tlm bridge to sysc, maybe you are the right person? :) In the bridge, this->create() will return a Gem5ToTlmBridge type which is incompatible with SimObject as below declared, any comments? Thanks a lot! SimObject *