BitGen. By default, the SelectMAPx8 interface (D0–D7) is preserved unless another SelectMAP width has been selected with the CONFIG_MODE constraint.
Reconfiguration begins when the synchronization word is clocked into the SelectMAP port. The remainder of the operation is identical to configuration as described above.
SelectMAP Data Ordering
In many cases, SelectMAP configuration is driven by a user application residing on a microprocessor, CPLD, or in some cases another FPGA. In these applications, it is
important to understand how the data ordering in the configuration data file corresponds to the data ordering expected by the FPGA.
In SelectMAP x8 mode, configuration data is loaded at one byte per CCLK, with the MSB of each byte presented to the D0 pin. This convention (D0 = MSB, D7 = LSB) differs from many other devices. For x16 and x32 modes, see “Parallel Bus Bit Order.” This convention can be a source of confusion when designing custom configuration solutions. Table2-6 shows how to load the hexadecimal value 0xABCD into the SelectMAP data bus. Table 2-6:Bit Ordering for SelectMAP 8-Bit ModeCCLK Cycle
12
Notes:
1.D[0:7] represent the SelectMAP DATA pins.
Hex Equivalent
0xAB0xCD
D011
D101
D210
D300
D411
D501
D610
D711
Some applications can accommodate the non-conventional data ordering without
difficulty. For other applications, it can be more convenient for the source configuration data file to be bit swapped, meaning that the bits in each byte of the data stream are reversed. For these applications, the Xilinx PROM file generation software can generate bit-swapped PROM files (see “Configuration Data File Formats”).
Figure2-19 shows the bit ordering for x8, x16, and x32 modes. It also shows the bit ordering for Virtex-4 FPGA x32 mode.
Virtex-5 Modex32x16x8
Pin
3130292827262524232221201918171615141312111024252627282930311617181920212223
88
99
9
8
7000
6111
5222
4333
3444
2555
1666
0777
101112131415101112131415
Virtex-4x32 Mode
31302928272625242322212019181716151413121110
9
8
7
6
5
4
3
2
1
0
Figure 2-19:Bit Ordering
Virtex-5 FPGA Configuration GuideUG191 (v3.13) July 28, 2020
Chapter 2:Configuration Interfaces
Virtex-5 FPGA Configuration Guide
UG191 (v3.13) July 28, 2020
Boundary-Scan for Virtex-5 Devices Using IEEE Standard 1149.1
Boundary-Scan Architecture
Virtex-5 device registers include all registers required by the IEEE 1149.1 Standard. In addition to the standard registers, the family contains optional registers for simplified testing and verification (Table3-2).
Table 3-2:Virtex-5 Device JTAG Registers
Register NameBoundary-Scan RegisterInstruction RegisterBYPASS RegisterIdentification RegisterJTAG Configuration RegisterUSERCODE RegisterUser-Defined Registers (USER1, USER2, USER3, andUSER4)
Register Length3 bits per I/O10 or 14 bits
1 bit32 bits32 bits32 bitsDesign-specific
Description
Controls and observes input, output, and output enable
Holds current instruction OPCODE and captures internal device statusBypasses the deviceCaptures the Device ID
Allows access to the configuration bus when using the CFG_IN or CFG_OUT instructions
Captures the user-programmable codeDesign-specific
Boundary-Scan Register
The test primary data register is the Boundary-Scan register. Boundary-Scan operation is independent of individual IOB configurations. Each IOB, bonded or unbonded, starts as bidirectional with 3-state control. Later, it can be configured to be an input, output, or 3-state only. Therefore, three data register bits are provided per IOB (Figure3-3).
When conducting a data register (DR) operation, the DR captures data in a parallel fashion during the CAPTURE-DR state. The data is then shifted out and replaced by new data during the SHIFT-DR state. For each bit of the DR, an update latch is used to hold the input data stable during the next SHIFT-DR state. The data is then latched during the UPDATE-DR state when TCK is Low.
The update latch is opened each time the TAP controller enters the UPDATE-DR state. Care is necessary when exercising an INTEST or EXTEST to ensure that the proper data has been latched before exercising the command. This is typically accomplished by using the SAMPLE/PRELOAD instruction.
Internal pull-up and pull-down resistors should be considered when test vectors are being developed for testing opens and shorts. The HSWAPEN pin determines whether the IOB has a pull-up resistor. Figure3-3 is a representation of Virtex-5 Boundary-Scan architecture.
Virtex-5 FPGA Configuration GuideUG191 (v3.13) July 28, 2020
Boundary-Scan for Virtex-5 Devices Using IEEE Standard 1149.1
Reconfiguring through Boundary-Scan
The ability of Virtex-5 devices to perform partial reconfiguration is the reason that the configuration memory is not cleared when reconfiguring the device. When reconfiguring a chain of devices, refer to step3 in Table3-4. There are two methods to reconfigure Virtex-5 devices without possible internal contention. The first method is to pulse the
PROGRAM_B pin, resetting the internal configuration memory. The alternate method is to perform a shutdown sequence, placing the device in a safe state. The following shutdown sequence includes using internal registers. (For details on internal registers, refer to Chapter7, “Readback and Configuration Verification.”)1.2.
Load the CFG_IN instruction.
In the SHIFT-DR state, load the synchronization word followed by the Reset CRCRegister (RCRC) command.
1111 1111 1111 1111 1111 1111 1111 1111? Dummy word
1010 1010 1001 1001 0101 0101 0110 0110? Synchronization word
0011 0000 0000 0000 1000 0000 0000 0001? Header: Write to CMD register0000 0000 0000 0000 0000 0000 0000 0111? RCRC command0010 0000 0000 0000 0000 0000 0000 0000? NO-OP
0000 0000 0000 0000 0000 0000 0000 0000? flush pipe
3.4.5.6.
Load JSHUTDOWN.
Go to the RTI state and clock TCK at least 12 times to clock the shutdown sequence.Proceed to the SHIFT-IR state and load the CFG_IN instruction again.
Go to the SHIFT-DR state and load the configuration bits. Make sure the configurationbits contain the AGHIGH command, asserting the global signal GHIGH_B. Thisprevents contention while writing configuration data.
0011 0000 0000 0000 1000 0000 0000 0001? Header: Write to CMD0000 0000 0000 0000 0000 0000 0000 1000? AGHIGH command assertsGHIGH_B
0000 0000 0000 0000 0000 0000 0000 0000? flush pipe
7.8.9.
When all configuration bits have been loaded, reset the TAP by clocking five 1s onTMS.
Go to the SHIFT-IR state and load the JSTART instruction.
Go to the RTI state and clock TCK at least 12 times to clock the startup sequence.
10.Go to the TLR state to complete the reconfiguration process.
Virtex-5 FPGA Configuration GuideUG191 (v3.13) July 28, 2020
Chapter 3:Boundary-Scan and JTAG Configuration
Virtex-5 FPGA Configuration Guide
UG191 (v3.13) July 28, 2020
FPGA可编程逻辑器件芯片XC2S30-6CSG144I中文规格书 - 图文



