Hi Andreas, I managed to get the actual data using commMonitor. However, instead of 32-bit it gives me 8-bit data. Since the data is 32-bit instruction this 8-bit am getting is not sufficient enough. do you have any idea how I can extract the full 32-bit data. is it multi-cycle or I can extract them in a single cycle.
Thanks, Anteneh On Sun, Nov 16, 2014 at 12:15 PM, Anteneh Bogale Gebregiorgis < [email protected]> wrote: > Hi Andreas, > > As per your recommendation I analyze the packet.proto and I found that > commMonitor is tracing the address, size, tick and flags but not the data. > I tried to add a data field to the trace but packet doesn't have a > getdata() method that allows access to its private pointer data. can you > give me some clue on adding a pointer filed to trace? > > Anteneh > > > On Fri, Nov 14, 2014 at 3:41 PM, Andreas Hansson <[email protected]> > wrote: > >> Hi Anteneh, >> >> The ASCII converted only outputs a small subset of the information >> stored in the trace. Have a look at src/proto/packet.proto. >> >> There is currently no PC captured (as a lot of packets would not have >> this information), but there is a pkt_id field that is currently not used >> by the CommMonitor. You could always add a field to the trace⦠>> >> Andreas >> >> From: Anteneh Bogale Gebregiorgis via gem5-users <[email protected]> >> Reply-To: Anteneh Bogale Gebregiorgis <[email protected]>, gem5 users >> mailing list <[email protected]> >> Date: Friday, 14 November 2014 14:36 >> To: "[email protected]" <[email protected]> >> Subject: [gem5-users] Cache trace using communication monitor >> (commMonitor) >> >> Dear all, >> >> I want to trace the instructions written to instruction cache. I added >> commMonitor between the instruction cache and memory by modifying >> CacheConfig.py as: >> >> system.icachemonitor = >> CommMonitor(trace_file='ICache_content.ptrc',trace_enable=True) >> icache.mem_side = system.icachemonitor.slave >> system.icachemonitor.master = system.membus.slave >> I got the protoc file and I decode it using the decode script in util >> directory. the decoded file looks like: >> >> r,27840,64,768,912132500 >> r,18304,64,768,912189500 >> r,8302400,64,256,912260500 >> r,8302464,64,256,912438000 >> r,8302528,64,256,936300000 >> r,8302592,64,256,936383000 >> >> the question is how to identify the instructions from this file? >> or is there another way of obtaining the the trace without using >> commMonitor? >> >> Thanks, >> Anteneh >> >> -- IMPORTANT NOTICE: The contents of this email and any attachments are >> confidential and may also be privileged. If you are not the intended >> recipient, please notify the sender immediately and do not disclose the >> contents to any other person, use it for any purpose, or store or copy the >> information in any medium. Thank you. >> >> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, >> Registered in England & Wales, Company No: 2557590 >> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, >> Registered in England & Wales, Company No: 2548782 >> > >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
