[gem5-users] Re: Problem with SimObject

2022-03-29 Thread Artyom Liu via gem5-users
Hi Jason, Thanks for the response. I'll check it out and see what I can do. :D -- Artyom artyom...@hust.edu.cn On 3/28/22 23:04, Jason Lowe-Power via gem5-users wrote: Hi Artyom, You're absolutely right that the tutorial needs to be updated! The website is also open source and managed via a

[gem5-users] Re: Problem with SimObject

2022-03-28 Thread Jason Lowe-Power via gem5-users
Hi Artyom, You're absolutely right that the tutorial needs to be updated! The website is also open source and managed via a git repo: https://gem5.googlesource.com/public/gem5-website/. Updating this would be a good way to get started contributing to gem5 :). By the way, for the namespace, you ca

[gem5-users] Re: Problem with SimObject

2022-03-26 Thread Artyom Liu via gem5-users
Hi, The problem is solved by literally adding a new parameter `sim_objects`. > SimObject("HelloObject.py", sim_objects = ["HelloObject"]) But I find yet another problem with the tutorial: the code that use classes from gem5 is missing namespace declaration. For example, the class `SimObject`