LVDS SERDES Transmitter / Receiver IP Cores User Guide

ID 683062
Date 12/15/2017
Public
Document Table of Contents

1.7. Generating ALTLVDS IP Core Using Clear Box Generator

Apart from the IP core parameter editor, you can also use the clear box generator, a command-line executable, to configure parameters that are in the ALTLVDS_TX and ALTLVDS_RX parameter editors. The clear box generator creates or modifies custom IP core variations that you can instantiate in a design file. The clear box generator generates IP core variation file in Verilog HDL or VHDL format.

  1. Create a text file (.txt) that contains your clear box ports and parameter settings in your working directory.
  2. Open the command prompt and change the current directory to your working directory by typing: cd c:\altera\11.0\quartus\work\
    The clear box executable file name is clearbox.exe.
  3. To view the available ports and parameters for this IP core, type one of the following commands: clearbox altlvds_tx -h or clearbox altlvds_rx -h.
  4. To generate the ALTLVDS_TX and ALTLVDS_RX IP cores variation file based on the ports and parameter settings in the text file, type one of the following commands: clearbox altlvds_tx -f *.txt or clearbox altlvds_rx -f *.txt.
    For example, clearbox altlvds_tx -f sample_param_test.txt
  5. After the clear box generator generates the IP core variation files, instantiate the IP core module in a HDL file or a block diagram file in the Intel® Quartus® Prime software.
  6. To view the estimated hardware resources that the ALTLVDS_TX and ALTLVDS_RX IP cores use, type one of the following commands: clearbox altlvds_tx -f sample_param_test.txt -resc_count or clearbox altlvds_rx -f sample_param_test.txt -resc_count.
    This command does not generate a HDL file.