gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Modifying Garnet Routers

VM
Vladimir Milicevic
Fri, Feb 2, 2024 3:23 AM

I am trying to get the routers in a Garnet network to print when a GetX request is received on the network. This is in preparation to further extend the capabilities of the routers in the network. Can someone help point me to which files I should be modifying to see this message printed using the DPRINTF function in full-system simulation? I first tried to do this from the source at the L2 Cache Controller in my build/X86/memory/ruby/protocol/L2Cache_Controller.cchttp://l2cache_controller.cc, but realized when I edited this file that its not what’s being called during FS simulation. Any guidance is appreciated.

Thank you.

This email contains links to content or websites. Always be cautious when opening external links or attachments.

Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages.

When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat

-----End of Disclaimer-----

I am trying to get the routers in a Garnet network to print when a GetX request is received on the network. This is in preparation to further extend the capabilities of the routers in the network. Can someone help point me to which files I should be modifying to see this message printed using the DPRINTF function in full-system simulation? I first tried to do this from the source at the L2 Cache Controller in my build/X86/memory/ruby/protocol/L2Cache_Controller.cc<http://l2cache_controller.cc>, but realized when I edited this file that its not what’s being called during FS simulation. Any guidance is appreciated. Thank you. This email contains links to content or websites. Always be cautious when opening external links or attachments. Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages. When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat -----End of Disclaimer-----
SB
Srikant Bharadwaj
Fri, Feb 2, 2024 6:07 AM

Hi Vladimir,
You can print the message pointer in Network Interface. You can use the
Garnet DPRINTF to do so.

The file to modify would be src/mem/ruby/network/garnet/NetworkInterface.cc
in function flitisizeMessage

Thanks,
Srikant

On Thu, Feb 1, 2024 at 7:26 PM Vladimir Milicevic via gem5-users <
gem5-users@gem5.org> wrote:

I am trying to get the routers in a Garnet network to print when a GetX
request is received on the network. This is in preparation to further
extend the capabilities of the routers in the network. Can someone help
point me to which files I should be modifying to see this message printed
using the DPRINTF function in full-system simulation? I first tried to do
this from the source at the L2 Cache Controller in my
build/X86/memory/ruby/protocol/L2Cache_Controller.cc
http://l2cache_controller.cc, but realized when I edited this file that
its not what’s being called during FS simulation. Any guidance is
appreciated.

Thank you.

This email contains links to content or websites. Always be cautious when
opening external links or attachments.

Please visit https://carleton.ca/its/help-centre/report-phishing/ for
information on reporting phishing messages.

When in doubt, the ITS Service Desk can provide assistance.
https://carleton.ca/its/chat

-----End of Disclaimer-----


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Vladimir, You can print the message pointer in Network Interface. You can use the Garnet DPRINTF to do so. The file to modify would be src/mem/ruby/network/garnet/NetworkInterface.cc in function flitisizeMessage Thanks, Srikant On Thu, Feb 1, 2024 at 7:26 PM Vladimir Milicevic via gem5-users < gem5-users@gem5.org> wrote: > I am trying to get the routers in a Garnet network to print when a GetX > request is received on the network. This is in preparation to further > extend the capabilities of the routers in the network. Can someone help > point me to which files I should be modifying to see this message printed > using the DPRINTF function in full-system simulation? I first tried to do > this from the source at the L2 Cache Controller in my > build/X86/memory/ruby/protocol/L2Cache_Controller.cc > <http://l2cache_controller.cc>, but realized when I edited this file that > its not what’s being called during FS simulation. Any guidance is > appreciated. > > Thank you. > > This email contains links to content or websites. Always be cautious when > opening external links or attachments. > > Please visit https://carleton.ca/its/help-centre/report-phishing/ for > information on reporting phishing messages. > > When in doubt, the ITS Service Desk can provide assistance. > https://carleton.ca/its/chat > > -----End of Disclaimer----- > > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
VM
Vladimir Milicevic
Sat, Feb 3, 2024 7:22 PM

Thanks Srikant, this worked.

Vladimir

On Feb 2, 2024, at 1:07 AM, Srikant Bharadwaj srikantvv@gmail.com wrote:

[External Email]
Hi Vladimir,
You can print the message pointer in Network Interface. You can use the Garnet DPRINTF to do so.

The file to modify would be src/mem/ruby/network/garnet/NetworkInterface.cchttp://networkinterface.cc/ in function flitisizeMessage

Thanks,
Srikant

On Thu, Feb 1, 2024 at 7:26 PM Vladimir Milicevic via gem5-users <gem5-users@gem5.orgmailto:gem5-users@gem5.org> wrote:
I am trying to get the routers in a Garnet network to print when a GetX request is received on the network. This is in preparation to further extend the capabilities of the routers in the network. Can someone help point me to which files I should be modifying to see this message printed using the DPRINTF function in full-system simulation? I first tried to do this from the source at the L2 Cache Controller in my build/X86/memory/ruby/protocol/L2Cache_Controller.cchttp://l2cache_controller.cc/, but realized when I edited this file that its not what’s being called during FS simulation. Any guidance is appreciated.

Thank you.

This email contains links to content or websites. Always be cautious when opening external links or attachments.

Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages.

When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat

-----End of Disclaimer-----


gem5-users mailing list -- gem5-users@gem5.orgmailto:gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.orgmailto:gem5-users-leave@gem5.org

Thanks Srikant, this worked. Vladimir On Feb 2, 2024, at 1:07 AM, Srikant Bharadwaj <srikantvv@gmail.com> wrote: [External Email] Hi Vladimir, You can print the message pointer in Network Interface. You can use the Garnet DPRINTF to do so. The file to modify would be src/mem/ruby/network/garnet/NetworkInterface.cc<http://networkinterface.cc/> in function flitisizeMessage Thanks, Srikant On Thu, Feb 1, 2024 at 7:26 PM Vladimir Milicevic via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: I am trying to get the routers in a Garnet network to print when a GetX request is received on the network. This is in preparation to further extend the capabilities of the routers in the network. Can someone help point me to which files I should be modifying to see this message printed using the DPRINTF function in full-system simulation? I first tried to do this from the source at the L2 Cache Controller in my build/X86/memory/ruby/protocol/L2Cache_Controller.cc<http://l2cache_controller.cc/>, but realized when I edited this file that its not what’s being called during FS simulation. Any guidance is appreciated. Thank you. This email contains links to content or websites. Always be cautious when opening external links or attachments. Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages. When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat -----End of Disclaimer----- _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-leave@gem5.org<mailto:gem5-users-leave@gem5.org>