scc 2026.07
SystemC components library
eth::eth_channel Struct Reference
Inheritance diagram for eth::eth_channel:
Collaboration diagram for eth::eth_channel:

Public Types

using transaction_type = eth_packet_types::tlm_payload_type
using phase_type = eth_packet_types::tlm_phase_type
Public Types inherited from tlm::nw::tlm_network_fw_transport_if< eth_packet_types >
typedef eth_packet_types protocol_types
Public Types inherited from tlm::nw::tlm_network_bw_transport_if< eth_packet_types >
typedef eth_packet_types protocol_types

Public Member Functions

 eth_channel (sc_core::sc_module_name const &nm)
void b_transport (transaction_type &trans, sc_core::sc_time &t) override
tlm::tlm_sync_enum nb_transport_fw (transaction_type &trans, phase_type &phase, sc_core::sc_time &t) override
tlm::tlm_sync_enum nb_transport_bw (transaction_type &trans, phase_type &phase, sc_core::sc_time &t) override
unsigned int transport_dbg (transaction_type &trans) override

Public Attributes

eth_pkt_target_socket rx {"rx"}
eth_pkt_initiator_socket tx {"tx"}
cci::cci_param< sc_core::sc_time > channel_delay {"channel_delay", sc_core::SC_ZERO_TIME, "delay of the ETH channel"}

Detailed Description

Definition at line 121 of file eth_tlm.h.

Member Typedef Documentation

◆ phase_type

using eth::eth_channel::phase_type = eth_packet_types::tlm_phase_type

Definition at line 126 of file eth_tlm.h.

◆ transaction_type

using eth::eth_channel::transaction_type = eth_packet_types::tlm_payload_type

Definition at line 125 of file eth_tlm.h.

Constructor & Destructor Documentation

◆ eth_channel()

eth::eth_channel::eth_channel ( sc_core::sc_module_name const & nm)
inline

Definition at line 134 of file eth_tlm.h.

Member Function Documentation

◆ b_transport()

void eth::eth_channel::b_transport ( transaction_type & trans,
sc_core::sc_time & t )
inlineoverride

Definition at line 141 of file eth_tlm.h.

◆ nb_transport_bw()

tlm::tlm_sync_enum eth::eth_channel::nb_transport_bw ( transaction_type & trans,
phase_type & phase,
sc_core::sc_time & t )
inlineoverride

Definition at line 158 of file eth_tlm.h.

◆ nb_transport_fw()

tlm::tlm_sync_enum eth::eth_channel::nb_transport_fw ( transaction_type & trans,
phase_type & phase,
sc_core::sc_time & t )
inlineoverride

Definition at line 146 of file eth_tlm.h.

◆ transport_dbg()

unsigned int eth::eth_channel::transport_dbg ( transaction_type & trans)
inlineoverride

Definition at line 167 of file eth_tlm.h.

Member Data Documentation

◆ channel_delay

cci::cci_param<sc_core::sc_time> eth::eth_channel::channel_delay {"channel_delay", sc_core::SC_ZERO_TIME, "delay of the ETH channel"}

Definition at line 132 of file eth_tlm.h.

◆ rx

eth_pkt_target_socket eth::eth_channel::rx {"rx"}

Definition at line 128 of file eth_tlm.h.

◆ tx

eth_pkt_initiator_socket eth::eth_channel::tx {"tx"}

Definition at line 130 of file eth_tlm.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/interfaces/eth/eth_tlm.h