gem5-users@gem5.org

The gem5 Users mailing list

View all threads

flit payload extraction

OS
Ojas Sharma
Wed, Sep 11, 2024 3:02 PM

Hi everyone,
I'm trying to access the corresponding payload associated with a flit in
gem5. But within the class flit, there is no such thing as a payload. These
are the data members within the flit class:
protected:
int m_packet_id;
int m_id;
int m_vnet;
int m_vc;
RouteInfo m_route;
int m_size;
Tick m_enqueue_time, m_dequeue_time;
Tick m_time;
flit_type m_type;
MsgPtr m_msg_ptr;
int m_outport;
Tick src_delay;
std::pair<flit_stage, Tick> m_stage;

Is there any way to access the payload of a flit? I've looked into the
MsgPtr, but it also has no such thing associated with payload data.
RubyRequest, which is a child of Message, has some DataBlock associated
with it.

Regards,
Ojas Sharma

Hi everyone, I'm trying to access the corresponding payload associated with a flit in gem5. But within the class flit, there is no such thing as a payload. These are the data members within the flit class: protected: int m_packet_id; int m_id; int m_vnet; int m_vc; RouteInfo m_route; int m_size; Tick m_enqueue_time, m_dequeue_time; Tick m_time; flit_type m_type; MsgPtr m_msg_ptr; int m_outport; Tick src_delay; std::pair<flit_stage, Tick> m_stage; Is there any way to access the payload of a flit? I've looked into the MsgPtr, but it also has no such thing associated with payload data. RubyRequest, which is a child of Message, has some DataBlock associated with it. Regards, Ojas Sharma