Configuring the examples
This section describes how to configure the AMBA-PV examples.
The examples are installed with AMBA-PV and located in $MAXCORE_HOME/AMBA-PV.
The examples use SystemC and TLM headers and libraries and require the
SYSTEMC_HOME environment variable to be set. This variable
is set when AMBA-PV is installed. To use a different copy of SystemC or TLM, modify the
variable before building the examples.
Table 4-1 Environment variable
||Points to the SystemC installation directory.|
SystemC and TLM headers and libraries are installed in $MAXCORE_HOME/Accellera, which contains releases of the SystemC and TLM packages and patch files. The patch files document the required changes to the SystemC and TLM packages available from Accellera. The SystemC and TLM packages are link compatible with the Accellera download version.
The AMBA-PV examples rely on a certain directory structure for libraries and header files. The structure of the Accellera packages is different because AMBA-PV supports a different range of compilers. To use the original Accellera packages with the AMBA-PV examples, apply a set of patch files to the Accellera package that adjusts the directory names. To rebuild the packages, follow the instructions from the README.txt file available in the $MAXCORE_HOME/Accellera/source directory.
On Linux hosts, running the
in each example directory generates an executable that consists
of the example name followed by .x (for example, dma.x,
On Microsoft Windows hosts, ARM provides Microsoft Visual Studio project
files (for example, bridge_VC20