Physical and virtual function address assignments – Altera Stratix V Avalon-ST User Manual
Page 133

BAR Logic Details
The BAR block includes the following functions:
• Compares the addresses of received memory transactions to the BAR settings for the targeted function
• Generates the BAR hit signals and the function number associated with this transaction
• Discards all memory transactions that are not in the address range of any of the configured BARs
• Generates Unsupported Request (UR) Completions for requests that fail the BAR check
Local Management Interface (LMI)
SR-IOV LMI logic accesses Configuration Space Registers of all Physical and Virtual Functions. The LMI
logic accepts read and write requests from the Application Layer and directs requests to either the LMI
interface of the Hard IP or the Configuration Registers in the Configuration Block.
Related Information
on page 4-22
Physical and Virtual Function Address Assignments
The SR-IOV Bridge implements the PCI and PCI Express Configuration Spaces for two Physical
Functions (PFs) and 128 Virtual Functions (VFs) in soft logic. Altera SR-IOV bridge assigns function
numbers for PFs and VFs based on based on the following system attributes:
• Number of PFs.
• Availability of ARI support. (ARI support is required when the total number of PFs and VFs is greater
than eight.)
The following rules apply when specifying VFs:
• All systems that include VFs must include a minimum of four VFs.
• For systems without ARI support, the Application Layer logic can configure VFs in any manner
between PF0 and PF1.
• For system without ARI, the total maximum VF is either 6 for one PF and 7 for two PFs.
• For system with ARI, the maximum number of VFs is 128.
• Systems with ARI support must specify VFs in multiples if four.
Table 9-2: Function Address Map: One PF and No ARI
Function Number Assignments
Function Type
0
Physical Function 0
1
Virtual Function 0 (required)
2
Virtual Function 1 (required)
3
Virtual Function 2 (required)
4
Virtual Function 3 (required)
5
Virtual Function 4 (optional)
UG-01097_sriov
2014.12.15
Physical and Virtual Function Address Assignments
9-9
IP Core Architecture
Altera Corporation