I tried printing senders adding comm monitor between a slave and master 
interface like this,
111000: system.cpu0.icache.icache_cpu: req-0: resp-1: cmd-ReadResp: cmdIndex: 
2, addr: 16528 masterId: 5

Here icache sends the response to the cpu0

If you are looking for something like this, I can help.


Regards,
Md Rubel Ahmed
________________________________
From: bagchi95aritra--- via gem5-users <gem5-users@gem5.org>
Sent: Monday, April 5, 2021 2:38 PM
To: gem5-users@gem5.org <gem5-users@gem5.org>
Cc: bagchi95ari...@gmail.com <bagchi95ari...@gmail.com>
Subject: [gem5-users] How to see the sender state information of a response pkt

Hi all,

I want to see the sender state information of a response packet “pkt”. I am 
trying this:

Packet::PrintReqState *prs = dynamic_cast<Packet::PrintReqState *> 
(pkt->senderState);
prs->printLabels( );
prs->printObj(pkt);

This throws segmentation fault. Could anyone please suggest an way to print/see 
the sender state information of a pkt?

Thanks and regards,
Aritra
_______________________________________________
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
[EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize the 
sender and know the content is safe.
_______________________________________________
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

Reply via email to