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:- Validates the card found.
- Checks PCI Express link status.
- Runs a verify kernel on the card.
- Performs the following data bandwidth tests:
- DMA test: Data transfers between host and FPGA DDR through PCI Express.
- 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.