CMU-SAFARI / ramulator2

Ramulator 2.0 is a modern, modular, extensible, and fast cycle-accurate DRAM simulator. It provides support for agile implementation and evaluation of new memory system designs (e.g., new DRAM standards, emerging RowHammer mitigation techniques). Described in our paper https://people.inf.ethz.ch/omutlu/pub/Ramulator2_arxiv23.pdf
https://arxiv.org/abs/2308.11030
MIT License
252 stars 62 forks source link

Details on how to intergrate ramulator2.0 to gem5 #7

Closed brightspiritme closed 1 year ago

brightspiritme commented 1 year ago

In the README document, the fourth step in the instructions for integrating emulator2.0 into gem5 mentions "Put the Ramulator2 wrapper code to gem5/src/mem/", but the only relevant code found in the source code is "src/frontend/impl/external_wrapper/gim5_frontend. cpp", and this code seems incomplete. And the fifth step also mentioned the need to register "Ramulator2. py" as the SimObject of Gem5, but there is no reference to Ramulator2. py in the source code. May I ask if anyone can provide references for ramulator2. cc, ramulator2. hh, and Ramulator.py? I would greatly appreciate it!

RichardLuo79 commented 1 year ago

Sorry for the inconvenience. We missed some files when preparing the public version.

We have added the missing files back at gem5_wrappers

Note that the gem5 frontend (src/frontend/impl/external_wrapper/gim5_frontend. cpp) is complete. It is a "dummy" frontend in Ramulator 2 that serves the purpose of receiving memory requests from gem5 and forward them to the memory system. Hope this helps!

brightspiritme commented 1 year ago

Thank you so much!