gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::fastmodel::AmbaToTlmBridge64 Class Reference

#include <amba_to_tlm_bridge.hh>

Inheritance diagram for gem5::fastmodel::AmbaToTlmBridge64:

Public Member Functions

 AmbaToTlmBridge64 (const AmbaToTlmBridge64Params &params, const sc_core::sc_module_name &name)
 
 AmbaToTlmBridge64 (const AmbaToTlmBridge64Params &params)
 
gem5::Portgem5_getPort (const std::string &if_name, int idx=-1) override
 

Private Member Functions

void bTransport (amba_pv::amba_pv_transaction &trans, sc_core::sc_time &t)
 
bool getDirectMemPtr (amba_pv::amba_pv_transaction &trans, tlm::tlm_dmi &dmi_data)
 
unsigned int transportDbg (amba_pv::amba_pv_transaction &trans)
 
void invalidateDirectMemPtr (sc_dt::uint64 start_range, sc_dt::uint64 end_range)
 
void maybeSetupAtomicExtension (amba_pv::amba_pv_transaction &trans)
 
void setupControlExtension (amba_pv::amba_pv_transaction &trans)
 

Private Attributes

tlm_utils::simple_target_socket< AmbaToTlmBridge64, 64, tlm::tlm_base_protocol_typestargetProxy
 
tlm_utils::simple_initiator_socket< AmbaToTlmBridge64, 64, tlm::tlm_base_protocol_typesinitiatorProxy
 
sc_gem5::TlmInitiatorWrapper< 64 > tlmWrapper
 
AmbaTarget ambaWrapper
 
bool setStreamId
 

Detailed Description

Definition at line 47 of file amba_to_tlm_bridge.hh.

Constructor & Destructor Documentation

◆ AmbaToTlmBridge64() [1/2]

gem5::fastmodel::AmbaToTlmBridge64::AmbaToTlmBridge64 ( const AmbaToTlmBridge64Params & params,
const sc_core::sc_module_name & name )

◆ AmbaToTlmBridge64() [2/2]

gem5::fastmodel::AmbaToTlmBridge64::AmbaToTlmBridge64 ( const AmbaToTlmBridge64Params & params)
inline

Definition at line 52 of file amba_to_tlm_bridge.hh.

Member Function Documentation

◆ bTransport()

void gem5::fastmodel::AmbaToTlmBridge64::bTransport ( amba_pv::amba_pv_transaction & trans,
sc_core::sc_time & t )
private

◆ gem5_getPort()

Port & gem5::fastmodel::AmbaToTlmBridge64::gem5_getPort ( const std::string & if_name,
int idx = -1 )
override

Definition at line 93 of file amba_to_tlm_bridge.cc.

References ambaWrapper, and tlmWrapper.

◆ getDirectMemPtr()

bool gem5::fastmodel::AmbaToTlmBridge64::getDirectMemPtr ( amba_pv::amba_pv_transaction & trans,
tlm::tlm_dmi & dmi_data )
private

Definition at line 113 of file amba_to_tlm_bridge.cc.

References initiatorProxy.

Referenced by AmbaToTlmBridge64().

◆ invalidateDirectMemPtr()

void gem5::fastmodel::AmbaToTlmBridge64::invalidateDirectMemPtr ( sc_dt::uint64 start_range,
sc_dt::uint64 end_range )
private

Definition at line 126 of file amba_to_tlm_bridge.cc.

References targetProxy.

Referenced by AmbaToTlmBridge64().

◆ maybeSetupAtomicExtension()

void gem5::fastmodel::AmbaToTlmBridge64::maybeSetupAtomicExtension ( amba_pv::amba_pv_transaction & trans)
private

Definition at line 133 of file amba_to_tlm_bridge.cc.

References fa, and fatal_if.

Referenced by bTransport().

◆ setupControlExtension()

void gem5::fastmodel::AmbaToTlmBridge64::setupControlExtension ( amba_pv::amba_pv_transaction & trans)
private

◆ transportDbg()

unsigned int gem5::fastmodel::AmbaToTlmBridge64::transportDbg ( amba_pv::amba_pv_transaction & trans)
private

Definition at line 120 of file amba_to_tlm_bridge.cc.

References initiatorProxy.

Referenced by AmbaToTlmBridge64().

Member Data Documentation

◆ ambaWrapper

AmbaTarget gem5::fastmodel::AmbaToTlmBridge64::ambaWrapper
private

Definition at line 73 of file amba_to_tlm_bridge.hh.

Referenced by gem5_getPort().

◆ initiatorProxy

tlm_utils::simple_initiator_socket< AmbaToTlmBridge64, 64, tlm::tlm_base_protocol_types> gem5::fastmodel::AmbaToTlmBridge64::initiatorProxy
private

Definition at line 71 of file amba_to_tlm_bridge.hh.

Referenced by AmbaToTlmBridge64(), bTransport(), getDirectMemPtr(), and transportDbg().

◆ setStreamId

bool gem5::fastmodel::AmbaToTlmBridge64::setStreamId
private

Definition at line 74 of file amba_to_tlm_bridge.hh.

Referenced by setupControlExtension().

◆ targetProxy

tlm_utils::simple_target_socket< AmbaToTlmBridge64, 64, tlm::tlm_base_protocol_types> gem5::fastmodel::AmbaToTlmBridge64::targetProxy
private

Definition at line 69 of file amba_to_tlm_bridge.hh.

Referenced by AmbaToTlmBridge64(), and invalidateDirectMemPtr().

◆ tlmWrapper

sc_gem5::TlmInitiatorWrapper<64> gem5::fastmodel::AmbaToTlmBridge64::tlmWrapper
private

Definition at line 72 of file amba_to_tlm_bridge.hh.

Referenced by gem5_getPort().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0