5.5.9 Instantiating a DMADhrystone example

How to instantiate two different EVSs into a virtual platform.

The DMA example EVS comprises the processor, the application memory, and the DMA transfer source memory, while the SystemC side includes a simple PV DMA model, associated destination memory and a pseudomaster to receive end of transfer interrupts from the EVS. The processor is used to program a transfer, and wait for it to complete, using an interrupt signalled by the PV DMA model from the SystemC side.


  1. Build the EVS_DMADhrystone example system.
    Option Description
    > cd $PVLIB_HOME/examples/SystemCExport/EVS_DMADhrystone/Build_Cortex-R5x1-A15x1
    > ./build.sh
    Microsoft Windows
    > cd %PVLIB_HOME%\examples\SystemCExport\EVS_DMADhrystone\Build_Cortex-R5x1-A15x1
    > build.bat
  2. Run the example.
    Option Description
    > ./run.sh
    Microsoft Windows
    > run.bat
    The Dhrystone image to load onto the simulation executable is part of the TPIP package. The location is $PVLIB_HOME/images/dhrystone.axf. The provided run script uses the location automatically.
The DMA output and the Dhrystone output appear for 1000000 iterations.
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.