CIRCT  20.0.0git
Public Member Functions | Private Attributes | List of all members
TraceMMIO Class Reference
Inheritance diagram for TraceMMIO:
Inheritance graph
[legend]
Collaboration diagram for TraceMMIO:
Collaboration graph
[legend]

Public Member Functions

 TraceMMIO (TraceAccelerator::Impl &impl)
 
virtual uint64_t read (uint32_t addr) const override
 Read a 64-bit value from the global MMIO space. More...
 
virtual void write (uint32_t addr, uint64_t data) override
 Write a 64-bit value to the global MMIO space. More...
 
- Public Member Functions inherited from esi::services::MMIO
 MMIO (Context &ctxt, AppIDPath idPath, std::string implName, const ServiceImplDetails &details, const HWClientDetails &clients)
 
 MMIO ()=default
 
virtual ~MMIO ()=default
 
const std::map< AppIDPath, RegionDescriptor > & getRegions () const
 Get the regions of MMIO space that this service manages. More...
 
virtual ServicegetChildService (AcceleratorConnection *conn, Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={}) override
 If the service is a MMIO service, return a region of the MMIO space which peers into ours. More...
 
virtual std::string getServiceSymbol () const override
 
virtual ServicePortgetPort (AppIDPath id, const BundleType *type, const std::map< std::string, ChannelPort & > &, AcceleratorConnection &) const override
 Get a MMIO region port for a particular region descriptor. More...
 
- Public Member Functions inherited from esi::services::Service
virtual ~Service ()=default
 

Private Attributes

TraceAccelerator::Implimpl
 

Additional Inherited Members

- Public Types inherited from esi::services::Service
using Type = const std::type_info &
 
- Static Public Attributes inherited from esi::services::MMIO
static constexpr std::string_view StdName = "esi.service.std.mmio"
 

Detailed Description

Definition at line 265 of file Trace.cpp.

Constructor & Destructor Documentation

◆ TraceMMIO()

TraceMMIO::TraceMMIO ( TraceAccelerator::Impl impl)
inline

Definition at line 267 of file Trace.cpp.

Member Function Documentation

◆ read()

virtual uint64_t TraceMMIO::read ( uint32_t  addr) const
inlineoverridevirtual

Read a 64-bit value from the global MMIO space.

Implements esi::services::MMIO.

Definition at line 269 of file Trace.cpp.

References esi::backends::trace::TraceAccelerator::impl.

◆ write()

virtual void TraceMMIO::write ( uint32_t  addr,
uint64_t  data 
)
inlineoverridevirtual

Write a 64-bit value to the global MMIO space.

Implements esi::services::MMIO.

Definition at line 276 of file Trace.cpp.

References esi::backends::trace::TraceAccelerator::impl.

Member Data Documentation

◆ impl

TraceAccelerator::Impl& TraceMMIO::impl
private

Definition at line 284 of file Trace.cpp.


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