JESD204B IP Core Design Example User Guide

ID 683094
Date 11/06/2017
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.1.1.2. Nios II Subsystem in Qsys

The Nios II subsystem Qsys project, nios_subsystem.qsys 18, instantiates the following peripherals:

  • Nios II processor (altera_nios2_gen2)
  • On-chip memory (altera_avalon_onchip_memory2)—provides both instruction and data memory space
  • Timer (altera_avalon_timer)—provides a general timer function for the software
  • JTAG UART (altera_avalon_jtag_uart)—serves as the main communications portal between the user and the Nios II processor via the terminal console in Nios II SBT for Eclipse tool
  • Avalon-MM bridges (altera_avalon_mm_bridge)—two Avalon-MM bridge modules; one to interface to the JESD204B subsystem and the other to interface to the Qsys components (core PLL reconfiguration controller and SPI master modules) in the top level Qsys project.
  • PIO (altera_avalon_pio)—provides general input/output (I/O) access from the Nios II processor to the HDL components in the FPGA via two sets of 32-bit registers:
    • io_status—status registers input from the HDL components to the Nios II processor
    • io_control—control registers output from the Nios II processor to the HDL components

The tables below describe the signal connectivity for the io_status and io_control registers.

Table 36.   Signal Connectivity for io_status Registers
Bit Signal
0 Core PLL locked
1 TX transceiver ready (Link 0)
2 RX transceiver ready (Link 0)
3 Test pattern checker data error (Link 0)
4–31 TX transceiver ready, RX transceiver ready, and test pattern checker data error signals for subsequent links, if present.
Table 37.   Signal Connectivity for io_control Registers
Bit Signal
0 RX serial loopback enable for lane 0 (Link 0)
1 RX serial loopback enable for lane 1 (Link 0)
2 RX serial loopback enable for lane 2 (Link 0)
3 RX serial loopback enable for lane 3 (Link 0)
4–30 RX serial loopback enable for subsequent links, if present.
31 Sysref (Not implemented in software)

You can access the address map of the submodules in the Nios II subsystem by clicking on the Address Map tab in the Qsys window.

18 Note that Qsys does not allow multiple Qsys systems with the same name in the same project. If you have a Qsys system with the same name, please change the name of your Qsys system.