
APPENDIX A: Registers for PCIe8g3 S5
Registers, UI
EDT, Inc.
2017 January 04
19
0x0D Exended Configuration
0x0F Configuration
Access / Notes:
8-bit read-write / PCD_EXT_CONFIG
Registers 0x0D, 0x0F, and 0x16 all can affect how data is ordered.
Bit
Access
Name
Description
7–1
–
[no name]
Reserved.
0
RW
WSWAP
Word swap bit; swaps two 32-bit words in one 64-bit data word, so that word 0 is transferred before word
1. Does not change the position of the bits within each word.
Access / Notes:
8-bit read-write / PCD_CONFIG
Registers 0x0D, 0x0F, and 0x16 all can affect how data is ordered.
Bit
Access
Name
Description
7–4
–
–
Reserved.
3
RW
SSWAP
Short swap bit; swaps the two 16-bit short words in one 32-bit data word, so that short 0 is transferred
before short 1. Does not change the order of the bits within each short.
2–1
–
–
Reserved.
0
RW
BSWAP
Byte swap bit; swaps bytes 0 and 1, and also bytes 2 and 3, in a 32-bit data word, so that the bytes are
positioned 1, 0, 3, 2. Does not change the position of the bits within each byte.
Below is the structure of a 64-bit data word, with no swapping in effect.
Bits:
63–56
55–48
47–40
39–32
31–24
23–16
15–8
7–0
Bytes:
7
6
5
4
3
2
1
0
Shorts:
3
2
1
0
Words:
1
0
Below are the data ordering sequences achieved by setting or unsetting, in various combi-
nations, the bits WSWAP, SSWAP, and BSWAP.
WSWAP
SSWAP
BSWAP
Resultant Byte Order
0
0
0
7, 6, 5, 4, 3, 2, 1,
0
0
0
1
6, 7, 4, 5, 2, 3, 0,
1
0
1
1
4, 5, 6, 7, 0,
1
2,
3
1
1
1
0, 1, 2, 3, 4, 5, 6,
7
0
1
0
5, 4, 7, 6, 1, 0, 3,
2
1
0
0
3,
2
1, 0, 7, 6, 5,
4