ZCU208 Dds Ila 2020p2 RevA Released

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 53

RFSoC Example Design

ZCU208 DDS Compiler for DAC and


System ILA for ADC Capture – 2020.2

John Lantz
RF and System IO Specialist
john.Lantz@xilinx.com
06/23/2021

XILINX CONFIDENTIAL
Introduction
˃ This is an example starter design for the RFSoC
˃ It will utilize the ZCU208 board
˃ Uses a DAC and ADC sample rate of 1.47456 GHz
˃ The DAC will continuously play 10 MHz sine wave from the DDS Compiler IP.
˃ The ADC output will be sent to a System ILA to be displayed in the Hardware Manager.
˃ DAC Tile228(0) Ch0 will be used (LF balun)
˃ ADC Tile226(2) Ch0 will be used (LF balun)
˃ 2020.2 Xilinx tools (Vivado and Vitis)
˃ Design tested in the directory c:\rfsoc\ex_des\zcu208\v3\
˃ This kit comes with the Vivado HW project and SW source files.

>> 2
XILINX CONFIDENTIAL
Demo Block Diagram
ARM PS

External Coax
AXI Streaming DAC to ADC
DDS 184.32 MHz DAC Tile0 Ch0 10MHz-1GHz
Loopback
Fs = 1.47456GHz SMA
Compiler IP Interpolation x8
Balun

Laptop
Vivado
Vitis
JTAG Interface to ZCU208

AXI Streaming
184.32 MHz ADC Tile2 Ch0 10MHz-1GHz
System ILA Fs = 1.47456GHz Balun
SMA

Decimation x8

XILINX CONFIDENTIAL
>> 3
CLK104 Block Diagram

>> 4
XILINX CONFIDENTIAL
Data Converter Clocking

CLK104/ZCU208
184.32 MHz DAC AXIS Clock
clk_dac0
ADC AXIS Clock

LMK04828B
184.32 MHz
DCLK_OUT6 DAC228
184.32 MHz
DCLK_OUT12 ADC226
184.32 MHz
DCLK_OUT4 LMX2594
184.32 MHz
DCLK_OUT0 LMX2594
LMX2594 outputs are
powered down but
there is a reference
clock to the inputs

XILINX CONFIDENTIAL
>> 5
DAC Setup

>> 6
XILINX CONFIDENTIAL
ADC Setup

>> 7
XILINX CONFIDENTIAL
Data Converter Clocking

>> 8
XILINX CONFIDENTIAL
Board setup for the upcoming designs
˃ Connect DAC Tile 228 Ch0 output to ADC Tile 226 Ch0 input on XM655 (low frequency balun
connections)
˃ Set SW2 to on,on,on,on (JTAG boot mode)
˃ Connect USB to host for JTAG, PS UART and System Controller UART access

DAC Tile0 Ch0


ADC Tile2 Ch0

SW2

>> 9 XILINX CONFIDENTIAL


SUBST command
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/subst

• An example command would be:


• “subst q: c:\rfsoc\ex_des\zcu208\v3”
• This sets a directory structure on the C:\ drive to the root level of the
Q:\ drive

At the start button


enter “cmd” to
start the
Command
>> 10 Prompt App.
XILINX CONFIDENTIAL
Design Kit Contents

1. Extract the design kit to an appropriate folder, be mindful of the Windows path length requirement.
2. Extract vv.xpr.zip which is the Vivado project.
3. Software source files in the “src” folder.
4. Design documentation in the .pdf file.

>> 11
XILINX CONFIDENTIAL
Open Hardware Design and Generate the Bitstream
Extract vv.xpr.zip, open the design in Vivado and generate the bitstream.

>> 12
XILINX CONFIDENTIAL
DAC Sine Wave Generator (DDS Compiler IP)

>> 13
XILINX CONFIDENTIAL
Export Hardware

>> 14
XILINX CONFIDENTIAL
Export Hardware Con’t

>> 15
XILINX CONFIDENTIAL
Open Vitis

>> 16
XILINX CONFIDENTIAL
Create Platform Project

>> 17
XILINX CONFIDENTIAL
Create Platform Project Con’t

>> 18
XILINX CONFIDENTIAL
Create Platform Project Con’t

>> 19
XILINX CONFIDENTIAL
Create Platform Project Con’t

This may take


a few minutes

>> 20
XILINX CONFIDENTIAL
Create Platform Project Con’t
Modify BSP
settings

>> 21
XILINX CONFIDENTIAL
Enable libmetal

>> 22
XILINX CONFIDENTIAL
Build Project This may take
a few minutes

>> 23
XILINX CONFIDENTIAL
Build Complete

>> 24
XILINX CONFIDENTIAL
Create Application

>> 25
XILINX CONFIDENTIAL
Create Application Con’t

>> 26
XILINX CONFIDENTIAL
Create Application Con’t

>> 27
XILINX CONFIDENTIAL
Create Application Con’t

>> 28
XILINX CONFIDENTIAL
Create Application Con’t

>> 29
XILINX CONFIDENTIAL
Create Application Con’t

>> 30
XILINX CONFIDENTIAL
Import Sources

>> 31
XILINX CONFIDENTIAL
Build Application

>> 32
XILINX CONFIDENTIAL
Build Complete

>> 33
XILINX CONFIDENTIAL
Run Design

XILINX CONFIDENTIAL
Open a terminal window
Open the COM port on the compute
and set the rate to 115200.

TeraTerm can be used. See UG1036

>> 35
XILINX CONFIDENTIAL
Setup Run Configuration

>> 36
XILINX CONFIDENTIAL
Run Configuration Con’t

Double
Click

>> 37
XILINX CONFIDENTIAL
Run Configuration Con’t

>> 38
XILINX CONFIDENTIAL
Run Design

>> 39
XILINX CONFIDENTIAL
Application Startup

The application…
1. Programs the clocks
2. Issues the data converters
master reset.
3. Displays the Power-on
Sequence Step of the data
converters.

>> 40
XILINX CONFIDENTIAL
Open Hardware Manager

>> 41
XILINX CONFIDENTIAL
Open New Target

>> 42
XILINX CONFIDENTIAL
Open Hardware Target

>> 43
XILINX CONFIDENTIAL
Open Hardware Target Con’t

>> 44
XILINX CONFIDENTIAL
Convert Data to the Analog Waveform Style

10 MHz sine wave


going from the DDS
compiler to the DAC.

ADC capture to the


System ILA.

>> 45
XILINX CONFIDENTIAL
Analog Settings

Set Row height to 100.

>> 46
XILINX CONFIDENTIAL
Radix

Use Radix of Signed Decimal

>> 47
XILINX CONFIDENTIAL
System ILA Capture
Automatically retrigger Trigger ILA capture

>> 48
XILINX CONFIDENTIAL
Boot Image

XILINX CONFIDENTIAL
Create Boot Image

To run the
application from
the SD card rather
than directly from
Vitis create the
boot.bin file

>> 50
XILINX CONFIDENTIAL
Create boot.bin file

Note the location of the boot.bin


file to put at the root level of the
SD card

>> 51
XILINX CONFIDENTIAL
Boot from SD card

Set SW2 to on,off,off,off (SD Card boot mode)

Load boot.bin on the SD


card and insert it into
the board and turn on
the power.
>> 52
XILINX CONFIDENTIAL
Adaptable.
Intelligent.

XILINX CONFIDENTIAL

You might also like