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_p | The open EDT device handle. |
basedir | Base directory to start looking for the file. |
fname | Name of the bitfile to load. |
flags | Misc flag bits – should be combination of BITLOAD_FLAGS_*. (This variable was formerly rcam which is obsolete.) |
skip | If nonzero, don't actually load the file, just find the files (debugging). |
- Returns
- 0 on success, -1 on failure.