validate

The validate command generates a high-level, easy to read summary of the installed card. It validates correct installation by performing the following set of tests:
  1. Validates the card found.
  2. Checks PCI Express link status.
  3. Runs a verify kernel on the card.
  4. Performs the following data bandwidth tests:
    1. DMA test: Data transfers between host and FPGA DDR through PCI Express.
    2. DDR test: Data transfers between kernels and FPGA DDR.

It has the following option:

  • -d <card_id> (Optional): Specifies the target card ID. Default validates all the cards installed in the system.

For example, to run the validate command on card ID = 0, enter the following:

$ xbutil validate -d 0

An example of the returned information is shown below:


INFO: Found 1 cards

INFO: Validating card[0]: xilinx_u250_xdma_201820_1
INFO: Checking PCIE link status: PASSED
INFO: Starting verify kernel test: 
INFO: verify kernel test PASSED
INFO: Starting DMA test
Host -> PCIe -> FPGA write bandwidth = 11736.3 MB/s
Host <- PCIe <- FPGA read bandwidth = 12190.3 MB/s
INFO: DMA test PASSED
INFO: Starting DDR bandwidth test: ............
Maximum throughput: 45475.441406 MB/s
INFO: DDR bandwidth test PASSED
INFO: Card[0] validated successfully.

INFO: All cards validated successfully.