Bar hit signals – Altera Stratix V Avalon-ST User Manual
Page 43

BAR Hit Signals
Signal
Direction
Description
rx_st_bar_hit_
tlp0[7:0]
rx_st_bar_hit_
tlp1[7:0]
Output
Identifies the matching BAR for the TLP driven on the Avalon-
ST RX interface. Valid for MRd, MWr and Atomic Op TLPs.
rx_
st_bar_hit_tlp
should be ignored for all other TLPs.
Valid in the first cycle of a TLP, when
rx_st_valid_app
and any
bit of
rx_st_sop_app
are asserted.
rx_st_bar_hit_tlp0
applies
to the TLP that starts on bits [127:0] .
rx_st_bar_hit_tlp1
applies to the TLP that starts on bits [255:128].
The following encodings are defined:
• 0x01: BAR 0 when configured as 32-bit BAR. Or BAR 0-1
when configured as 64-bit BAR.
• 0x02: BAR 1 when configured as 32-bit BAR. Reserved when
BAR 1 is combined with BAR 0 to form a 64-bit BAR.
• 0x04: BAR 2 when configured as 32-bit BAR. Or BAR 2-3
when configured as 64-bit BAR.
• 0x08: BAR 3 when configured as 32-bit BAR. Reserved when
BAR 2 is combined with BAR 3 to form a 64-bit BAR.
• 0x10: BAR4 when configured as 32-bit BAR. Or BAR 4-5
when configured as 64-bit BAR.
• 0x20: BAR5 when configured as 32-bit BAR. Reserved when
BAR 4 is combined with BAR 5 to form a 64-bit BAR.
• 0x40 and 0x80: Reserved.
When
rx_st_bar_hit_tlp0
or
rx_st_bar_hit_tlp1
indicates
the address of a PF, the BAR number above should be interpreted
as a PF BAR. When
rx_st_bar_hit_tlp0
or
rx_st_bar_hit_
tlp1
provides the address of a VF (indicating a VF hit), the BAR
number should be interpreted as a VF BAR.
These signals are required to support multiple packets per cycle.
The SR-IOV implementation does not support multiple packets
per cycle. Consequently, these signals are not used.
rx_st_bar_hit_fn_
tlp0[7:0]
rx_st_bar_hit_fn_
tlp1[7:0]
output
Identifies the Function number that was hit by a TLP driven on
the Avalon-ST RX interface. These outputs are valid for MRd,
MWr and Atomic Op TLPs. Theses and are to be ignored for all
other TLPs.
rx_st_bar_hit_fn_tlp
is valid in the first cycle of a TLP,
when
rx_st_valid_app
and any bit of
rx_st_sop_app
are
asserted.
rx_st_bar_hit_fn_tlp0[7:0]
applies to the TLP that
starts on bits [127:0].
rx_st_bar_hit_fn_tlp1[7:0]
applies to
the TLP that starts on bits [255:128].
4-8
BAR Hit Signals
UG-01097_sriov
2014.12.15
Altera Corporation
Interfaces and Signal Descriptions