Arria 10 Transceiver Receiving Flipped/Reversed Data
I'm running a very basic simulation to understand how the Arria 10 Transceiver PHY needs to be setup and configured to replace a Stratix V transceiver device since we're going to be replacing the Stratix V device with an Arria 10. In the sim, I'm connecting a 1 channel Stratix IV Transceiver (still in use in the system) to one of the 6 channels of the Arria 10 Transceiver. I've set up the Arria 10 Transceiver to be as close to the settings that were configured in the Stratix V but I'm receiving data incorrectly.
The Stratix IV transceiver word alignment settings are not configurable and are set to manual word alignment with 20 bits with the aligning word in hex being 0x5F0BC after 8B/10B encoding which should be 0xBC1C before 8B/10B encoding. In the Arria 10 device, I have setup the word alignment in "Synchronous State Machine" mode with the same 20-bit aligning word. I have a TX interface on both the Stratix IV and Arria 10 device which are continually sending 0xBC1C (which should later be encoded to 0x5F0BC) for this simple sim to see if I can get the RX to sync. The 0x0000BC1C data packet is received as expected on the Stratix IV side, but on the Arria 10 the receive data is 0xBC1C0000. Is there something I'm missing during transceiver setup? I've attached the Arria 10 settings to this post.
I ended up changing the word alignment to "bitslip" and created my own code to toggle the rx_bitslip input. It seems to be working.