Altera_Forum
Honored Contributor
12 years agoCyclone V Transceiver Synchronised 32bit Word Alignment Problem
I am using the cyclone v gt (http://www.altera.co.uk/products/devkits/altera/kit-cyclone-v-gx.html) demo board in an attempt to get a transceiver channel that has a direct loopback (Tx->Rx) across the HSMC to verify a physical link running and synchronised correctly at the receiver from the transmitted data.
The loopback is as follows:-- The transceiver is constantly transmitting = K28.5, D10.2, D10.2 & D27.3 (SATA align primitive in transmission order) i.e. 7b4a4abch in the 8b-domain.
- The transceiver is receiving = 7b4a4abch which is good :) OR 4abc7b4ah which is word swapped :(
- The PMA-PCS interface is configured as a 20bit data path.
- The word aligner is in manual mode detecting x2 comma K28.5 (10bit) symbols which appears to be working because using SignalTap I can see the synchronisation being asserted after detecting the second word alignment pattern.
- The rate match FIFO is bypassed.
- I am using the 8b/10b decoder
- I am using the byte (16bit word) deserialiser to get a 32bit data path to the FPGA fabric.
- I have the byte ordering configured to auto looking for the comma K28.5 pattern in the 8b-domain i.e. 1BCh and padding with 000h.
- I am using the phase compensation FIFO in the non-registered low-latency mode.