5.5.8 Instantiating a DMA example

How to run the DMA example EVS.

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.

Procedure

  1. Build the EVS_DMA example system.
    Option Description
    Linux
    > cd $PVLIB_HOME/examples/SystemCExport/EVS_DMA/Build_Cortex-M4
    > ./build.sh
    Microsoft Windows
    > cd %PVLIB_HOME%\examples\SystemCExport\EVS_DMA\Build_Cortex-M4
    > build.bat
  2. Run the example.
    Option Description
    Linux
    > ./run.sh
    Microsoft Windows
    > run.bat
The DMA output appears.
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.