Forum Discussion
Altera_Forum
Honored Contributor
14 years agoALTGX byte ordering?
I'm receiving data via the ALTGX PIPE interface (PCI Express). I'm seeing that the byte ordering is random. The Arria II GX handbook states (page 1-35) that "Byte Ordering Depending on when t...
Altera_Forum
Honored Contributor
14 years agoAfter having done additional research on this topic, I have found that I should swap the bytes when I receive a COM symbol on the lower byte of the 16-bit data. The compliance pattern is 4 symbols long and is sent with the COM symbol first so should be received with the COM symbol in the LSByte on the pipe interface. When receiving one of the ordered sets, the same applies.
I have verified and this works for the compliance pattern. I have yet to validate the functionality with actual ordered sets but should work too.