6. Running the OPAE in a Non-Virtualized Environment
This section shows OPAE examples running directly on the Bare Metal operating
system without a virtual machine or SR-IOV. The host links to the FPGA with a single
PCIe physical function (PF).
Figure 3.
OPAE Driver in Non-Virtualized Mode
OPAE
PCIe
Host
FPGA
PF
Driver
Application
6.1. Loading the AFU Image into the FPGA
Use the
fpgaconf
utility to load the AFU image.
sudo fpgaconf <AFU image>
The tool also accepts PCIe Bus:Device:Function (BDF) as an additional optional
arguments if multiple cards are connected to the server. Use the help text (
-h
) for the
OPAE tools to see how additional arguments must be passed. For example:
sudo
fpgaconf -h
.
To identify the BDF run the following command:
lspci | grep 0b2b
Sample output:
37:00.0 Processing accelerators: Intel Corporation Device 0b2b (rev 01)
In the Sample Output, the PCIe Bus is 0x37, the Device is 0x00, and the Function is
0x0.
UG-20202 | 2019.08.05
Intel Corporation. All rights reserved. Agilex, Altera, Arria, Cyclone, Enpirion, Intel, the Intel logo, MAX, Nios,
Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or
other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in
accordance with Intel's standard warranty, but reserves the right to make changes to any products and services
at any time without notice. Intel assumes no responsibility or liability arising out of the application or use of any
information, product, or service described herein except as expressly agreed to in writing by Intel. Intel
customers are advised to obtain the latest version of device specifications before relying on any published
information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.