scc  2024.06
SystemC components library
spi::spi_channel Struct Reference
Inheritance diagram for spi::spi_channel:
Collaboration diagram for spi::spi_channel:

Public Types

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

Public Member Functions

 spi_channel (sc_core::sc_module_name const &nm, size_t slave_count)
 
spi_pkt_target_socketoperator() ()
 
spi_pkt_initiator_socketoperator() (size_t idx)
 
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

spi_pkt_target_socket tsck {"tsck"}
 
sc_core::sc_vector< spi_pkt_initiator_socket<> > isck {"isck"}
 
cci::cci_param< sc_core::sc_time > channel_delay {"channel_delay", sc_core::SC_ZERO_TIME, "delay of the SPI channel"}
 

Detailed Description

Definition at line 77 of file spi_tlm.h.


The documentation for this struct was generated from the following file: