5.5.1. About the Visualisation Library

The Visualisation Library is a part of Fast Models.

The Visualisation Library does not model hardware directly but instead provides you with components, protocols, and a library. These permit your simulation to display a GUI that lets you interact with the external I/O from the platform being modeled.

The types of I/O handled include:

The Visualisation Library provides a C++ API that enables you to write your own visualization components in LISA+. These custom components can display any combination of the supported I/O types. See C++ classes.

You can add the prebuilt GUITick component to your custom component. The GUITick component provides a LISA visualization component with a periodic signal which is used to keep the display updated, even when the simulation is stopped.

An example of how to use the Visualisation API is in %PVLIB_HOME%\examples\VP_PhoneSkin. On Linux, the equivalent directory is $PVLIB_HOME/examples/VP_PhoneSkin. The PhoneVisualisation subcomponent uses the Visualisation API to create a GUI consisting of a status panel, two LCD panels, and some push buttons.

A prebuilt component called Visualisation is included within the platform models. This component provides a window containing a representation of a single LCD display, DIP switches, LEDs, and one or two instruction counters. The window resizes to match the timing parameters configured in the LCD controller. See Visualisation components.

Copyright © 2008-2013 ARM. All rights reserved.ARM DUI 0423O