Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683517
Date 1/19/2024
Public
Document Table of Contents

3.5.2.3.3.2. Custom PIO Read Write Test

You can read and write from PIO address range in bar 2 from any valid custom memory.

Parameters for Write operation

-b <bdf> 
-o 
--pio_w_addr=<address> 
--pio_w_val=<value to write> 
--bar=<bar number>
Example:
# ./software/user/cli/perfq_app# ./perfq_app -b 0000:01:00.0  -o --pio_w_addr=0x1010 --pio_w_val=0x30 --bar=2

WRITE: PIO Address = 0x1010 Value = 0x30, bar = 2

Parameters for Read operation

-b <bdf> 
-o 
--pio_r_addr=<address> 
--bar=<bar number>
Example:
# ./software/user/cli/perfq_app# ./perfq_app -b 0000:01:00.0  -o --pio_r_addr=0x1010  --bar=2

READ: PIO Address = 0x1010 Value = 0x30, bar = 2