Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Classes | Public Member Functions | Public Attributes | List of all members
AHBCtrl Class Reference

#include <ahbctrl.h>

Inheritance diagram for AHBCtrl:
Collaboration diagram for AHBCtrl:

Public Member Functions

 GC_HAS_CALLBACKS ()
 
 SC_HAS_PROCESS (AHBCtrl)
 
 SR_HAS_SIGNALS (AHBCtrl)
 
void b_transport (uint32_t id, tlm::tlm_generic_payload &gp, sc_core::sc_time &delay)
 TLM blocking transport method. More...
 
tlm::tlm_sync_enum nb_transport_fw (uint32_t id, tlm::tlm_generic_payload &gp, tlm::tlm_phase &phase, sc_core::sc_time &delay)
 TLM non-blocking transport forward (for AHB slave multi-sock) More...
 
tlm::tlm_sync_enum nb_transport_bw (uint32_t id, tlm::tlm_generic_payload &gp, tlm::tlm_phase &phase, sc_core::sc_time &delay)
 TLM non-blocking transport backward (for AHB master multi-sock) More...
 
unsigned int transport_dbg (uint32_t id, tlm::tlm_generic_payload &gp)
 TLM debug interface. More...
 
virtual bool get_direct_mem_ptr (unsigned int index, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data)
 DMI Pathes. More...
 
virtual void invalidate_direct_mem_ptr (unsigned int index, sc_dt::uint64 start_range, sc_dt::uint64 end_range)
 
void arbitrate ()
 The arbiter thread. Responsible for arbitrating transactions in AT mode. More...
 
void AcceptThread ()
 
void RequestThread ()
 
void ResponseThread ()
 
void EndResponseThread ()
 
void transport_statistics (tlm::tlm_generic_payload &gp)
 Collect common transport statistics. More...
 
void print_requests ()
 Helper function - prints pending requests in arbiter. More...
 
void print_transport_statistics (const char *name) const
 Print common transport statistics. More...
 
 AHBCtrl (ModuleName nm, uint32_t ioaddr=0xFFF, uint32_t iomask=0xFFF, uint32_t cfgaddr=0xFF0, uint32_t cfgmask=0xFF0, bool rrobin=false, bool split=false, uint32_t defmast=0, bool ioen=true, bool fixbrst=false, bool fpnpen=true, bool mcheck=true, bool pow_mon=false, AbstractionLayer ambaLayer=amba::amba_LT)
 Constructor. More...
 
void dorst ()
 Reset Callback. More...
 
 ~AHBCtrl ()
 Desctructor. More...
 
void init_generics ()
 Initialisation function for model generics. More...
 
- Public Member Functions inherited from BaseModule< DefaultBase >
 BaseModule (ModuleName mn)
 
virtual ~BaseModule ()
 
virtual void init_registers ()
 
virtual void init_counters ()
 
virtual void init_power ()
 
- Public Member Functions inherited from CLKDevice
 SR_HAS_SIGNALS (CLKDevice)
 
 CLKDevice ()
 
virtual ~CLKDevice ()
 
virtual void onrst (const bool &value, const sc_core::sc_time &time)
 
virtual void onclk (const sc_core::sc_time &value, const sc_core::sc_time &time)
 
void set_clk (sc_core::sc_clock &clk)
 
void set_clk (sc_core::sc_time period)
 
void set_clk (double period, sc_core::sc_time_unit base)
 
virtual void clkcng ()
 

Public Attributes

amba::amba_slave_socket< 32, 0 > ahbIN
 AHB slave multi-socket. More...
 
amba::amba_master_socket< 32, 0 > ahbOUT
 AHB master multi-socket. More...
 
signal< t_snoop >::out snoop
 Broadcast of master_id and write address for dcache snooping. More...
 
- Public Attributes inherited from CLKDevice
signal< bool >::in rst
 Reset input signal. More...
 
signal< sc_core::sc_time >::in clk
 Clock input signal. More...
 

Additional Inherited Members

- Protected Attributes inherited from BaseModule< DefaultBase >
ParameterAPIm_api
 Internal module gs param api instance. More...
 
ParameterArray m_generics
 Configuration generic container. More...
 
ParameterArray m_counters
 Performance counter container. More...
 
ParameterArray m_power
 Power counters container. More...
 
- Protected Attributes inherited from CLKDevice
sc_core::sc_time clock_cycle
 

Member Function Documentation

AHBCtrl::GC_HAS_CALLBACKS ( )
AHBCtrl::SC_HAS_PROCESS ( AHBCtrl  )
AHBCtrl::SR_HAS_SIGNALS ( AHBCtrl  )

Member Data Documentation

amba::amba_slave_socket<32, 0> AHBCtrl::ahbIN
amba::amba_master_socket<32, 0> AHBCtrl::ahbOUT
signal<t_snoop>::out AHBCtrl::snoop

Broadcast of master_id and write address for dcache snooping.

Referenced by b_transport(), RequestThread(), and sc_main().


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