29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Peripheral and Interface Components<br />

AMBAPVValueState protocol<br />

The AMBAPVValueState protocol defines two behaviors that allow propagation of 32 bit<br />

integer values between components and to retrieve such values from slaves. Strictly speaking<br />

this behavior is not covered by AMBA3, but is provided with the AMBA-PV Components.<br />

set_state(int export_id, const uint32_t & value):void<br />

Transfers a value. The export_id parameter must be set to 0 in this context.<br />

get_state(unsigned int export_id, tlm::tlm_tag * t): uint32_t<br />

Retrieves a value. The export_id parameter must be set to 0, and the t parameter<br />

must be set to NULL, in this context.<br />

AMBAPVValueState64 protocol<br />

The AMBAPVValueState64 protocol defines two behaviors that allow propagation of 64 bit<br />

integer values between components and to retrieve such values from slaves. Strictly speaking<br />

this behavior is not covered by AMBA3, but is provided with the AMBA-PV Components.<br />

set_state(int export_id, const uint64_t & value): void<br />

Transfers a value. The export_id parameter must be set to 0 in this context.<br />

get_state(int export_id, tlm::tlm_tag * t): uint64_t<br />

Retrieves a value. The export_id parameter must be set to 0, and the t parameter<br />

must be set to NULL, in this context.<br />

5.3.3 PVBus2AMBAPV component<br />

The PVBus2AMBAPV component converts from PVBus to AMBAPV protocols.<br />

Figure 5-7 shows a view of the component in System Canvas.<br />

This component is written in LISA.<br />

Figure 5-7 PVBus2AMBAPV in System Canvas<br />

Ports<br />

Table 5-9 describes the ports in the PVBus2AMBAPV component.<br />

Name Port protocol Type Description<br />

Table 5-9 PVBus2AMBAPV ports<br />

pvbus_s PVBus Slave Handles incoming transactions from<br />

PVBus masters.<br />

amba_pv_m AMBAPV Master Output master port for connection to<br />

top-level AMBAPV master port.<br />

Converted transactions are sent out<br />

through this port.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-22<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!