gem5  v21.0.1.0
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
FastModel::ScxEvsCortexR52< Types > Class Template Reference

#include <evs.hh>

Inheritance diagram for FastModel::ScxEvsCortexR52< Types >:
Iris::BaseCpuEvs

Classes

struct  CorePins
 

Public Member Functions

 ScxEvsCortexR52 (const Params &p)
 
 ScxEvsCortexR52 (const sc_core::sc_module_name &mod_name, const Params &p)
 
void raiseInterruptPin (int num)
 
void lowerInterruptPin (int num)
 
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
 

Private Types

using Base = typename Types::Base
 
using Params = typename Types::Params
 
using Evs = ScxEvsCortexR52< Types >
 
using ClstrInt = IntSinkPin< ScxEvsCortexR52 >
 

Private Member Functions

 SC_HAS_PROCESS (ScxEvsCortexR52)
 

Private Attributes

ClockRateControlInitiatorSocket clockRateControl
 
SignalInterruptInitiatorSocket signalInterrupt
 
std::vector< std::unique_ptr< CorePins > > corePins
 
std::vector< std::unique_ptr< ClstrInt > > spis
 
CortexR52Clustergem5CpuCluster
 
const Paramsparams
 

Static Private Attributes

static const int CoreCount = Types::CoreCount
 
static const int PpiCount = 9
 
static const int SpiCount = 960
 

Detailed Description

template<class Types>
class FastModel::ScxEvsCortexR52< Types >

Definition at line 58 of file evs.hh.

Member Typedef Documentation

◆ Base

template<class Types >
using FastModel::ScxEvsCortexR52< Types >::Base = typename Types::Base
private

Definition at line 64 of file evs.hh.

◆ ClstrInt

template<class Types >
using FastModel::ScxEvsCortexR52< Types >::ClstrInt = IntSinkPin<ScxEvsCortexR52>
private

Definition at line 105 of file evs.hh.

◆ Evs

template<class Types >
using FastModel::ScxEvsCortexR52< Types >::Evs = ScxEvsCortexR52<Types>
private

Definition at line 66 of file evs.hh.

◆ Params

template<class Types >
using FastModel::ScxEvsCortexR52< Types >::Params = typename Types::Params
private

Definition at line 65 of file evs.hh.

Constructor & Destructor Documentation

◆ ScxEvsCortexR52() [1/2]

template<class Types >
FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52 ( const Params p)
inline

Definition at line 114 of file evs.hh.

◆ ScxEvsCortexR52() [2/2]

template<class Types >
FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52 ( const sc_core::sc_module_name mod_name,
const Params p 
)

Member Function Documentation

◆ end_of_elaboration()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::end_of_elaboration ( )
inlineoverride

Definition at line 132 of file evs.hh.

◆ gem5_getPort()

template<class Types >
Port & FastModel::ScxEvsCortexR52< Types >::gem5_getPort ( const std::string &  if_name,
int  idx 
)
override

Definition at line 106 of file evs.cc.

References ArmISA::a, and panic.

◆ lowerInterruptPin()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::lowerInterruptPin ( int  num)
inline

Definition at line 124 of file evs.hh.

◆ raiseInterruptPin()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::raiseInterruptPin ( int  num)
inline

Definition at line 118 of file evs.hh.

◆ SC_HAS_PROCESS()

template<class Types >
FastModel::ScxEvsCortexR52< Types >::SC_HAS_PROCESS ( ScxEvsCortexR52< Types >  )
private

◆ sendFunc()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::sendFunc ( PacketPtr  pkt)
overridevirtual

Implements Iris::BaseCpuEvs.

Definition at line 96 of file evs.cc.

References sc_gem5::packet2payload(), and panic_if.

◆ setClkPeriod()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::setClkPeriod ( Tick  clk_period)
overridevirtual

Implements Iris::BaseCpuEvs.

Definition at line 41 of file evs.cc.

References SimClock::Int::s.

◆ setCluster()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::setCluster ( SimObject cluster)
overridevirtual

Implements Iris::BaseCpuEvs.

Definition at line 55 of file evs.cc.

References panic_if.

◆ setSysCounterFrq()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::setSysCounterFrq ( uint64_t  sys_counter_frq)
overridevirtual

Implements Iris::BaseCpuEvs.

Definition at line 48 of file evs.cc.

References panic.

◆ start_of_simulation()

template<class Types >
void FastModel::ScxEvsCortexR52< Types >::start_of_simulation ( )
inlineoverride

Definition at line 137 of file evs.hh.

Member Data Documentation

◆ clockRateControl

template<class Types >
ClockRateControlInitiatorSocket FastModel::ScxEvsCortexR52< Types >::clockRateControl
private

Definition at line 70 of file evs.hh.

Referenced by FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52().

◆ CoreCount

template<class Types >
const int FastModel::ScxEvsCortexR52< Types >::CoreCount = Types::CoreCount
staticprivate

Definition at line 61 of file evs.hh.

Referenced by FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52().

◆ corePins

template<class Types >
std::vector<std::unique_ptr<CorePins> > FastModel::ScxEvsCortexR52< Types >::corePins
private

Definition at line 103 of file evs.hh.

Referenced by FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52().

◆ gem5CpuCluster

template<class Types >
CortexR52Cluster* FastModel::ScxEvsCortexR52< Types >::gem5CpuCluster
private

Definition at line 109 of file evs.hh.

◆ params

template<class Types >
const Params& FastModel::ScxEvsCortexR52< Types >::params
private

Definition at line 111 of file evs.hh.

◆ PpiCount

template<class Types >
const int FastModel::ScxEvsCortexR52< Types >::PpiCount = 9
staticprivate

Definition at line 62 of file evs.hh.

Referenced by FastModel::ScxEvsCortexR52< Types >::CorePins::CorePins().

◆ signalInterrupt

template<class Types >
SignalInterruptInitiatorSocket FastModel::ScxEvsCortexR52< Types >::signalInterrupt
private

◆ SpiCount

template<class Types >
const int FastModel::ScxEvsCortexR52< Types >::SpiCount = 960
staticprivate

Definition at line 63 of file evs.hh.

Referenced by FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52().

◆ spis

template<class Types >
std::vector<std::unique_ptr<ClstrInt> > FastModel::ScxEvsCortexR52< Types >::spis
private

Definition at line 107 of file evs.hh.

Referenced by FastModel::ScxEvsCortexR52< Types >::ScxEvsCortexR52().


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

Generated on Tue Jun 22 2021 15:28:50 for gem5 by doxygen 1.8.17