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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripheral and Interface Components<br />

AMBAPVValueState<br />

Allows a master to retrieve the current value from a slave, using 32 bit integer<br />

values. See AMBAPVValueState protocol on page 5-22.<br />

AMBAPVValueState64<br />

Allows a master to retrieve the current value from a slave, using 64 bit integer<br />

values. See AMBAPVValueState64 protocol on page 5-22.<br />

There are ready-to-use components that provide you with conversions between PVBus and<br />

AMBAPV protocols as well as between Signal and AMBAPVSignal protocols, StateSignal and<br />

AMBAPVSignalState, Value(_64) and AMBAPVValue(64), and ValueState(_64) and<br />

AMBAPVValueState(64) protocols. There are examples of use of the AMBA-PV components<br />

in %PVLIB_HOME%\examples\SystemCExport. On Linux, the examples can be found in<br />

$PVLIB_HOME/examples/SystemCExport.<br />

For more detail on the PVBus protocols and components, see PV Bus components on page 5-3.<br />

The protocols and components are designed to interface with the AMBA TLM PV library for<br />

OSCI TLM 2.0. This library is delivered with <strong>Fast</strong> <strong>Models</strong> and is intended to providing a<br />

standard way of mapping the AMBA protocol on top of OSCI TLM 2.0 kit at PV level.<br />

For details of the AMBA TLM PV library for OSCI TLM 2.0 1 kit, refer to the documentation<br />

provided with <strong>Fast</strong> <strong>Models</strong> in %MAXCORE_HOME%\AMBA-PV\doc. On Linux, use the $MAXCORE_HOME<br />

environment variable instead.<br />

For details of the OSCI TLM 2.0, refer to the documentation provided with the kit. This can be<br />

downloaded from the OSCI web site. See http://www.systemc.org.<br />

5.3.2 AMBA-PV component protocols<br />

The AMBA-PV component protocols are:<br />

• AMBAPV protocol<br />

• AMBAPVSignal protocol on page 5-21<br />

• AMBAPVSignalState protocol on page 5-21<br />

• AMBAPVValue protocol on page 5-21<br />

• AMBAPVValue64 protocol on page 5-21<br />

• AMBAPVValueState protocol on page 5-22<br />

• AMBAPVValueState64 protocol on page 5-22.<br />

AMBAPV protocol<br />

The AMBAPV protocol defines behaviors for single read and single write transactions. This<br />

covers AMBA3 AXI, AHB and APB bus protocol families, all at the PV level. In addition, the<br />

AMBAPV protocol provides support for AMBA protocol additional control information,<br />

including:<br />

• protection units<br />

• exclusive access and locked access mechanisms<br />

• system-level caches.<br />

The behaviors of the protocol are:<br />

read()<br />

Completes a single read transaction at the given address for the given size in<br />

bytes. Additional AMBA protocol control information can be specified using the<br />

ctrl parameter. The socket_id parameter must be set to 0 in this context.<br />

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

ID051811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!