AMBA-PV Extensions to OSCI TLM 2.0 Reference Manual

amba_pv::amba_pv_fw_transport_if Class Reference

Inherited by amba_pv::amba_pv_decoder< BUSWIDTH, NUMMASTERS, NUMSLAVES > [virtual], amba_pv::amba_pv_exclusive_monitor< BUSWIDTH > [virtual], amba_pv::amba_pv_simple_probe< BUSWIDTH > [virtual], amba_pv::amba_pv_slave_base< BUSWIDTH > [virtual], and amba_pv::amba_pv_to_tlm_bridge< BUSWIDTH > [virtual].


Detailed Description

AMBA-PV core transaction interface.

This is a tagged variant of the tlm::tlm_fw_transport_if interface. This interface is used for the forward path.

Note:
AMBA-PV slaves must implement the amba_pv_fw_transport_if interface.

Public Member Functions

virtual void b_transport (int socket_id, amba_pv_transaction &trans, sc_core::sc_time &t)=0
 Blocking transport.
virtual unsigned int transport_dbg (int socket_id, amba_pv_transaction &trans)=0
 Debug access to a target.
virtual bool get_direct_mem_ptr (int socket_id, amba_pv_transaction &trans, tlm::tlm_dmi &dmi_data)=0
 Requests a DMI access based on the specified transaction.

Member Function Documentation

virtual void amba_pv::amba_pv_fw_transport_if::b_transport (int socket_id,
amba_pv_transactiontrans,
sc_core::sc_time & t 
) [pure virtual]

virtual unsigned int amba_pv::amba_pv_fw_transport_if::transport_dbg (int socket_id,
amba_pv_transactiontrans 
) [pure virtual]

Debug access to a target.

This use the same path as the b_transport() interface. This debug access must be performed without any of the delays, waits, event notifications or side effects associated with a regular transaction. This debug access is, therefore, non-intrusive.

Parameters:
socket_id socket identifier (ignored on the master side).
trans transaction.
Returns:
number of bytes read or written or, if error, 0.

Implemented in amba_pv::amba_pv_to_tlm_bridge< BUSWIDTH >, amba_pv::amba_pv_decoder< BUSWIDTH, NUMMASTERS, NUMSLAVES >, amba_pv::amba_pv_exclusive_monitor< BUSWIDTH >, amba_pv::amba_pv_simple_probe< BUSWIDTH >, and amba_pv::amba_pv_slave_base< BUSWIDTH >.

virtual bool amba_pv::amba_pv_fw_transport_if::get_direct_mem_ptr (int socket_id,
amba_pv_transactiontrans,
tlm::tlm_dmi & dmi_data 
) [pure virtual]

Copyright © 2009 ARM Limited. All rights reserved. ARM DUI 0522A
Non-Confidential