amba_pv::amba_pv_protocol_types Struct Reference
Detailed Description
AMBA-PV protocol types.
This structure defines the payload and phase types for AMBA-PV. It is used for the TYPES template parameter with OSCI TLM 2.0 classes and interfaces.
If using amba_pv_protocol_types with OSCI TLM 2.0 classes and interfaces, the following rules apply to the OSCI TLM 2.0 GP attributes:
- The data length attribute must be greater than or equal to the burst size times the burst length. If not, an error response of
tlm::TLM_BURST_ERROR_REPONSE is returned. - The streaming width attribute must be equal to the burst size for a fixed burst. If not, an error response of
tlm::TLM_BURST_ERROR_REPONSE is returned. - The byte enable pointer attribute must be
NULL on read transactions. If not, an error response of tlm::TLM_BYTE_ENABLE_ERROR_REPONSE is returned. - The byte enable length attribute must be a multiple of the burst size on write transactions. If not, an error response of
tlm::TLM_BYTE_ENABLE_ERROR_REPONSE is returned. - If the address attribute is not aligned on the burst size, only the address of the first burst beat must be unaligned, the addresses of subsequent data transfers being aligned.
- Note:
- This does not enforce any requirements on slaves for read transactions. This must be represented with appropriate byte enables for write transactions.
AMBA 3 buses specific signals are defined in an extension class.
- See also:
- amba_pv_extension