Hi , I am new GEM5 user.
I build GEM5 for ARM and attempted to run hello-world. I use the following command to run the simulation ./buil/ARM/gem5.opt configs/example/se.py -c tests/test-progs/hello/bin/arm/linux/hello In my attempt to understand the se.py file, i was stumped by the code that instantiates the "System" class. I found that the System.py file is located at ./build/ARM/sim/System.py. However, this does not look like the .py file that is being used. I added the __init__ method to the System class in this ./build/ARM/sim/System.py file and it doesnt look to take effect. Can someone help locate the System class the se.py uses? A little more pdb'ing the se.py revealed that the src/python/m5/SimObject.py is being used. I am not able to related the fact that System class construction constructs the SimObject class. I understand that the System class inherits from SimObject class. However, i fail to understand why the System::__init__ is never called, then? Kindly help me here. And, pardon my ignorance! BR/Nizam
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
