EDT PCD SDK Documentation 6.1.0
DMA Initialization
Collaboration diagram for DMA Initialization:

Functions

int edt_bitload (EdtDev edt_p, const char *basedir, const char *fname, int flags, int skip)
 

Detailed Description

Function Documentation

◆ edt_bitload()

int edt_bitload ( EdtDev  edt_p,
const char *  basedir,
const char *  fname,
int  flags,
int  skip 
)

Searches for and loads a FPGA bit file into an EDT board. Searches under <basedir>/bitfiles/xxx, or if a PDV board, in the appropriate sub-directory. Quits after the first successful load.

Parameters
edt_pThe open EDT device handle.
basedirBase directory to start looking for the file.
fnameName of the bitfile to load.
flagsMisc flag bits – should be combination of BITLOAD_FLAGS_*. (This variable was formerly rcam which is obsolete.)
skipIf nonzero, don't actually load the file, just find the files (debugging).
Returns
0 on success, -1 on failure.