110 www.xilinx.com Virtex-4 FPGA Configuration User Guide
UG071 (v1.12) June 2, 2017
Chapter 8: Readback and Configuration Verification
The design.rba and design.rbb files combine readback commands with expected
readback data and the .rbd file contains only expected readback data. Systems that use
an .rbd file for readback must store readback commands elsewhere. The actual readback
data must be masked against an .msk or .msd mask file, as certain bits in the expected
readback stream in the .rba,.rbb, and .rbd files should be ignored.
The readback command set files do not indicate when users must change the SelectMAP or
JTAG interface from write to read control; the user must handle this based on the Readback
Command Sequences described above.
Verifying Readback Data
The readback data stream contains configuration frame data that are preceded by one
frame of pad data, as described in the Configuration Memory Read Procedure
(SelectMAP). The readback stream does not contain any of the commands or packet
information found in the configuration bitstream and no CRC calculation is performed
during readback. The readback data stream is shown in Figure 8-4.
.
msk
Binary -m
A binary file that contains the same configuration commands
as a .bit file, but replaces the contents of the FDRI write
packet with mask data that indicate whether the
corresponding bits in the .bit file should be compared. If a
mask bit is 0, the corresponding bits in the readback data
stream should be compared. If a mask bit is 1, the
corresponding bit in the readback data stream should be
ignored.
.msd
ASCII
-g
readback
An ASCII file that contains only mask bits. The first bit in
the .msd file corresponds to the first bit in the .rbd file. Pad
data in the actual readback stream are accounted for in
the .msd and .rbd files. If a mask bit is 0, that bit should be
verified against the bit stream data. If a mask bit is 1, that bit
should not be verified.
.ll
ASCII -l
An ASCII file that contains information on each of the nodes
in the design that can be captured for readback. The file
contains the absolute bit position in the readback stream,
frame address, frame offset, logic resource used, and name of
the component in the design.
Table 8-6: Readback Files (Continued)
File
Extension
File
Type
BitGen
Setting
Description
Figure 8-4: Readback Data Stream
Pad Frame
Frame Data
To t al
number
device
frames
1 frame
Readback Data
UG071_51_092807