AN 814: Intel Arria 10 Two x8-Lane JESD204B (Duplex) IP Cores Multi-Device Synchronization Reference Design

ID 683731
Date 1/30/2018
Public
Document Table of Contents

1.3.1.1.2.1. Nios® II Processor

The reference design uses Nios® II processor as a control unit to control certain aspects of JESD204B system using C-based software control flow. The software C codes included as part of this reference design only perform basic JESD204B link initialization. You can modify the C codes based on your system specifications.

Figure 11. Software Main C Code Execution Flow

The JESD204B link initialization performs the following tasks:

  • Set the pattern type or user mode for the pattern generator or checker. The default pattern type is set to PRBS.
  • Set the loopback mode. The default is external serial loopback mode.
  • Pulse SYSREF (required to meet Subclass 1 requirements)
  • Wait 10 seconds to allow for changes to take effect.
  • Report the link status.

The SYSREF signal acts as a common timing reference for multiple JESD204B Subclass 1 devices in a JESD204B system to achieve deterministic latency. In general, SYSREF is a source synchronous to the device clock from single clock chip. In most cases, the register in the IP core, which detects this SYSREF signal, is far away from the SYSREF pin. The long interconnect routing delay may result in timing violation. Because of there is no clock generator on the development kit that can provide SYSREF to JESD204B IP cores, the PIO is used to generate the SYSREF pulse. The Nios® II processor instructs the PIO to generate SYSREF pulse, which is re-timed by two stages pipeline registers before being sampled by each IP core. Refer to the JESD204B IP Core User Guide for constraining SYSREF signal if it is coming from FPGA input pin.

Figure 12. Two Stage Pipeline Registers for SYSREF Signal

The initialized ISR performs the following tasks:

  • Print and clear the RX/TX JESD204B error status registers.
  • Disable timer and JTAG UART interrupt generation.