Table of Contents

Eclypse Z7 Low Level Zmod ADC DAC Demo

Overview

The project demonstrates the implementation of a basic signal processing application on the Eclypse platform (Eclypse Z7 + Zmod ADC + Zmod DAC).


Description

The simplified block diagram of the system implemented for this demo is shown below:

An analog input coming from the Analog Discovery 2 (AD2) is connected to the Zmod ADC 1410 CH1, converted to a digital format and passed on to the input of a digital low pass filter. The filter's output is converted back to an analog format by the Zmod DAC 1411 and can be measured/visualized on the converter channel 1.

The input signal, after the analog to digital conversion, is also looped back to the Zmod DAC 1411 and connected to CH2 output. The Analog Discovery 2's Network Analyzer instrument is then used to plot the frequency characteristic using the CH2 of the Zmod DAC 1411 as reference.

The purpose of the digital loopback is to correct the phase errors introduced by the ADC and Zmod ADC 1410 Low Level Controller latency and the gain errors caused by the mismatch between the ADC and the DAC full scale voltages.

With this setup the frequency response of the filter can be correctly measured regardless of the gain setting of the Zmod DAC 1411.

Only the Zynq’s Programmable Logic (PL) is used for this project.

The IPs instantiated in the design and their functionality are described below:

Table 1. FIR Filter Coefficients
0.0031577,
0.0063382,
0.0117886,
0.0192569,
0.0285887,
0.0393138,
0.0506561,
0.0616162,
0.0711065,
0.0781057,
0.0818212,
0.0818212,
0.0781057,
0.0711065,
0.0616162,
0.0506561,
0.0393138,
0.0285887,
0.0192569,
0.0117886,
0.0063382,
0.0031577.

←-

Inventory

Hardware

Software

Skills

Downloads

Vivado Project Repository GIT Repo
Waveforms workspace and Vivado project generated bit fileZIP Archive

Demo Setup

Hardware Setup

1. Connect the Analog Discovery 2 board to the host computer using a MicroUSB cable.

2. Connect the Eclypse Z7 board to the host computer using a MicroUSB cable through PROG MicroUSB port and power the board using the 12V Power Supply. Flip its power switch to turn it on.

3. Connect the two Zmods ADC and DAC to the Zmod connectors of the Eclypse Z7 board as follows:

4. Connect the BNC adapter board to the Analog Discovery 2 board

5. Make the following physical connections:

Note: Since the Zmods use SMA connectors, use of BNC-to-SMA cables (or BNC-to-SMA adapters with BNC or SMA cables) is recommended for the Zmod to BNC Adapter physical connections.


Software Setup

1. Follow the instructions provided in the README file from Digilent Vivado Scripts repository, to recreate the project:

2. Download and extract the demo files, linked in the Downloads section, above.

3. After recreating the project in Vivado, generate the bitstream file.

4. Make sure the boot mode jumper on the Eclypse Z7 is on the JTAG position.

5. Open Hardware Manager tool from within Vivado and click Open target, Autoconnect:

6. Select the .bit file, or make sure it is already selected and is located at the correct path in the dialog, and program the board.

7. Open WaveForms, then open the workspace, “EclypseZ7VhdlFilterDemo.dwf3work”, included in the folder extracted from the demo archive.

Hit the Run button of the Network Analyzer instrument.


Operating the Demo

The Network Analyzer will be used to generate a sinusoidal signal (perturbation) on the AWG1 channel. The bode plot (see below) is obtained considering the loopback signal (Zmod DAC 411 CH2) as reference.


Final Notes

For more guides and example projects for your Eclypse Z7, please visit its Resource Center.

For more information about how to use the other Digilent products featured in this demo, please visit their respective Resource Centers:
Analog Discovery 2, Zmod Scope, Zmod AWG, BNC Adapter.

For technical support, please visit the Digilent Forums.