Demo Status LED

Implementing SMPTE SDI Interfaces with UltraScale GTH Transceivers Application Note (XAPP1248)

Document ID
XAPP1248
Release Date
2023-11-08
Revision
v1.6 English
  • GPIO_LED_0- RX locked to SD-SDI mode
  • GPIO_LED_1- RX locked to HD-SDI mode
  • GPIO_LED_2- RX locked to 3G-SDI mode
  • GPIO_LED_3- RX locked to 6G-SDI mode
  • GPIO_LED_4- RX locked to 12G-SDI mode
  • GPIO_LED_5- RX bitrate indicator
  • GPIO_LED_6- RX change done indicator
  • GPIO_LED_7- FMC Initialization Done
Figure 1. Vivado Hardware Manager Main and CH0 VIO View

To observe the signal being generated by the SDI transmitter, an SDI waveform monitor or SDI display device must be connected to the output of the CH0 TX, or the SDI transmitter output can be connected back to the CH0 RX input on the inrevium FMC with a cable. The SDI connectors on the inrevium SDI FMC board are not standard BNC connectors, so adapter cables are required to go from HD-BNC connectors to regular BNC connectors.

Each SDI transmitter has a VIO control window. The VIO control window for TX0 is shown in the following figure.

Figure 2. SDI Demonstration TX0 VIO Control Window

The three items at the top of the TX VIO window indicate the status of the last GTH TX initialization or dynamic change sequence. If the last sequence completed normally, the Change Done indicator is High. If the last sequence failed, the Change Fail indicator is red and the Change Failure Code indicates the cause of the failure as shown in Table 1.

The tx_resetdone indicator shows the status of the GTH Wizard IP gth_wiz_txresetdone_out output port. During normal operation, this indicator is High. The TX Bit Rate toggle button, TX Video Format selection field, and the TX SDI Mode selection field work together to select the format of the SDI signal generated by the SDI transmitter as shown in the following table:

Table 1. Quad SDI Demonstration TX Video Format Selection
TX Video Format SD-SDI (SDI Mode = 1) HD-SDI (SDI Mode = 0) 3G-SDI Level A (SDI Mode = 2) 3G-SDI Level B (SDI Mode = 3) 6G-SDI (SDI Mode =4) 12G-SDI (SDI Mode =5)
TX Bit Rate = 0 TX Bit Rate = 1 TX Bit Rate = 0 TX Bit Rate = 1 TX Bit Rate = 0 TX Bit Rate = 1 TX Bit Rate = 0 TX Bit Rate = 1 TX Bit Rate = 0 TX Bit Rate = 1
0 NTSC 720p

50 Hz

1 PAL 1080pSF

24 Hz

1080pSF

23.98 Hz

2 NTSC 1080i 60

Hz

1080i

59.94 Hz

3 PAL 1080i

50 Hz

4 NTSC 1080p

30 Hz

1080p

29.97 Hz

1080p

60 Hz

1080p

59.94 Hz

1080p

30 Hz

1080p

29.97 Hz

2160p

30 Hz

2160p

29.97 Hz

2160p

60 Hz

2160p

59.94 Hz

5 PAL 1080p

25 Hz

1080p

50 Hz

1080p

25 Hz

2160p

25 Hz

2160p

50 Hz

6 NTSC 1080p

24 Hz

1080p

23.98 Hz

7 PAL 720p

60 Hz

720p

59.94 Hz

The TX Video Pattern value selects the video test pattern generated by the Video Test Pattern Generator driving the SDI TX. In HD-SDI and 3G-SDI mode, three test patterns are available:

  • 0 = SMPTE RP 219 color bars
  • 1 and 3 = SDI pathological check field
  • 2 = 75% color bars

In SD-SDI mode, two test patterns are available:

  • 0 and 2 = SMPTE EG 1 color bars
  • 1 and 3 = SDI pathological check field

In addition to the tx_mode_in values specified in Table 1, TX_MODE can also be set to 3'b011 to stream 3G-SDI Level B patterns. Each SDI receiver has a VIO window to monitor the status of the receiver and an ILA window through which the video data received by the SDI RX and can be viewed. The following figure shows the VIO window for RX0.

The three items at the top of the RX VIO window indicate the status of the last GTH RX initialization or dynamic change sequence. If the last sequence completed normally, the Change Done indicator is High. If the last sequence failed, the Change Fail indicator is red and the Change Failure Code indicates the cause of the failure as shown in Table 1.

  • The RX Error Indicator is High (red) if any CRC or EDH error has been detected and Low (gray) if no errors have been detected. After an error has been detected, this indicator stays red until it is manually reset by clicking the RX Error Clear button. The RX Error Count is an integer count of the number of CRC (HD-SDI and 3G-SDI modes) or EDH errors (SD-SDI mode only) received since the counter was last cleared. The error counter is manually cleared by clicking the RX Error Clear Button. The error counter is also cleared automatically when the incoming SDI signal changes bit rates and the SDI RX has to relock to the signal. However, the error counter is automatically cleared early in the process of locking to the new SDI signal. Thus, after the SDI RX has fully locked to the new SDI signal, the error count is typically not zero.
  • The RX Level B Indicator is High (Blue) when RX is receiving 3G-SDi Level B signal, it is Low (gray) otherwise.
  • The RX Bit Rate shows the bit rate of the SDI signal being received.
  • The RX SDI Mode shows the rx_mode_out current value according to Table 1.
  • The RX Locked Status is High (green) when the SDI RX is locked to the incoming SDI signal and Low (gray) when it is not locked.
  • The RX Reset Done Indicator is High (green) when GTH Wizard IP completed a GTH RX reset sequence.
  • The RX Video Family, RX Frame Rate Transport, and RX Scan Mode provide information about the video that has been detected and can be decoded using Table 1.

    The ST 352 Payload ID Data Bytes are the four data bytes of the ST 352 payload ID packet. They are shown with byte 1 on the left and byte 4 on the right. They are only valid when the ST 352 Payload Packet Valid indicator is green.

  • The RX Controller Reset Button triggers a reset routine in the RX Controller Module.
Figure 3. SDI Demonstration RX Status Window

The following figure shows an ILA window screen shot of an incoming 12G-SDI stream. Refer to Vivado Design Suite Tutorial: Programming and Debugging (UG936) for ILA usage.

Figure 4. Vivado ILA to View RX Data in the SDI Demonstration