Visible to Intel only — GUID: fzi1625866736843
Ixiasoft
2.1. Programmed Input/Output Design Example
2.2. Programmed Input/Output Design Example Functional Description
2.3. Programmed Input/Output Design Example Simulation Testbench
2.4. Single Root I/O Virtualization (SR-IOV) Design Example
2.5. Single Root I/O Virtualization (SR-IOV) Design Example Functional Description
2.6. Single Root I/O Virtualization (SR-IOV) Design Example Simulation Testbench
Visible to Intel only — GUID: fzi1625866736843
Ixiasoft
3.5. Installing the Linux Kernel Driver
Before you can test the design example in hardware, you must install the Linux kernel driver. You can use this driver to perform the following tests:
- A PCIe link test that performs 100 writes and reads
- Memory space DWORD(1) reads and writes
- Configuration Space DWORD reads and writes
Note: Throughout this user guide, the term word DWORD has the same meaning as in the PCI Express Base Specification. A word is 16 bits and a DWORD is 32 bits.
In addition, you can use the driver to change the value of the following parameters:
- The BAR being used
- The selected device (by specifying the bus, device and function (BDF) numbers for the device)
Complete the following steps to install the kernel driver
- Navigate to ./software/kernel/linux under the example design generation directory.
- Change the permissions on the install, load, and unload files
$ chmod 777 install load unload
- Install the driver
$ sudo ./install
- Verify the driver installation
Expected Result$ lsmod | grep intel_fpga_pcie_drv
intel_fpga_pcie_drv 17792 0
- Verify that Linux recognizes the PCIe design example
$ lspci -d 1172:000 -v | grep intel_fpga_pcie_drv
Expected result. Kernel driver in use:intel_fpga_pcie_drv
Note: If you have changed the Vendor ID, substitute the new Vendor ID for Intel's Vendor ID in this command.