7–8
Chapter 7: Register Descriptions
Altera-Defined Vendor Specific Extended Capability (VSEC)
Arria V GZ Hard IP for PCI Express
November 2012
Altera Corporation
f
Refer to
Configuration via Protocol (CvP) Implementation in Altera FPGAs User Guide
more information about using CvP.
Table 7–17
defines the
CvP Data
register. Programming software should write the
configuration data to this register. Every write to this register sets the data output to
the FPGA control block and generates
<n>
clock cycles to the FPGA control block as
specified by the
CVP_NUM_CLKS
field in the
CvP Mode
Control
register. Software must
ensure that all bytes in the memory write dword are enabled. You can access this
register using configuration writes, alternatively, when in CvP mode, this register can
also be written by a memory write to any address defined by a memory space BAR for
this device. Using memory writes should allow for higher throughput than
configuration writes.
Table 7–16. CvP Mode Control
Bits
Register Description
Reset Value
Access
[31:16]
Reserved. 0x0000
RO
[15:8]
CVP_NUMCLKS
. Specifies the number of CvP clock cycles required for every CvP
data register write. Valid values are 0x00–0x3F, where 0x00 corresponds to 64
cycles, and 0x01-0x3F corresponds to 1 to 63 clock cycles. The upper bits are
not used, but are included in this field because they belong to the same byte
enable.
0x00
RW
[7:4]
Reserved. 0x0
RO
[2]
CVP_FULLCONFIG
. Request that the FPGA control block reconfigure the entire
FPGA including the Arria V GZ Hard IP for PCI Express, bring the PCIe link
down.
1’b0
RW
[1]
HIP_CLK_SEL
. Selects between PMA and fabric clock when
USER_MODE
= 1 and
PLD_CORE_READY
= 1. The following encodings are defined:
■
1: Selects internal clock from PMA which is required for CVP_MODE
■
0: Selects the clock from soft logic fabric. This setting should only be used
when the fabric is configured in
USER_MODE
with a configuration file that
connects the correct clock.
To ensure that there is no clock switching during CvP, you should only change
this value when the Hard IP for PCI Express has been idle for 10
s and wait
10
s after changing this value before resuming activity.
1’b0
RW
[0]
CVP_MODE
. Controls whether the HIP is in CVP_MODE or normal mode. The
following encodings are defined:
■
1: CVP_MODE is active. Signals to the FPGA control block active and all TLPs
are routed to the Configuration Space. This
CVP_MODE
cannot be enabled if
CVP_EN
= 0.
■
0: The IP core is in normal mode and TLPs are route to the FPGA fabric.
1’b0
RW
Table 7–17. CvP Data Register
Bits
Register Description
Reset Value
Access
[31:0]
Configuration data to be transferred to the FPGA control block to configure the
device.
0x00000000
RW