Red Pitaya Notes
Source Issues

AXI4 hub

Requirements

All applications in this repository have a structure similar to the one shown in the following diagram:

Application structure

To control, monitor and communicate with all parts of the applications, the following items are required:

Hub interface

The hub interface consists of all required registers and interfaces connected to the different parts of the applications and an AXI4 slave interface used to communicate with the CPU.

The corresponding Verilog code can be found in cores/axi_hub.v.

Addresses

Bits 24-26 of the address are used to select one of the hub ports:

hub porthub address
config register0
status register1
interface 02
interface 13
interface 24
interface 35
interface 46
interface 57

Usage examples

A basic project with the hub interface, ADC interface, and DAC interface is shown in the following diagram:

Template project

This template project can be used as a starting point for projects requiring ADC, DAC and hub interface. The Tcl code of this project can be found in projects/template.