gem5  v21.2.1.1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
gem5::fastmodel::ScxEvsCortexA76< Types > Class Template Reference

#include <evs.hh>

Inheritance diagram for gem5::fastmodel::ScxEvsCortexA76< Types >:
gem5::Iris::BaseCpuEvs

Public Member Functions

 ScxEvsCortexA76 (const Params &p)
 
 ScxEvsCortexA76 (const sc_core::sc_module_name &mod_name, const Params &p)
 
void before_end_of_elaboration () override
 
Portgem5_getPort (const std::string &if_name, int idx) override
 
void end_of_elaboration () override
 
void start_of_simulation () override
 
void sendFunc (PacketPtr pkt) override
 
void setClkPeriod (Tick clk_period) override
 
void setSysCounterFrq (uint64_t sys_counter_frq) override
 
void setCluster (SimObject *cluster) override
 
void setResetAddr (int core, Addr addr, bool secure) override
 

Private Types

using Base = typename Types::Base
 
using Params = typename Types::Params
 
using TlmGicTarget = sc_gem5::TlmTargetBaseWrapper< 64, svp_gicv3_comms::gicv3_comms_fw_if, svp_gicv3_comms::gicv3_comms_bw_if, 1, sc_core::SC_ONE_OR_MORE_BOUND >
 
template<typename T >
using SignalInitiator = amba_pv::signal_master_port< T >
 

Private Member Functions

 SC_HAS_PROCESS (ScxEvsCortexA76)
 

Private Attributes

ClockRateControlInitiatorSocket clockRateControl
 
ClockRateControlInitiatorSocket periphClockRateControl
 
AmbaInitiator amba
 
std::vector< std::unique_ptr< TlmGicTarget > > redist
 
std::vector< std::unique_ptr< SignalReceiver > > cnthpirq
 
std::vector< std::unique_ptr< SignalReceiver > > cnthvirq
 
std::vector< std::unique_ptr< SignalReceiver > > cntpsirq
 
std::vector< std::unique_ptr< SignalReceiver > > cntvirq
 
std::vector< std::unique_ptr< SignalReceiver > > commirq
 
std::vector< std::unique_ptr< SignalReceiver > > ctidbgirq
 
std::vector< std::unique_ptr< SignalReceiver > > pmuirq
 
std::vector< std::unique_ptr< SignalReceiver > > vcpumntirq
 
std::vector< std::unique_ptr< SignalReceiver > > cntpnsirq
 
std::vector< std::unique_ptr< SignalInitiator< uint64_t > > > rvbaraddr
 
CortexA76Clustergem5CpuCluster
 
const Paramsparams
 

Static Private Attributes

static const int CoreCount = Types::CoreCount
 

Detailed Description

template<class Types>
class gem5::fastmodel::ScxEvsCortexA76< Types >

Definition at line 60 of file evs.hh.

Member Typedef Documentation

◆ Base

template<class Types >
using gem5::fastmodel::ScxEvsCortexA76< Types >::Base = typename Types::Base
private

Definition at line 64 of file evs.hh.

◆ Params

template<class Types >
using gem5::fastmodel::ScxEvsCortexA76< Types >::Params = typename Types::Params
private

Definition at line 65 of file evs.hh.

◆ SignalInitiator

template<class Types >
template<typename T >
using gem5::fastmodel::ScxEvsCortexA76< Types >::SignalInitiator = amba_pv::signal_master_port<T>
private

Definition at line 78 of file evs.hh.

◆ TlmGicTarget

template<class Types >
using gem5::fastmodel::ScxEvsCortexA76< Types >::TlmGicTarget = sc_gem5::TlmTargetBaseWrapper< 64, svp_gicv3_comms::gicv3_comms_fw_if, svp_gicv3_comms::gicv3_comms_bw_if, 1, sc_core::SC_ONE_OR_MORE_BOUND>
private

Definition at line 75 of file evs.hh.

Constructor & Destructor Documentation

◆ ScxEvsCortexA76() [1/2]

template<class Types >
gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76 ( const Params p)
inline

Definition at line 99 of file evs.hh.

◆ ScxEvsCortexA76() [2/2]

template<class Types >
gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76 ( const sc_core::sc_module_name mod_name,
const Params p 
)

Member Function Documentation

◆ before_end_of_elaboration()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::before_end_of_elaboration
override

