Running Fpga Diagnostics - Intel D5005 Quick Start Manual

Table of Contents

Advertisement

UG-20202 | 2019.08.05
Send Feedback

5. Running FPGA Diagnostics

This section presents instructions on how to run the FPGA diagnostics by using the
fpgabist
Runtime/Development package, to ensure the board interface components (PCIe +
DMA) are working according to the use model. The current AFUs accepted are
nlb_mode_3
respectively.
1. Configure the number of system hugepages the FPGA fpgadiag utility requires:
sudo sh -c "echo 20 > /sys/kernel/mm/hugepages/hugepages-\
2048kB/nr_hugepages"
Note: The above configuration is for a single card system. For multiple cards, set
2. Configure and run diagnostics with
sudo fpgabist $OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_3/bin/\
nlb_mode_3.gbs
The
fpgabist
Sample output:
Running fpgadiag trput test...
Cachelines Read_Count Write_Count Cache_Rd_Hit Cache_Wr_Hit Cache_Rd_Miss
Cache_Wr_Miss
VH0_Rd_Count VH0_Wr_Count VH1_Rd_Count VH1_Wr_Count
670267380
VL0_Rd_Count VL0_Wr_Count
Finished Executing NLB (FPGA DIAG)Tests
Built-in Self-Test Completed.
3. Configure two 1 GB hugepages for DMA AFU diagnostics.
sudo sh -c "echo 2 > /sys/kernel/mm/hugepages/hugepages-\
1048576kB/nr_hugepages"
4. Configure and run diagnostics with DMA AFU image.
sudo fpgabist $OPAE_PLATFORM_ROOT/hw/samples/dma_afu/bin/dma_afu.gbs
Sample output:
Running mode: dma_afu
Attempting Partial Reconfiguration:
Reading bitstream
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.
utility. You can run the diagnostic test, provided with the Acceleration Stack
and
, running
dma_afu
the number of 2 MB hugepages to 20*<number_of_cards>.
tool accepts PCIe -B, -D, -F as arguments on multi card systems.
1024
670267380
670269108
Eviction 'Clocks(@250 MHz)'
0
0
670269109
0
0
and
fpgadiag
fpga_dma_test
AFU image.
nlb_mode_3
0
Rd_Bandwidth
1250189534
12.762 GB/s
0
0
tests,
0
0
Wr_Bandwidth
12.77 GB/s
ISO
9001:2015
Registered

Advertisement

Table of Contents
loading

Table of Contents