GTS AXI Multichannel DMA IP for PCI Express* User Guide

ID 847470
Date 8/25/2025
Public
Document Table of Contents

6.3.5.3. Custom PIO Read Write Test

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

  1. A custom PIO write or read can be performed after completing the instructions outlined in the Prerequisites section.
    • For design example variants generated with the AXI-MM interface type, the valid address range is 0x0000 to 0x7FF8. Due to an offset introduced by the AXI-S interface type, the valid address range for this variant is 0x8000 to 0xFFF8. For design examples generated with the Bursting Master or BAM+BAS user mode, the applicable address range is also 0x0000 to 0x7FF8.
  2. Perform a custom write by running the commands below.

    $cd p0_software/user/cli/perfq_app

    $ sudo ./perfq_app -b 0000:01:00.0 -o --pio_w_addr=0x1010 --pio_w_val=0x30 --bar=2

    Expected print out:

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

    Parameters for Write operation

    -b <bdf>

    -o

    --pio_w_addr=<address>

    --pio_w_val=<value to write>

    --bar=<bar number>

  3. Perform a custom read by running the commands below.

    $ cd p0_software/user/cli/perfq_app

    $ sudo ./perfq_app -b 0000:01:00.0 -o --pio_r_addr=0x1010 --bar=2

    Expected print out:

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

    Parameters for Read operation

    -b <bdf>

    -o

    --pio_r_addr=<address>

    --bar=<bar number>