[gem5-users] Re: Adding new source files

2020-05-07 Thread Jason Lowe-Power via gem5-users
Hi Alex, Have you read through part 2 of Learning gem5? http://www.gem5.org/documentation/learning_gem5/part2/environment/ That might help this confusion. It sounds like you added the SimObject() call to the wrong Sconscript file. You have to add it to the file in the same directory. Also, your f

[gem5-users] Re: Adding new source files

2020-05-07 Thread Alex Freij via gem5-users
Hi Francisco, Thanks for the quick reply! Yes I did; the .cc/.hh files are present and are in the same directory. I've also realized something else: the file I'm creating should reside in X86/mem/ (since that's where the .cc/.hh files reside and the SConscript in that directory was updated), while

[gem5-users] Re: Adding new source files

2020-05-07 Thread Francisco Carlos via gem5-users
Did you create myFile.cc? myFile.cc should be in the same directory of the Sconscript that you added because you used the path 'myFile.cc' to the file. I hope this helps. -