Professional Documents
Culture Documents
22a Lab5 Intro
22a Lab5 Intro
22a Lab5 Intro
Zynq
Vivado 2015.2 Version
This material exempt per Department of Commerce license exception TSU © Copyright 2015 Xilinx
Introduction
Software and hardware interacts with each other in an embedded system. The Xilinx
SDK includes both GNU and the Xilinx Microprocessor Debugger (XMD) as software
debugging tools. The Vivado hardware logic analyzer tool allows for hardware
debugging by providing access to the internal signals, using number of cores, without
necessarily bringing them out via the package pins. These powerful cores may reside in
the programmable logic (PL) portion of the device and can be configured with several
modes that can monitor signals within the design. Vivado provides capabilities of
marking any net at several stages of the design flow. In this lab you will be introduced
to various debugging cores. Vivado and XSDK includes cross-triggering capability
which allows software exception (breakpoint) to trigger logic analyzer, and hardware
condition detected by the logic analyzer stops software execution
DDR3
PL
Memory Memory
Controller TRIGGER_IN
TRIGGER_OUT
ARM
AXI4-Lite
Cortex-A9 MATH_IP
AXI4-Lite
LED_IP LEDs
AXI3 AXI
M_AXI_GP0 Interconnect AXI4-Lite
Block GPIO Switches
AXI4-Lite
GPIO Push Buttons
PS
clk reset_n
sel
ain
slv_reg0
ain_vio
bin + result
slv_reg1
bin_vio
In this lab, you added a custom core with extra ports so you can debug the design
using the VIO core. You instantiated the ILA and the VIO cores into the design. You used
Mark Debug feature of Vivado to debug the AXI transactions on the custom peripheral.
You then opened the hardware session from Vivado, setup various cores, and verified
the design and core functionality, including cross-triggering, using XSDK and the
Vivado logic analyzer.