JESD204B Intel® FPGA IP Design Example User Guide: Intel® Quartus® Prime Standard Edition

ID 683094
Date 10/31/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.7.8.2. Software Parameters

The software parameters defined in the main header file, main.h, controls various behaviors of the C code.

Table 47.  Software Parameters
Parameter Default Value Description
DEBUG_MODE 0 Set to 1 to print debug messages, else set to 0.
PRINT_INTERRUPT_MESSAGES 1 Set to 1 to print JESD204B error interrupt messages, else set to 0.
PATCHK_EN 1 Set to 1 when test pattern checker is included in the initial design data path configuration, else set to 0.
DATAPATH 3

Set to indicate the JESD204B IP configuration:

1 – TX data path only.

2 – RX data path only.

3 – Duplex data path (TX and RX data path).

MAX_LINKS 1

Set to indicate the number of links in the design (for example, for dual link, set MAX_LINKS=2). See Implementing a Multi-Link Design section for more detailed instructions on implementing multi-link use case.

Note: When using the design as-is, the maximum value of MAX_LINKS is 16. To increase the limit, redesign the address map in Platform Designer (Standard).
LOOPBACK_INIT 1 Initial value of the loopback. Set to 1 for internal serial loopback mode, else set to 0.
SOURCEDEST_INIT PRBS

Initial value of source/destination. Set to indicate test pattern generator or checker type or user mode:

USER – User mode (no test pattern generator or checker in data path).

ALT – Test pattern generator or checker set in alternate checkerboard mode.

RAMP – Test pattern generator or checker set in ramp wave mode.

PRBS – Test pattern generator or checker set in parallel PRBS mode.