5.5.6. DMA example

This example, shown in Figure 5.7, is a modified version of the PV example from the OSCI TLM 2.0 package.

The Cortex-R4 programs a transfer and waits for an interrupt signaled by the PV DMA from the SystemC side to indicate the transfer is complete.

The Fast Models system contains the following components:

The SystemC side contains:

The project file is $PVLIB_HOME/examples/SystemCExport/DMA/Build/DMA.sgproj.

Figure 5.7. DMA system example

DMA system example

Building the DMA example

See Building Example systems for how to build the example. Use DMA.sgproj as the name for the project file.

Running the DMA example

See Running the Example system or Running the examples with debug support for more instructions on how to run the example system.

Copyright © 2007-2010 ARM Limited. All rights reserved.ARM DUI 0370K