
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.
30
FPGA-IPUG-02021-1.1
Parameter
Attribute
Options
Description
Number of Output Pixels
Read-Only
1,2,4
Specify the number of output pixels per pixel clock. Computed based
on selected Number of Rx Channels and Rx Gear.
Test Mode Data
User-Input
<Value>
Available only when Test Mode is enabled.
28 – Data width for RGB888
21 – Data width for RGB666
3.2.
Compiler Directives
Aside from parameters, non-packaged OpenLDI/FPD-LINK/LVDS Receiver Interface IP can also be configured through
compiler directives.
Table 3.3. OpenLDI/FPD-LINK/LVDS Receiver Interface IP Non-packaged Compiler Directives
Parameters
Value
Description
Operation
NUM_RX_CH_<#>
1, 2
Specify how many LVDS links are used
1 – Single Link
2 – Dual Link
`define NUM_RX_CH_<val>
RX_GEAR_<#>
7, 14
Specify what DDR71 gearing is used
7 – 1:7 Gearing
14 – 1:14 Gearing
`define RX_GEAR_ <val>
RGB<#>
888, 666
Specify the data type.
RGB666 – Automatically set NUM_RX_LANE to 3
RGB888 – Automatically set NUM_RX_LANE to 4
`define RGB<val>
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
`define TEST_DATA <val>
PIX<#>_PER_CLK
1,2,4
Specify the number of output pixels per pixel
clock.
4 – Rx CH=2, Gear 14
2 – Rx CH=2, Gear 7 or Rx CH=1, Gear 14
1 – Rx CH=1, Gear 7
`define PIX<val>_PER_CLK
DEBUG_ON
—
Test mode can only be enabled when this is
defined
`define DEBUG_ON
MISC_ON
—
Define to access debug ports
`define MISC_ON