Create an LVDS TX Interface

About this task

The following figure shows a completed LVDS TX interface, where n is the serialization width and m is the number of TX lanes.

Figure 1. Complete LVDS TX Interface Block Diagram
Note: Use LVDS TX blocks from the same side of the FPGA to minimize skew between data lanes and TX reference clock output in an LVDS TX interface.

Follow these steps to build an LVDS TX interface using the Efinity® Interface Designer.

Procedure

  1. Add a PLL block with the following settings:
    OptionDescription
    Resource
    Always reserve PLL_BR0 for the RX interface when designing with T8 (Q144), T13, and T20 (Q100, Q144, F169, F256) FPGAs. Otherwise, you can use any PLL resource.
    Reference Clock Mode External
    Reference Clock Frequency Any
    Output Clock For LVDS serializer widths 2 - 8, define the output clocks so that you have one for the fast clock (serial) and one for the slow clock (parallel).
    Set the relationship between the clocks such that the serial clock frequency = parallel clock frequency * (serialization / 2). The serial clock must use the 90 degree phase shift.
  2. Add a GPIO block with these settings to provide the reference clock input to the PLL:
    OptionDescription
    Mode Input
    Pin Name Any
    Connection Type pll_clkin
    GPIO Resource Assign the dedicated PLL_CLKIN pin that corresponds to the PLL you chose.
  3. Add an LVDS TX block with these settings:
    OptionDescription
    LVDS Type Transmitter (TX)
    LVDS Resource Any channel
    Mode Serial data output
    Enable Serialization On
    Serialization Width n
    Output Pin/Bus Name Any
    Serial Clock Pin Name Use the fast clock output name that corresponds to the PLL you chose.
    Parallel Clock Pin Name Use the slow clock output name that corresponds to the PLL you chose.
  4. Repeat step 3 for each LVDS TX data lane you want to implement.
  5. Add another LVDS block that will serve as the LVDS TX reference clock output:
    OptionDescription
    LVDS type Transmitter (TX)
    LVDS resource Any channel
    Mode Reference clock output
    Enable Serialization On
    Serialization width n
    Output pin/bus name Any
    Parallel clock division 1: The output clock from the LVDS TX lane is parallel clock frequency.
    2: The output clock from the TX lane is half of the parallel clock frequency.
    Serial clock pin name Specify the fast clock output name that corresponds to the PLL you chose.
    Parallel clock pin name Use the slow clock output name that corresponds to the PLL you chose.