gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Where exactly are the flits generated

OS
Ojas Sharma
Fri, May 3, 2024 11:42 AM

Hi,
Can someone please tell me where exactly the flits are generated?
I want to do some operations on the flits when they are generated,
for example i want to add a field say sequence number to the flit and send
them in that a certain sequence using that data, but for that i would have
to add the sequence number when the flits are generated from a packet. So
for this i want to know where these flits are created.

Hi, Can someone please tell me where exactly the flits are generated? I want to do some operations on the flits when they are generated, for example i want to add a field say sequence number to the flit and send them in that a certain sequence using that data, but for that i would have to add the sequence number when the flits are generated from a packet. So for this i want to know where these flits are created.
KS
Karim Soliman
Sat, May 4, 2024 5:14 AM

Hello Ojas,
If you are using the Gem5 synthetic traffic patterns, you will find the
packet generation in the following file
src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc
Which is also responsible for generating packets, injecting them into the
networks, and the corresponding traffic pattern to determine the source and
destination IDs.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)

On Fri, May 3, 2024 at 7:45 PM Ojas Sharma via gem5-users <
gem5-users@gem5.org> wrote:

Hi,
Can someone please tell me where exactly the flits are generated?
I want to do some operations on the flits when they are generated,
for example i want to add a field say sequence number to the flit and send
them in that a certain sequence using that data, but for that i would have
to add the sequence number when the flits are generated from a packet. So
for this i want to know where these flits are created.


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

Hello Ojas, If you are using the Gem5 synthetic traffic patterns, you will find the packet generation in the following file src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc Which is also responsible for generating packets, injecting them into the networks, and the corresponding traffic pattern to determine the source and destination IDs. Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) On Fri, May 3, 2024 at 7:45 PM Ojas Sharma via gem5-users < gem5-users@gem5.org> wrote: > Hi, > Can someone please tell me where exactly the flits are generated? > I want to do some operations on the flits when they are generated, > for example i want to add a field say sequence number to the flit and send > them in that a certain sequence using that data, but for that i would have > to add the sequence number when the flits are generated from a packet. So > for this i want to know where these flits are created. > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >