Hi everyone: I have studied the cpu model in gem5 long time, but I really don't understand how does the cpu work. For example: I knew the AtomicSimpleCPU has several member functions (e.g. serialize(), unserialize(), resume(), switchOut(), takeOverFrom, etc.), but I can not figure out how to call these functions, which will call them, and the order of calling functions. I have tried to study the files "configs/common/Simulation.py", "src/python/m5/simulate.py", and "src/sim/simulate.cc", but I still don't get what I want. My project is to make a custom cpu which I can make it a little different structure.
Please help me!!! Thanks........... ^_^ _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users