Go to the documentation of this file.
28 #ifndef __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
29 #define __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
31 #pragma GCC diagnostic push
32 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
34 #pragma GCC diagnostic pop
43 #include "params/FastModelGIC.hh"
44 #include "params/SCFastModelGIC.hh"
45 #include "scx_evs_GIC.h"
60 class SCGIC :
public scx_evs_GIC
69 public svp_gicv3_comms::gicv3_comms_fw_if
73 svp_gicv3_comms::gicv3_comms_initiator_socket<>>
Initiators;
75 svp_gicv3_comms::gicv3_comms_target_socket<>>
Targets;
108 scx_evs_GIC::end_of_elaboration();
109 scx_evs_GIC::start_of_simulation();
122 64, svp_gicv3_comms::gicv3_comms_fw_if,
123 svp_gicv3_comms::gicv3_comms_bw_if, 1,
139 void sendInt(uint32_t num)
override;
140 void clearInt(uint32_t num)
override;
142 void sendPPInt(uint32_t num, uint32_t cpu)
override;
143 void clearPPInt(uint32_t num, uint32_t cpu)
override;
155 #endif // __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
std::vector< std::unique_ptr< IntSourcePin< GIC > > > wakeRequestPorts
sc_core::sc_vector< svp_gicv3_comms::gicv3_comms_target_socket<> > Targets
SCGIC(const SCFastModelGICParams &p)
void start_of_simulation() override
sc_core::sc_vector< svp_gicv3_comms::gicv3_comms_initiator_socket<> > Initiators
void sendInt(uint32_t num) override
Post an interrupt from a device that is connected to the GIC.
Port & gem5_getPort(const std::string &if_name, int idx) override
std::list< AddrRange > AddrRangeList
Convenience typedef for a collection of address ranges.
void before_end_of_elaboration() override
SignalInterruptInitiatorSocket signalInterrupt
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
const PortID InvalidPortID
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
void sendPPInt(uint32_t num, uint32_t cpu) override
Interface call for private peripheral interrupts.
void clearInt(uint32_t num) override
Clear an interrupt from a device that is connected to the GIC.
bool supportsVersion(GicVersion version) override
Check if version supported.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t Tick
Tick count type.
const Params & params() const
std::vector< std::unique_ptr< TlmGicInitiator > > redistributors
AddrRangeList getAddrRanges() const override
Every PIO device is obliged to provide an implementation that returns the address ranges the device r...
const std::string & name()
GIC(const FastModelGICParams ¶ms)
void end_of_elaboration() override
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
static int countUnbound(const Initiators &inits)
Ports are used to interface objects to each other.
Terminator(sc_core::sc_module_name _name, Initiators &inits)
sc_gem5::TlmInitiatorBaseWrapper< 64, svp_gicv3_comms::gicv3_comms_fw_if, svp_gicv3_comms::gicv3_comms_bw_if, 1, sc_core::SC_ONE_OR_MORE_BOUND > TlmGicInitiator
std::vector< std::unique_ptr< SignalReceiver > > wakeRequests
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
void sendTowardsCPU(uint8_t len, const uint8_t *data) override
std::unique_ptr< Terminator > terminator
void clearPPInt(uint32_t num, uint32_t cpu) override
const SCFastModelGICParams & _params
Generated on Sun Jul 30 2023 01:56:47 for gem5 by doxygen 1.8.17