Skip to content

Class ipc::BaseAgent

ClassList > ipc > BaseAgent

Inherits the following classes: sc_module

Inherited by the following classes: ipc::DbgAgent, ipc::TimingAgent

Classes

Type Name
struct MsgInfo
struct TrunkInfo

Public Functions

Type Name
void AddPayloadImpl (tlm::tlm_command cmd, uint64_t addr, const std::vector< uint8_t > & data, uint32_t msgid)
BaseAgent (const sc_module_name & name, std::string socket_path)
void InsertResponse (TrunkInfo & trunk_info, msg_op_t op, uint8_t * data)
void ProcessFWQueue ()

Protected Attributes

Type Name
MsgQueue< msg_t > bw_queue_
std::unordered_map< tlm::tlm_generic_payload *, std::vector< uint8_t > > byte_enable_map_
MsgQueue< const msg_t * > fw_queue_
std::unordered_map< uint32_t, MsgInfo > msg_info_map_
std::unordered_map< tlm::tlm_generic_payload *, std::vector< uint8_t > > payload_data_map_
std::deque< tlm::tlm_generic_payload * > payload_q_
Server server_
std::string socket_path_
std::unordered_map< tlm::tlm_generic_payload *, TrunkInfo > trunk_info_map_

Public Functions Documentation

function AddPayloadImpl

void ipc::BaseAgent::AddPayloadImpl (
    tlm::tlm_command cmd,
    uint64_t addr,
    const std::vector< uint8_t > & data,
    uint32_t msgid
) 

function BaseAgent

ipc::BaseAgent::BaseAgent (
    const sc_module_name & name,
    std::string socket_path
) 

function InsertResponse

void ipc::BaseAgent::InsertResponse (
    TrunkInfo & trunk_info,
    msg_op_t op,
    uint8_t * data
) 

function ProcessFWQueue

void ipc::BaseAgent::ProcessFWQueue () 

Protected Attributes Documentation

variable bw_queue_

MsgQueue<msg_t> ipc::BaseAgent::bw_queue_;

variable byte_enable_map_

std::unordered_map<tlm::tlm_generic_payload *, std::vector<uint8_t> > ipc::BaseAgent::byte_enable_map_;

variable fw_queue_

MsgQueue<const msg_t *> ipc::BaseAgent::fw_queue_;

variable msg_info_map_

std::unordered_map<uint32_t, MsgInfo> ipc::BaseAgent::msg_info_map_;

variable payload_data_map_

std::unordered_map<tlm::tlm_generic_payload *, std::vector<uint8_t> > ipc::BaseAgent::payload_data_map_;

variable payload_q_

std::deque<tlm::tlm_generic_payload *> ipc::BaseAgent::payload_q_;

variable server_

Server ipc::BaseAgent::server_;

variable socket_path_

std::string ipc::BaseAgent::socket_path_;

variable trunk_info_map_

std::unordered_map<tlm::tlm_generic_payload *, TrunkInfo> ipc::BaseAgent::trunk_info_map_;


The documentation for this class was generated from the following file projects/casvp/src/bindings/ipc/base_agent.h