umd-memsys / DRAMSim2

DRAMSim2: A cycle accurate DRAM simulator
http://www.ece.umd.edu/~blj/papers/cal10-1.pdf
255 stars 151 forks source link

How to generate the *.trc.gz trace files? #80

Closed HaFred closed 3 years ago

HaFred commented 3 years ago

Hi, does anyone happen to know how do we generate the *.trc.gz trace files? Say I have a .riscv compiled binaries in which some of the instructions are for DRAM access, how do I do this? Thanks~

he238 commented 3 years ago

I tried to do this with GEM5. You modify the memory of GEM5 to record the access trace.

HaFred commented 3 years ago

I tried to do this with GEM5. You modify the memory of GEM5 to record the access trace.

Hi thank you for your reply. Could you provide a minimum gem5 command for integrate dramsim2? I searched around but did not find any...