Trs aligner, Trs aligner -23 – Altera SDI II MegaCore User Manual
Page 65

TRS Aligner
The TRS aligner word aligns the descrambled receiver data until the bit order of the output data and the
original video data are the same. The EAV and SAV sequences determine the correct word alignment.
Table 4-4: EAV and SAV Sequences
Table below lists the sequence pattern for each video standard.
Video Standard
EAV and SAV Sequences
SD-SDI
3FF 000 000
HD-SDI
3FF 3FF 000 000 000 000
3G-SDI Level A
3FF 3FF 000 000 000 000
3G-SDI Level B
3FF 3FF 3FF 3FF 000 000 000 000 000 000 000 000
6G-SDI Level A
3FF 3FF 3FF 3FF 000 000 000 000 000 000 000 000
6G-SDI Level B
3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000
12G-SDI Level A
3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000
12G-SDI Level B
3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF 3FF
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
The TRS aligner matches the selected pattern in the descrambled receiver data. If the aligner detects a
pattern at any of the possible word alignments, it raises a flag and indicates the matched alignment. This
process applies continuously to the receiver data.
In the second stage, the TRS aligner determines the correct word alignment for the data. The aligner looks
for three consecutive TRSs with the same alignment and then stores that alignment. If the aligner
subsequently detects two consecutive TRSs with a different alignment, then it stores this new alignment.
In the final stage, the TRS aligner applies a barrel shift function to the received data to generate the
correctly aligned parallel word output. The barrel shifter allows the design to instantly switch from one
alignment to another.
For 6G-SDI and 12G-SDI video standards, these submodules have an additional function to restore the
correct TRS words. The submodules restore the correct TRS words from the data inserted through sync
bits.
UG-01125
2015.05.04
TRS Aligner
4-23
SDI II IP Core Functional Description
Altera Corporation