Dear everybody, I am trying to implement a very simple prefetcher for the Ruby Memory System, but it is quite complicated for me. I want to monitor the behavior of the prefetcher, I need many statistics on it and initialize it with parameters sent directly from the command line, moreover I want to implement different prefetchers (or no prefetching) in the different cache modules. So I understand, correct me please if I am wrong, that the best option for me is to implement the prefetcher as a SimObject. I already have done that, I implemented the .hh and .cc classes, the python file to build the RubyPrefetcher, and I added the SimObject, the sources and the headers in all the Sconscript files. I implemented the create and init functions, and I modified the Machine header in order to receive the prefetcher as it was a cache module. I initialize it correctly through the python scripts in configs/ruby. Finally when I try to run the simulator it starts correctly, it creates the Prefetcher successfully, but when it is going to call the init() function there is a segmentation fault. I have tried everything but I don't know what else to do, or if only I am not allowed to build the Prefetcher as a SimObject, or I should build the prefetcher in some other way.
I would appreciate any help! Thanks!
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
