Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Public Attributes | List of all members
BAR Class Reference

#include <amba.h>

Collaboration diagram for BAR:

Public Member Functions

 BAR (AMBADeviceType type=NONE, uint16_t mask=0x000, bool cacheable=false, bool prefetchable=false, uint16_t address=0x000) throw ()
 
uint32_t toRegister () throw ()
 

Public Attributes

AMBADeviceType type
 
uint16_t mask
 
bool cacheable
 
bool prefetchable
 
uint16_t address
 

Constructor & Destructor Documentation

BAR::BAR ( AMBADeviceType  type = NONE,
uint16_t  mask = 0x000,
bool  cacheable = false,
bool  prefetchable = false,
uint16_t  address = 0x000 
)
throw (
)
inline

Member Function Documentation

uint32_t BAR::toRegister ( )
throw (
)
inline

This function returns a grlib bank address register. It is needed to set the plug and play informations in each device model.

Returns
The bank address register content.
See Also
AHBDevice
AHBCtrl

References address, cacheable, mask, prefetchable, and type.

Member Data Documentation

uint16_t BAR::address

Referenced by toRegister().

bool BAR::cacheable

Referenced by toRegister().

uint16_t BAR::mask

Referenced by toRegister().

bool BAR::prefetchable

Referenced by toRegister().

AMBADeviceType BAR::type

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