Expanding to multiple channels – Altera SDI II MegaCore User Manual
Page 34

The following sequence of events occur when there is a change in the SDI receiver video standard:
1. The SDI receiver locks to 3G-SDI standard and detects the incoming video standard has changed from
3G-SDI to HD-SDI. The transceiver controller requests a reconfiguration.
2. The transceiver reconfiguration controller determines the appropriate settings to write based on the
information from the transceiver controller. Then, it performs the read-modify-write operation to
reconfigure the device transceiver.
3. Once the reconfiguration completes, the transceiver reconfiguration controller indicates to the SDI
receiver that reconfiguration is complete.
4. The SDI receiver begin the process of locking to the incoming data.
Expanding to Multiple Channels
The generated design example consists of two SDI channels, where the SDI duplex instance always occupy
Channel 0 (Ch0), while the SDI instance at Channel 1 (Ch1) depends on your selection from the
parameter editor. To expand and accommodate more channels, you must perform some modifications to
the source files.
For example, when Ch0 is duplex, Ch1 is RX and TX, if you want to instantiate an additional SDI duplex
instance at Channel 2 (Ch2), you need to make some modifications to the following components.
Note: This is only applicable for Arria V, Cyclone V, and Stratix V design examples. For Arria 10 design
example, just duplicate another transceiver reconfiguration controller generated from the example
design for the additional channel.
Modifying the Transceiver Reconfiguration Controller
Perform the following changes to modify the transceiver reconfiguration controller:
• Edit the Number_of_reconfig_interfaces parameter. This parameter specifies the total number of
reconfiguration interfaces that connect to this block.
• Each channel or TX PLL needs one reconfiguration interface. Therefore, an SDI duplex or SDI TX
mode requires two interfaces while an SDI RX mode requires only one interface. If you enable the
dynamic TX clock switching feature, , the SDI duplex or SDI TX mode requires three interfaces. The
additional interface is for the additional TX PLL. For simplicity, assume this option is disabled.
• Determine the total number of reconfiguration interfaces required in your design and assign the
parameter value accordingly. In this design example, the total number of reconfiguration interfaces is 7
(Ch0=2, Ch1=3 and Ch2=2).
• Link the
reconfig_to_xcvr
and
reconfig_from_xcvr
signals from the additional SDI duplex
instance at Ch2. You must link the signals in the order of the logical channel number (
rx_log_ch_num
and
tx_log_ch_num
) in the reconfiguration logic source file (
sdi_ii_reconfig_logic.v
).
• In the design example that instantiates the transceiver reconfiguration controller, add the wire
connection between the additional SDI duplex instance at Ch2 and the transceiver reconfiguration
controller as shown below:
wire [ 139:0] reconfig_to_xcvr_du_ch2;
wire [ 91:0] reconfig_from_xcvr_du_ch2;
wire [ 139:0] reconfig_to_xcvr_tx_ch1;
wire [ 69:0] reconfig_to_xcvr_rx_ch1;
wire [ 91:0] reconfig_from_xcvr_tx_ch1;
wire [ 45:0] reconfig_from_xcvr_rx_ch1;
wire [ 139:0] reconfig_to_xcvr_du_ch0;
wire [ 91:0] reconfig_from_xcvr_du_ch0;
alt_xcvr_reconfig #(
UG-01125
2015.05.04
Expanding to Multiple Channels
3-19
SDI II IP Core Getting Started
Altera Corporation