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

The VFS device implementation consists of the following parts:<br />

VFS LISA component<br />

Coordinates device activity.<br />

MessageBox component<br />

Handles bus activity and interrupts. See MessageBox component on page 5-137.<br />

MBoxTypes.h<br />

VFS.cpp/h<br />

Defines types shared between target and OS.<br />

Implements the VFS class/function interface.<br />

VFSFileSystem.cpp/h<br />

Provides a host filesystem abstraction layer.<br />

MessageCodec.h<br />

Provides utility classes for packing and unpacking messages.<br />

VFSOps.h<br />

VFSTypes.h<br />

Defines the VFS operations.<br />

Defines types shared between target and OS.<br />

To use the VFS component in a platform, add the vfs.sgrepo repository file to your project. You<br />

must also add the path to the C++ header files in the VFS implementation parts list to your<br />

project.<br />

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

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

Figure 5-60 VFS2 in System Canvas<br />

Ports<br />

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

Name Port protocol Type Description<br />

Table 5-111 VFS2 ports<br />

pvbus_s PVBus Slave Provides memory mapped access to the<br />

VFS device.<br />

intr Signal Master Optional interrupt line used to indicate<br />

availability of incoming VFS data. If the<br />

intr port is not used, MessageBox<br />

registers can be used to poll for<br />

incoming VFS data. See Table 5-115 on<br />

page 5-139.<br />

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

ID051811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!