The provided HSDP-PCIe driver can be downloaded from GitHub. The driver should be compiled and installed on the Host PC that is connected to the target FPGA via PCIe link. Before compiling the driver, you must specify the relevant parameters of the hardware design to the driver through a configuration header file for management and/or user mode. Refer to the comments within the header file for more information on cross referencing the variable values to the hardware design parameters. The values provided within the driver should already match the example design’s hardware configuration, but may require selectively commenting or defining a specific section of the configuration file in or out. A Makefile is provided with the driver to simply compilation, installation, and removal.
- Navigate to the driver
directory
$> cd <parent-path>/hsdp-pcie-driver
- Edit the configuration header file, if necessary, at /src/hsdp_pcie_user_config.h
- Compile the driver and copy to
/lib/modules
$> make install
- Insert the driver into the
kernel
$> make insmod