![Tews Technologies TXMC638 User Manual Download Page 29](http://html1.mh-extra.com/html/tews-technologies/txmc638/txmc638_user-manual_1093619029.webp)
TXMC638 User Manual Issue 1.0.2
Page 29 of 86
7.4.3 Slave Select Map Configuration
For direct User FPGA configuration via PCIe Interface the
User FPGA Configuration Mode
must be set to
Slave SelectMap
Mode. The on-board logic sets the User FPGA in configuration state with all FPGA I/O
pins switches to High-Z. User FPGA is now ready for new configuration data.
The following procedure is required for Select Map Mode User FPGA configuration / Re-configuration.
-
First the In System Program (ISP) Mode must be enabled.
-
By Re-configuring the Kintex-7 the XILINX PCIe endpoint is reloaded and is
temporarily not available on the PCI bus. To avoid error messages of the
PCIe switch the link between the PCIe Switch and the Kintex-7 is disabled.
-
Check response of the Kintex-7 by reading the FPGA INIT_B pin value. If the
Level is low the Kintex-7 FPGA is in Reset Mode, and then configuration
process could be continued.
-
Start the FPGA Re-configuration by setting the FP_RE_CFG bit of the User
FPGA Configuration Control/Status Register to 0.
-
Check response of the Kintex-7 by reading the FPGA INIT_B pin value. While
the FPGA INIT_B pin Level is low the Kintex-7 isn’t ready for configuration.
-
If FPGA INIT_B pin high then the configuration data must be continually
written to the ISP SelectMap Data Register. Typically 2860903 PCI write
accesses are required to configure a Kintex-7 325T.
-
Dummy Write accesses to create configuration clock cycles while
FP_DONE_STAT is low.
-
A successful configuration of the User FPGA is indicated with
FP_DONE_STAT in the User FPGA Configuration Control/Status Register
and the on-board User FPGA Done LED.
0: FPGA DONE Pin Level is Low (FPGA is not configured)
1: FPGA DONE Pin Level is High (FPGA is configured)
-
After Re-configuration was successful the User FPGA Configuration Mode
and the ISP Mode could be disabled. Also the link between the PCIe Switch
and the Kintex-7 must be enabled.
Set
ISP_ENA
= 1
Set
K7_LINK_ENA
= 0
Set
FP_CFG_MD
= 1
Set
FP_RE_CFG
= 1
Reading
FP_INIT_STAT
INIT = 0
yes
no
Set
FP_RE_CFG
= 0
Reading
FP_INIT_STAT
INIT = 1
yes
no
Write 32bit Config. Data
to
ISP_FP_DAT
End of File ?
yes
no
Write 0xFF to
ISP_FP_DAT
Reading
FP_DONE_STAT
DONE = 1
yes
no
Set
FP_CFG_MD
= 0
Set
ISP_ENA
= 0
Set
K7_LINK_ENA
= 1