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 />

• connect the slave port to the pvbus_s port on the PVBusSlave.<br />

By default, the PVBusSlave translates all transactions into read() and write() requests on the<br />

device port.<br />

The control port enables you to configure the PVBusSlave for a device. This lets you define the<br />

behavior of the different regions of the address space on the device. You can configure regions<br />

separately for read and write, at a 4k byte granularity. This allows you to set memory-like,<br />

device-like, abort or ignore access address regions.<br />

Transactions to memory-like regions are handled internally by the PVBusSlave subcomponent.<br />

Abort and ignore regions are also handled by the PVBusSlave.<br />

Transactions to device-like regions are forwarded to the device port. Your device must<br />

implement the read() and write() methods on the device port if any regions are configured as<br />

device-like.<br />

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

This component is written in C++.<br />

Figure 5-5 PVBusSlave in System Canvas<br />

Ports<br />

Table 5-5 provides a brief description of the ports in the PVBus component.<br />

Name Port protocol Type Description<br />

Table 5-5 PVBus ports<br />

pvbus_s PVBus Slave Handles incoming requests from bus<br />

masters.<br />

device PVDevice Master Passes on requests for peripheral<br />

register accesses to allow the owning<br />

component to handle the request.<br />

control<br />

PVBusSlave-<br />

Control<br />

Slave<br />

Enables the owning component to<br />

control which regions of the device<br />

memory are to be handled as<br />

RAM/ROM/Device. These settings can<br />

be changed dynamically. For example,<br />

when a Flash component is being<br />

programmed, it can switch to treating<br />

reads as Device requests instead of<br />

ROM requests.<br />

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

ID051811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!