
OpenLDI/FPD-LINK/LVDS Receiver Interface IP
User Guide
© 2017-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-IPUG-02021-1.1
27
TEST_MODE
test_mode_en_rx_i
pixel_clk_i
rst_n_i
comp_en
test_mode_err_o
datain0/1/2/3_ch1_i
datain0/1/2/3_ch0_i
Figure 2.24. Test Mode Block Diagram
Table 2.10. Test Mode Pin List Summary
Port Name
Width
Dir
Type
Description
pixel_clk_i
1
I
LVCMOS
Input pixel clock.
rst_n_i
1
I
LVCMOS
Asynchronous active low reset
test_mode_en_rx_i
1
I
LVCMOS
Enable or disable test mode.
1 - Enable test mode.
0 - Disable test mode.
comp_en
1
I
LVCMOS
Indicates when to start comparing data. Connected to
ready_align_o output of fpd_link_rx module.
test_mode_err_o
1
O
LVCMOS
1 - Indicates that compare mismatch is encountered when test
mode is enabled.
0 - No error is encountered. Automatically set to 0 when test
mode is disabled.
datain0_ch0_i*
RX_GEAR
I
LVCMOS
Input data from lane 0 of channel 0
datain1_ch0_i*
RX_GEAR
I
LVCMOS
Input data from lane 1 of channel 0
datain2_ch0_i*
RX_GEAR
I
LVCMOS
Input data from lane 2 of channel 0
datain3_ch0_i*
RX_GEAR
I
LVCMOS
Input data from lane 3 of channel 0
datain0_ch1_i*
RX_GEAR
I
LVCMOS
Input data from lane 0 of channel 1
datain1_ch1_i*
RX_GEAR
I
LVCMOS
Input data from lane 1 of channel 1
datain2_ch1_i*
RX_GEAR
I
LVCMOS
Input data from lane 2 of channel 1
datain3_ch1_i*
RX_GEAR
I
LVCMOS
Input data from lane 3 of channel 1
*Note: Port is always available. Drive to 0s if port is not used.
Table 2.11. Test Mode Parameter List
Parameters
Value
Description
Operation
TEST_DATA
<value>
Pre-defined data used when test mode is enabled.
For dual channel configuration, the same TEST
DATA is used for both channels.
28 - Data width for RGB888
21 - Data width for RGB666
parameter TEST_DATA = <val>
NUM_RX_CH
1, 2
Specify how many LVDS links are used
1 – Single Link
2 – Dual Link
parameter NUM_RX_CH = <val>
NUM_RX_LANE
3, 4
Specify number of data lanes per Rx link
3 - LVDS lane - Set automatically to 3
4 - LVDS lane - Set automatically to 4
parameter NUM_RX_LANE = <val>
RX_GEAR
7, 14
Specify what DDR71 gearing is used
7 – 1:7 Gearing
14 – 1:14 Gearing
parameter RX_GEAR = <val>