Blob Blame History Raw
# fpgainfo #

fpgainfo [-h | --help] [-v | --version] [<args>] <command> [<command-args>]

fpgainfo displays FPGA information derived from sysfs files. The command argument is one of the following:
`errors`, `power`, `temp`, `port`, `fme`, `bmc`, `phy` or `mac`.
Some commands may also have other arguments or options that control their behavior.

For systems with multiple FPGA devices, you can specify the BDF to limit the output to the FPGA resource
with the corresponding PCIe configuration. If not specified, information displays for all resources for
the given command.


Show/clear errors of an FPGA resource that the first argument specifies.
`fpgainfo` displays information in human readable form.


Show total the power in watts that the FPGA hardware consumes.


 Show FPGA temperature values in degrees Celcius.


Show information about the port such as the AFU ID of currently loaded AFU.


Show information about the FPGA platform including the partial reconfiguration (PR) Interface ID, the OPAE version,
and the FPGA Interface Manager (FIM) ID.


Show all Board Management Controller sensor values for the FPGA resource, if available.


Show information about the PHY integrated in the FPGA, if available.


Show information about the MAC address in ROM attached to the FPGA, if available.

`--help, -h`

Prints help information and exit.

`--version, -v`

Prints version information and exit.

The following arguments are common to all commands and are optional.

`-B, --bus`

PCIe bus number of resource.

`-D, --device`

PCIe device number of resource.

`-F, --function`

PCIe function number of resource.


Display information as JSON string.

The first argument to the `errors` command specifies the resource type. It must be one of the following:


 Show/clear FME errors. 


 Show/clear PORT errors.


Show/clear errors for all resources.

The optional `<command-args>` arguments are:

`--clear, -c`

Clear errors for the given FPGA resource.

The optional `<command-args>` argument is:

`--group, -G`

Select which PHY group(s) information to show.

This command shows the current power telemetry:
./fpgainfo power

This command shows the current temperature readings:
./fpgainfo temp

This command shows FME resource errors:
./fpgainfo errors fme
This command clears all errors on all resources:
./fpgainfo errors all -c
This command shows information of the FME on bus 0x5e
./fpgainfo fme -B 0x5e

## Revision History ##

 | Document Version |  Intel Acceleration Stack Version  | Changes  |
 | ---------------- |------------------------------------|----------|
 | 2018.05.21 | 1.1 Beta. <br>(Supported with Intel Quartus Prime Pro Edition 17.1.) | Updated description of the `fme` command |