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-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to