|
Packit |
534379 |
# fpgabist #
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## SYNOPSIS ##
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
fpgabist [-h] [-i device_id] [-b bus] [-d device] [-f function] [path_to_gbs1 path_to_gbs2 ...]
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## DESCRIPTION ##
|
|
Packit |
534379 |
The ```fpgabist``` tool performs self-diagnostic tests on supported FPGA platforms.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
The tool accepts one or more Accelerator Function (AF) binaries from a predetermined set of AFs. Depending on the available binaries,
|
|
Packit |
534379 |
the tool runs appropriate tests and reports hardware issues.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
```fpgabist``` always uses ```fpgainfo``` to report system information before running any hardware tests.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Currently, ```fpgabist``` accepts the following AFs:
|
|
Packit |
534379 |
1. nlb_mode_3: The native loopback (NLB) test implements a loopback from TX to RX. Use it to verify basic functionality
|
|
Packit |
534379 |
and to measure bandwidth.
|
|
Packit |
534379 |
2. dma_afu: The direct memory access (DMA) AFU test transfers data from host memory to FPGA-attached local memory.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
The installation includes the AF files, but you can also compile the AFs from the source.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
If there are multiple PCIe® devices, use -b, -d, -f to specify the BDF for the specific PCIe® device.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## POSITIONAL ARGUMENTS ##
|
|
Packit |
534379 |
`[path_to_gbs1 path_to_gbs2 ...]`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Paths to Accelerator Function (AF) files.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
### OPTIONAL ARGUMENTS ##
|
|
Packit |
534379 |
|
|
Packit |
534379 |
You can use the single letter or the full parameter name for the command line arguments.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-h, --help`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Prints usage information
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-i device_id, --device-id device_id`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Device ID for Intel FPGA. Default is: 0x09c4
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-B bus, --bus bus`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Bus number for specific FPGA
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-D device, --device device`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Device number for specific FPGA
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-F function, --function function`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Function number for specific FPGA
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## EXAMPLES ##
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`fpgabist <path_to_gbs_files>/dma_afu.gbs <path_to_gbs_files>/nlb_3.gbs`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Runs ```fpgabist``` on any platform in the system that matches the default device ID. This command runs both the DMA and
|
|
Packit |
534379 |
NLB_MODE_3 tests.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`fpgabist -i 09c4 -b 5 <path to gbs>/dma_afu.gbs`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Runs `fpgabist` the DMA test on the PCIe® Endpoint with `device_id` 09c4 on bus 5.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## Revision History ##
|
|
Packit |
534379 |
|
|
Packit |
534379 |
| Date | Intel Acceleration Stack Version | Changes Made |
|
|
Packit |
534379 |
|:------|----------------------------|:--------------|
|
|
Packit |
534379 |
|2018.05.21| DCP 1.1 Beta (works with Quartus Prime Pro 17.1.1) | Made the following changes: Expanded descriptions of `nlb_mode_3` and`dma_afu` tests. Added a second example command. |
|
|
Packit |
534379 |
|
|
Packit |
534379 |
|