Root/Software/xc3sprog/byte-order.txt

1The IO routines that shift data out to the JTAG port start with the first byte of the buffer given. Each byte is is output LSB first. If the byte order was the same as the SVF file then the entire buffer would have to be stored and then reversed, causing problems for embedded JTAG servers with limited memory.
2
3
4
5The table below shows an example of the byte order reversal required for playing an SVF file.
6
7SVF IO buffer
8.. ff
9.. aa
10.. 33
11.. 00
1200 ..
1333 ..
14aa ..
15ff ..
16
17
18
19For a Xilinx bit file, which is MSB first, each byte is bit-reversed as shown below.
20
21BIT IO buffer
22ff ff
2355 aa
24cc 33
2500 00
26.. ..
27.. ..
28.. ..
29.. ..

Archive Download this file

Branches:
master



interactive