It sounds as though trace-based debug flags in the mem_ctrl could be used to print whatever data you are looking for to an output file: https://www.gem5.org/documentation/general_docs/debugging_and_testing/debugging/trace_based_debugging
You can view the data and data size by calling pkt->getPtr() and pkt->getSize(). I hope this helps. Best, Sam On Thu, Feb 17, 2022 at 5:16 AM taeho.lim--- via gem5-users < gem5-users@gem5.org> wrote: > Dear. Gem5 users. > > > > I want to dump write accesses to main memory. > > Especially, I need write pattern, address and size. > > I tried this by to use insert a CommMonitor between bus and mem_ctrl. > > However, it could dump only address and size not data. > > > > Is there a good way to do this? > > > > Now I work with se.py script and SPEC2017 benchmark binaries. > > I don’t need to simulate the dram in detail. > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s