[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`

[gem5-users] Problem with SimObject

2022-03-26 Thread Artyom Liu via gem5-users
Hi, I'm new to gem5 and just start learning by following the tutorial on gem5.org. However, there's a problem when I try to create my custom object[1]. [1]: https://www.gem5.org/documentation/learning_gem5/part2/helloobject/ I follow exactly the guide, but I fail to re-compile with scons.