Modifying the reconfiguration management – Altera SDI II MegaCore User Manual
Page 35

.number_of_reconfig_interfaces (7),
….
) u_reconfig (
.reconfig_to_xcvr ({reconfig_to_xcvr_du_ch2,
reconfig_to_xcvr_tx_ch1,
reconfig_to_xcvr_rx_ch1,
reconfig_to_xcvr_du_ch0}),
.reconfig_from_xcvr ({reconfig_from_xcvr_du_ch2,
reconfig_from_xcvr_tx_ch1,
reconfig_from_xcvr_rx_ch1,
reconfig_from_xcvr_du_ch0}),
);
Modifying the Reconfiguration Management
Perform the following changes to modify the reconfiguration management:
• Edit the Number_of_channels parameter in
sdi_ii_ed_reconfig_mgmt.v
. This parameter value should be
the total number of the SDI RX channels declared in the design. In this example, the NUM_CHS is 3.
• Link the interface signals—
sdi_rx_start_reconfig
,
sdi_rx_reconfig_done
, and
sdi_rx_std
—
between multiple SDI instances and reconfiguration management block. Link the interface signals—
sdi_tx_start_reconfig
,
sdi_tx_reconfig_done
, and
sdi_tx_pll_sel
—between user and reconfi‐
guration management block. 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
).
For example:
wire tx_start_reconfig_ch2,tx_start_reconfig_ch1,tx_start_reconfig_ch0;
wire tx_pll_sel_ch2,tx_pll_sel_ch1,tx_pll_sel_ch0;
wire tx_reconfig_done_ch2,tx_reconfig_done _ch1,tx_reconfig_done_ch0;
wire rx_start_reconfig_ch2,rx_start_reconfig_ch1,rx_start_reconfig_ch0;
wire [1:0] rx_std_ch2, rx_std_ch1,rx_std_ch0;
wire rx_reconfig_done_ch2,rx_reconfig_done _ch1,rx_reconfig_done_ch0;
sdi_ii_ed_reconfig_mgmt #(
. NUM_CHS (3),
) u_reconfig_mgmt (
.sdi_tx_start_reconfig (tx_start_reconfig_ch2,
tx_start_reconfig_ch1,tx_start_reconfig_ch0),
.sdi_tx_pll_sel (tx_pll_sel_ch2,tx_pll_sel_ch1,tx_pll_sel_ch0),
.sdi_tx_reconfig_done (tx_reconfig_done_ch2,
tx_reconfig_done_ch1,tx_reconfig_done_ch0),
.sdi_rx_start_reconfig (rx_start_reconfig_ch2,
rx_start_reconfig_ch1,rx_start_reconfig_ch0),
.sdi_rx_std (rx_std_ch2,rx_std_ch1,rx_std_ch0),
.sdi_rx_reconfig_done (rx_reconfig_done_ch2,
rx_reconfig_done_ch1,rx_reconfig_done_ch0)
)
• In the reconfiguration logic source file, the default setting for the wire
rx_log_ch_num
is 0 and 2 for
channel 0 and channel 1, respectively. The default setting for the wire
tx_log_ch_num
is 0 and 2
(duplex) or 3 (TX) for channel 0 and channel 1, respectively. These numbers are referring to the
Number_of_channels parameter value that was set in transceiver reconfiguration controller. Hence,
the logical channel number for each SDI channel is as listed in the table below.
3-20
Modifying the Reconfiguration Management
UG-01125
2015.05.04
Altera Corporation
SDI II IP Core Getting Started