English
Language : 

DS730 Datasheet, PDF (17/46 Pages) Xilinx, Inc – LogiCORE IP Video Direct
LogiCORE IP Video Direct Memory Access v1.1
pCore Driver Files
The Video DMA pCore includes a software driver written in the C programming language that the user can use to
control the Video DMA. A high-level API is provided to hide the details of the Xilinx Video DMA, and application
developers are encouraged to use it to access the device features. A low-level API is also provided in case
developers prefer to access the devices directly through the system registers described in the previous section.
Table 2 lists the files that are included with the Video DMA pCore driver.
Table 2: Software Driver Files Provided with the Video DMA pCore
File Name
Description
xvdma.h
Contains all prototypes of high-level API to access all of the features of the Xilinx
Video DMA devices.
xvdma.c
Contains the implementation of high-level API to access all of the features of the Xilinx
Video DMA devices except interrupts.
xvdma_intr.c
Contains the implementation of high-level API to access the interrupt feature of the
Xilinx Video DMA devices.
xvdma_sinit.c
Contains static initialization methods for the Xilinx Video DMA device driver.
xvdma_g.c
Contains a template for a configuration table of Xilinx Video DMA devices. This file is
used by the high-level API and is automatically generated to match the Video DMA
device configuration by Xilinx EDK/SDK tools when the software project is built.
xvdma_hw.h
Contains low-level API (that is, identifiers and register-level driver API) that can be
used to access the Xilinx Video DMA devices.
xvdma_i.h
Contains internal functions of the Xilinx Video DMA device driver. The application
should never need to invoke any function/macro in this file.
example.c
An example that demonstrates how to control the Xilinx Video DMA devices using the
high-level API.
DS730 September 21, 2010
www.xilinx.com
17
Product Specification