The following table describes the TAP
controller commands required to configure an UltraScale FPGA.
Refer to Figure 2 for TAP controller
states. These TAP controller commands are issued automatically if configuring the part with
the AMD Vivado™
device programmer. For encrypted bitstreams
using an obfuscated key with the JTAG interface, do not pause bitstream loading by temporary
excursion from the JTAG Shift-DR state to the JTAG Pause-DR state. Instead, stay within the
JTAG Shift-DR state and stop the JTAG TCK clock to pause
bitstream loading. See answer record 73656 for details.
| TAP Controller Step and Description | Set and Hold | No. of Clocks | ||
|---|---|---|---|---|
| TDI | TMS | TCK | ||
| 1 | On power-up, place a logic
1 on the TMS, and clock the TCK five times. This ensures starting
in the Test-Logic-Reset (TLR) state. |
|
1
|
5 |
| 2 | Move to the Run-Test/Idle (RTI) state. |
X
|
0
|
1 |
| 3 | Move to the SELECT-IR state. |
X
|
1
|
2 |
| 4 | Move to the SHIFT-IR state. |
X
|
0
|
2 |
| 5 | Start loading the JPROGRAM instruction, LSB first: |
01011
1
|
0
|
5 |
| 6 | Load the MSB of the JPROGRAM instruction when exiting SHIFT-IR, as defined in the IEEE standard. |
0
|
1
|
1 |
| 7 | Move to the UPDATE-IR state. | X | 1 | 1 |
| 8 | Move to the SELECT-IR state. | X | 1 | 2 |
| 9 | Move to the SHIFT-IR state. | X | 0 | 2 |
| 10 | Start loading the CFG_IN instruction, LSB first: |
00101
|
0
|
5 |
| 11 | Load the MSB of the CFG_IN instruction when exiting SHIFT-IR. |
0
|
1
|
1 |
| 12 | Move to the UPDATE-IR state. | X |
1
|
1 |
| 13 | Move to the RTI state and wait for tPOR delay. | X |
0
|
20,000 2 |
| 14 | Move to the SELECT-DR state. | X |
1
|
1 |
| 15 | Move to the SHIFT-DR state. | X |
0
|
2 |
| 16 | Shift in the FPGA bitstream. Bit n (MSB) is the first bit in the bitstream. 3 4 | Bit 1 ... bit n |
0
|
(bits in bitstream) -1 |
| 17 | Shift in the last bit of the bitstream. Bit 0 (LSB) shifts on the transition to EXIT1-DR. | Bit 0 |
1
|
1 |
| 18 | Move to the UPDATE-DR state. | X |
1
|
1 |
| 19 | Move to the RTI state. | X |
0
|
1 |
| 20 | Move to the SELECT-IR state. | X |
1
|
2 |
| 21 | Move to the SHIFT-IR state. | X |
0
|
2 |
| 22 | Start loading the JSTART instruction (optional). The JSTART instruction initializes the startup sequence. |
01100
|
0
|
5 |
| 23 | Load the MSB of the JSTART instruction when exiting SHIFT_IR. |
0
|
1
|
1 |
| 24 | Move to the UPDATE-IR state. | X |
1
|
1 |
| 25 | Move to the RTI state and clock the startup sequence by applying a minimum of 2,000 clock cycles to the TCK. | X |
0
|
2,000 |
| 26 | Move to the TLR state. The device is now functional. | X |
1
|
3 |
|
||||