没有合适的资源?快使用搜索试试~ 我知道了~
首页ug1165-zynq-embedded-design-tutorial.pdf
ug1165-zynq-embedded-design-tutorial.pdf
需积分: 10 17 下载量 26 浏览量
更新于2023-03-16
评论
收藏 8.15MB PDF 举报
《ug1165-zynq-embedded-design-tutorial》zynq7000系列芯片手册,值得拥有,赶紧下载吧。
资源详情
资源评论
资源推荐
Zynq-7000 All
Programmable SoC:
Embedded Design
Tutorial
A Hands-On Guide to Effective
Embedded System Design
UG1165 (v2017.3) November 23, 2017
UG1165 (v2017.4) December 20, 2017
This tutorial was validated with 2017.3. Minor procedural differences might be required when using
later releases.
Zynq-7000 AP SoC: Embedded Design Tutorial 2
UG1165 (v2017.3) November 23, 2017 www.xilinx.com
Revision History
The following table shows the revision history for this document.
Date Version Revision
11/23/2017 2017.3 Verified for 2017.3 version of Vivado® Design Suite, Xilinx® SDK, and PetaLinux
Tools.
Send Feedback
UG1165 (v2017.4) December 20, 2017
12/20/2017: Released with Vivado® Design Suite 2017.4 without changes from 2017.3.
Zynq-7000 AP SoC: Embedded Design Tutorial 3
UG1165 (v2017.3) November 23, 2017 www.xilinx.com
Table of Contents
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 1: Introduction
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
How Zynq Devices Simplify Embedded Processor Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
How the Vivado Tools Expedite the Design Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
What You Need to Set Up Before Starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Chapter 2: Using the Zynq SoC Processing System
Embedded System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Example Project: Creating a New Embedded Project with Zynq SoC . . . . . . . . . . . . . . . . . . . . . . . . 15
Example Project: Running the “Hello World” Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Chapter 3: Using the GP Port in Zynq Devices
Adding IP in PL to the Zynq SoC Processing System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Standalone Application Software for the Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Chapter 4: Debugging with SDK
Xilinx System Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Debugging Software Using SDK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Chapter 5: Using the HP Slave Port with AXI CDMA IP
Integrating AXI CDMA with the Zynq SoC PS HP Slave Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Standalone Application Software for the Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Linux OS Based Application Software for the CDMA System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Running Linux CDMA Application Using SDK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Chapter 6: Linux Booting and Debug in SDK
Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Booting Linux on a Zynq SoC Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Send Feedback
UG1165 (v2017.4) December 20, 2017
Zynq-7000 AP SoC: Embedded Design Tutorial 4
UG1165 (v2017.3) November 23, 2017 www.xilinx.com
Chapter 7: Creating Custom IP and Device Driver for Linux
Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Creating Peripheral IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Integrating Peripheral IP with PS GP Master Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Linux-Based Device Driver Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Loading Module into Running Kernel and Application Execution . . . . . . . . . . . . . . . . . . . . . . . . . 103
Chapter 8: Software Profiling Using SDK
Profiling an Application in SDK with System Debugger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Additional Design Support Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Chapter 9: Linux OS Aware Debugging Using SDK
Setting up Linux OS Aware Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Debugging Linux Processes and Threads Using OS Aware Debug . . . . . . . . . . . . . . . . . . . . . . . . . 114
Appendix A: Additional Resources and Legal Notices
Xilinx Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Solution Centers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Documentation Navigator and Design Hubs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Xilinx Documentation Navigator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Design Files for This Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Xilinx Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Training Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Please Read: Important Legal Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Send Feedback
UG1165 (v2017.4) December 20, 2017
Zynq-7000 AP SoC: Embedded Design Tutorial 5
UG1165 (v2017.3) November 23, 2017 www.xilinx.com
Chapter 1
Introduction
About This Guide
This document provides an introduction to using the Xilinx® Vivado® Design Suite flow for
using the Zynq®-7000 All Programmable SoC device. The examples are targeted for the
Xilinx ZC702 Rev 1.1 evaluation board and the tool version used is Vivado and the Xilinx
Software Development Kit (SDK) 2017.3.
Note:
To install SDK as part of the Vivado Design Suite, you must choose to include SDK in the
installer. See Xilinx Software Development Kit, page 9.
The examples in this document were created using the Xilinx tools running on Windows 7,
64-bit operating system, and PetaLinux on Linux 64-bit operating system. Other versions of
the tools running on other Window installs might provide varied results. These examples
focus on introducing you to the following aspects of embedded design.
Note:
The sequence mentioned in the tutorial steps for booting Linux on the hardware is specific to
the PetaLinux tools released for 2017.3, which must be installed on the Linux host machine for
exercising the Linux portions of this document.
• Chapter 2, Using the Zynq SoC Processing System describes creation of a system with
the Zynq SoC Processing System (PS) and running a simple "Hello World" application.
This chapter is an introduction into the hardware and software tools using a simple
design as the example.
• Chapter 3, Using the GP Port in Zynq Devices describes how to create a system using
the Zynq SoC PS and the Programmable Logic (PL, or "fabric") and how to use a simple
application to exercise both the PS and PL.
• Chapter 4, Debugging with SDK provides an introduction into debugging software
using the debug features of the Xilinx Software Development Kit (SDK). This chapter
uses the previous design and runs the software bare metal (without an OS) to show
how to debug.
• Chapter 5, Using the HP Slave Port with AXI CDMA IP provides information about
booting the Linux OS on the Zynq SoC board and application development with
PetaLinux tools. This chapter also introduces the different devices Zynq SoC can boot
from and how to program these devices.
Send Feedback
UG1165 (v2017.4) December 20, 2017
剩余125页未读,继续阅读
lucjn
- 粉丝: 13
- 资源: 199
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0