[gem5-users] m5ops with RISCV
Dear all I would like to collect performance counters for a RISCV binary in gem5. Is there a util/m5 patch for generating m5ops for RISCV? Any help really appreciated. Best regards V Vanchinathan ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] About multiple cache copies and a related comment called "on the same path to memory"
Hi All, I noticed that there are some useful comments in the file cache.cc as like these: "// if a cache is responding, and it had the line in Owned // rather than Modified state, we need to invalidate any // copies that are not on the same path to memory " "// we get away with multiple caches (on // the same path to memory) considering // the block writeable as we always enter // the cache hierarchy through a cache, // and first snoop upwards in all other // branches" What is the meaning of "on the same path to memory"? Assume we have two cpus and 3 cache levels. The third level is shared by these two cpus. And packet is in the level 2 (L2) of cpu1 currently. If I understand it correctly, taking the first comment for example, the cache which is responding is L1 of cpu1, the "on the same path to memory" means the path from current L2 of cpu1 to to L3 to memory and the copies which need to be invalidated should be the ones from L1, L2 of cpu2 (not including the copies of L3) . Is my understanding correct? Please correct me and clarify it if not. Thanks in advance! gjins ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] Fault injection by changing the instructions.
Hello, I am running a simple program on gem5 SE mode , The program is as below *int a = 2;int b = 3;b = a+12;* In b=a+12 , the value of a is *loaded*, summed with 12 and *stored* in b. Instead of executing the load a, I want to change it to store a , Is there a way I can do it in Gem5 , If yes, then what changes should I be making. Help would be appreciated. Regards Nidhi ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] No module named google.protobuf
Hi all, I'm sorry, the error occured during decoding of the trace, not during playback. During playback I get (a probably related error): panic: Could not open fetchtrace.proto.gz for reading where fetchtrace is my generated instruction trace file. On Mon, Dec 18, 2017 at 3:16 PM, tmn vnblwrote: > Hi all, > > I was running an instruction trace example using gem5, but I ran into this > error when trying to replay the trace (generating the trace was not a > problem): > > > ImportError: No module named google.protobuf > > It seems like it cannot find protobuf, but however it is installed as the > trace can be generated and during compilation of gem5, the check for > protobuf passes as well. > > It seems like this is some python related error for protobuf. Do I have to > build more than the c++ source of protobuf? My protobuf is in a custom > location in which I have write access. > > Thanks for any hint, > > Timon > ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] No module named google.protobuf
Hi all, I was running an instruction trace example using gem5, but I ran into this error when trying to replay the trace (generating the trace was not a problem): ImportError: No module named google.protobuf It seems like it cannot find protobuf, but however it is installed as the trace can be generated and during compilation of gem5, the check for protobuf passes as well. It seems like this is some python related error for protobuf. Do I have to build more than the c++ source of protobuf? My protobuf is in a custom location in which I have write access. Thanks for any hint, Timon ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users