◆ end_of_elaboration()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::end_of_elaboration ( )
inlineoverride

Definition at line 106 of file evs.hh.

◆ gem5_getPort()

template<class Types >
Port & gem5::fastmodel::ScxEvsCortexA76< Types >::gem5_getPort ( const std::string &  if_name,
int  idx 
)
override

Definition at line 155 of file evs.cc.

◆ SC_HAS_PROCESS()

template<class Types >
gem5::fastmodel::ScxEvsCortexA76< Types >::SC_HAS_PROCESS ( ScxEvsCortexA76< Types >  )
private

◆ sendFunc()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::sendFunc ( PacketPtr  pkt)
overridevirtual

Implements gem5::Iris::BaseCpuEvs.

Definition at line 115 of file evs.cc.

References sc_gem5::packet2payload(), and panic_if.

◆ setClkPeriod()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::setClkPeriod ( Tick  clk_period)
overridevirtual

Implements gem5::Iris::BaseCpuEvs.

Definition at line 46 of file evs.cc.

References gem5::sim_clock::as_int::s.

◆ setCluster()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::setCluster ( SimObject cluster)
overridevirtual

Implements gem5::Iris::BaseCpuEvs.

Definition at line 60 of file evs.cc.

References panic_if.

◆ setResetAddr()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::setResetAddr ( int  core,
Addr  addr,
bool  secure 
)
overridevirtual

Implements gem5::Iris::BaseCpuEvs.

Definition at line 68 of file evs.cc.

References gem5::X86ISA::addr.

◆ setSysCounterFrq()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::setSysCounterFrq ( uint64_t  sys_counter_frq)
overridevirtual

Implements gem5::Iris::BaseCpuEvs.

Definition at line 53 of file evs.cc.

◆ start_of_simulation()

template<class Types >
void gem5::fastmodel::ScxEvsCortexA76< Types >::start_of_simulation ( )
inlineoverride

Definition at line 111 of file evs.hh.

Member Data Documentation

◆ amba

template<class Types >
AmbaInitiator gem5::fastmodel::ScxEvsCortexA76< Types >::amba
private

Definition at line 80 of file evs.hh.

◆ clockRateControl

template<class Types >
ClockRateControlInitiatorSocket gem5::fastmodel::ScxEvsCortexA76< Types >::clockRateControl
private

Definition at line 69 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ cnthpirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::cnthpirq
private

Definition at line 83 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ cnthvirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::cnthvirq
private

Definition at line 84 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ cntpnsirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::cntpnsirq
private

Definition at line 91 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ cntpsirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::cntpsirq
private

Definition at line 85 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ cntvirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::cntvirq
private

Definition at line 86 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ commirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::commirq
private

Definition at line 87 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ CoreCount

template<class Types >
const int gem5::fastmodel::ScxEvsCortexA76< Types >::CoreCount = Types::CoreCount
staticprivate

Definition at line 63 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ ctidbgirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::ctidbgirq
private

Definition at line 88 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ gem5CpuCluster

template<class Types >
CortexA76Cluster* gem5::fastmodel::ScxEvsCortexA76< Types >::gem5CpuCluster
private

Definition at line 94 of file evs.hh.

◆ params

template<class Types >
const Params& gem5::fastmodel::ScxEvsCortexA76< Types >::params
private

Definition at line 96 of file evs.hh.

◆ periphClockRateControl

template<class Types >
ClockRateControlInitiatorSocket gem5::fastmodel::ScxEvsCortexA76< Types >::periphClockRateControl
private

Definition at line 70 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ pmuirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::pmuirq
private

Definition at line 89 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ redist

template<class Types >
std::vector<std::unique_ptr<TlmGicTarget> > gem5::fastmodel::ScxEvsCortexA76< Types >::redist
private

Definition at line 81 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ rvbaraddr

template<class Types >
std::vector<std::unique_ptr<SignalInitiator<uint64_t> > > gem5::fastmodel::ScxEvsCortexA76< Types >::rvbaraddr
private

Definition at line 92 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().

◆ vcpumntirq

template<class Types >
std::vector<std::unique_ptr<SignalReceiver> > gem5::fastmodel::ScxEvsCortexA76< Types >::vcpumntirq
private

Definition at line 90 of file evs.hh.

Referenced by gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76().


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

Generated on Wed May 4 2022 12:15:04 for gem5 by doxygen 1.8.17