edt_bitload.h File Reference


Detailed Description

Header file for declarations & defines related to loading the Xilinx bitfile.

Definition in file edt_bitload.h.

#include "edtinc.h"

Go to the source code of this file.

Defines

#define ALT_INTERFACE   0
#define ALT_MEZZANINE   1
#define BITLOAD_FLAGS_CH1   0x8
 programs ocm channel 1 if BITLOAD_FLAGS_OCM is set
#define BITLOAD_FLAGS_MEZZANINE   0x4
 changes programming algorithm to program mezzanine boards.
#define BITLOAD_FLAGS_NOFS   0x1
 embedded for vxworks
#define BITLOAD_FLAGS_OCM   0x4
 DEPRECATED.
#define BITLOAD_FLAGS_OVR   0x2
 override gs/ss bitfile size constraint
#define BITLOAD_FLAGS_READBACK   0x20
#define BITLOAD_FLAGS_SLEEP   0x40
#define BITLOAD_FLAGS_SRXL   0x10
 DEPRECATED.
#define CLKSAFTER   32

Functions

int edt_access_bitfile (char *tmppath, int perm)
int edt_bitload (EdtDev *edt_p, const char *basedir, const char *fname, int flags, int skip)
 Searches for and loads a Xilinx gate array bit file into an EDT PCI board.
void edt_bitload_devid_to_bitdir (EdtDev *edt_p, char *devdir)
int edt_bitload_from_prom (EdtDev *edt_p, u_char *addr1, int size1, u_char *addr2, int sized, int flags)
 Bitload from a given address in the PCI PROM.
int edt_bitload_loadit (EdtDev *edt_p, char *bitpath, int size, int skip, int flags, int alt, int alt_params, int which_try, int do_sleep)
int edt_get_x_header (FILE *xfile, char *header, int *size)
u_char * edt_get_xa_header (u_char *ba, char *header, int *size)
u_char * edt_get_xa_header_magic (u_char *ba, char *header, int *size, int *magic)
u_char mmap_intfc_read (volatile u_char *mapaddr, u_int desc)
void mmap_intfc_write (volatile u_char *mapaddr, u_int desc, u_char val)


Generated on Mon May 12 16:39:00 2008 by  doxygen 1.5.1