![Xilinx Versal ACAP CPM4 Скачать руководство пользователя страница 232](http://html1.mh-extra.com/html/xilinx/versal-acap-cpm4/versal-acap-cpm4_product-manual_3396183232.webp)
Virtual functions are mapped sequentially with VFs with PFs taking precedence. For example,
if PF0 has two virtual functions and PF1 has three, the following mapping occurs:
The PFx_FIRST_VF_OFFSET is calculated by taking the first offset of the virtual function and
subtracting that from the offset of the physical function.
PFx_FIRST_VF_OFFSET = (PFx first VF offset - PFx offset)
In the example above, the following offsets are used:
PF0_FIRST_VF_OFFSET = (4 - 0) = 4
PF1_FIRST_VF_OFFSET = (6 - 1) = 5
The initial offset for PF1 is a function of how many VFs are attached to PF0 and is defined in
the following pseudo code:
PF1_FIRST_VF_OFFSET = FIRST_VF_ NUM_PF0_VFs - 1
Similarly, for other PFs:
PF2_FIRST_VF_OFFSET = FIRST_VF_ NUM_P NUM_PF1_VFs - 2
PF3_FIRST_VF_OFFSET =
FIRST_VF_ NUM_P NUM_P NUM_PF2_VFs - 3
• VF Device ID: Indicates the 16-bit Device ID for all virtual functions associated with the
physical function.
• SRIOV Supported Page Size: Indicates the page size supported by the physical function. This
physical function supports a page size of 2
(n+12)
, if bit n of the 32-bit register is set.
SRIOV PF BARs Tab
The SRIOV Base Address Registers (BARs) set the base address register space for the Endpoint
configuration. Each BAR (0 through 5) configures the SR-IOV BAR aperture size and SR-IOV
control attributes.
Chapter 5: Design Flow Steps
PG346 (v3.3) November 16, 2022
CPM Mode for PCI Express
232