没有合适的资源?快使用搜索试试~ 我知道了~
UG1262 model composer 用户指南
试读
248页
需积分: 0 1 下载量 196 浏览量
更新于2024-01-27
收藏 5.27MB PDF 举报
《UG1262 Model Composer用户指南》是针对Vivado平台中基于模型的DSP算法开发的重要参考资料。该文档在2020年6月3日更新至版本2020.1,主要介绍了如何利用Model Composer进行C++代码生成,并针对2020.1版本进行了更新。
Model Composer是一款强大的设计工具,它支持MATLAB的多个版本,包括2019a、2019b以及2020a。这个工具可以在多种操作系统上运行,包括Windows 10的特定更新版本(64位)、Red Hat Enterprise Workstation/Server 7.4到7.7(64位)以及Ubuntu Linux的16.04和18.04 LTS系列(64位)。需要注意的是,使用R2020a版本的Xilinx Model Composer并不支持RHEL 7.4操作系统。
本用户指南共分为多个章节,详细阐述了Model Composer的各个方面:
1. 引言部分:对Model Composer进行了定义,说明它是Vivado中用于实现数字信号处理(DSP)算法的模型化开发环境。此外,还列出了新功能和限制,帮助用户了解工具的最新改进及其可能的局限性。
2. 创建Model Composer设计:这一章讲解如何启动Model Composer并创建新的模型。用户可以学习到如何一步步地添加块到模型中,构建自己的算法流程。
3. 预计后续章节会涵盖以下内容:
- 模型的基本操作:如编辑、连接和配置模型中的各个组件。
- 代码生成:详细说明如何将设计模型转换为可执行的C++代码,这对于硬件加速和软件仿真至关重要。
- DSP库的使用:介绍Model Composer支持的DSP函数和块,以及如何在模型中应用它们。
- 调试与验证:提供关于如何测试和调试模型,确保算法正确性的指导。
- 集成与部署:说明如何将模型集成到更大的系统中,以及如何在目标硬件上部署和执行。
- 性能优化:介绍如何通过调整模型结构和参数来提升算法性能。
4. 可能还包括常见问题解答和故障排除部分,帮助用户解决在使用过程中遇到的问题。
通过《UG1262 Model Composer用户指南》,开发者可以深入理解如何利用Model Composer高效地开发和优化DSP算法,从而充分发挥Vivado平台的优势,提高设计效率和质量。对于那些在MATLAB环境中工作并需要将算法移植到硬件的工程师来说,这是一份不可或缺的参考资料。
Supported MATLAB versions and
Operating Systems
Xilinx Model Composer supports MATLAB
®
versions:
• 2019a
• 2019b
• 2020a
The following operang systems are supported on x86 and x86-64 processor architectures:
• Microso Windows 10.0 1809 Update; 10.0 1903 Update; 10.0 1909 Update (64-bit),
English/Japanese
• Red Hat Enterprise Workstaon/Server 7.4, 7.5, 7.6, 7.7 (64-bit)
• Ubuntu Linux 16.04.5 LTS;16.04.6 LTS; 18.04.1 LTS; 18.04.2 LTS, 18.04.3 LTS; 18.04.4 LTS
(64-bit)
Note: Xilinx Model Composer with MATLAB version R2020a does not support RHEL 7.4 OS.
UG1262 (v2020.1) June 3, 2020 www.xilinx.com
Model Composer User Guide 3
Send Feedback
Table of Contents
Revision History...............................................................................................................2
Supported MATLAB versions and Operating Systems............................... 3
Chapter 1: Introduction.............................................................................................. 6
What is Model Composer........................................................................................................... 6
What's New and Limitations......................................................................................................8
Chapter 2: Creating a Model Composer Design...........................................10
Launching Model Composer....................................................................................................11
Creating a New Model.............................................................................................................. 12
Adding Blocks to a Model.........................................................................................................13
Connecting Blocks.....................................................................................................................15
Working with Data Types......................................................................................................... 16
Creating a Top-Level Subsystem Module...............................................................................27
Chapter 3: Importing C/C++ Code as Custom Blocks................................28
Introduction............................................................................................................................... 28
Using the xmcImportFunction Command............................................................................. 28
Importing C/C++ into Model Composer................................................................................. 31
Defining Blocks Using Function Templates............................................................................36
Pragmas for xmcImportFunction............................................................................................49
Adding Your Library to Library Browser.................................................................................55
Debugging Imported Blocks....................................................................................................57
Chapter 4: Generating Outputs...........................................................................63
Introduction............................................................................................................................... 63
Adding the Model Composer Hub.......................................................................................... 63
Controlling the Throughput of the Implementation............................................................ 66
Defining the Interface Specification....................................................................................... 72
Generating Packaged IP for Vivado........................................................................................ 76
Generating System Generator IP............................................................................................ 80
Generating C++ Code................................................................................................................85
UG1262 (v2020.1) June 3, 2020 www.xilinx.com
Model Composer User Guide 4
Send Feedback
Model Composer Log File.........................................................................................................87
Chapter 5: Simulating and Verifying Your Design..................................... 88
Introduction............................................................................................................................... 88
Simulating in Simulink.............................................................................................................. 89
Managing the Model Composer Cache..................................................................................89
Verifying the C++ Code............................................................................................................. 90
Verifying the C/RTL Code......................................................................................................... 91
Appendix A: Select Target Device or Board....................................................93
Device Chooser Dialog Box......................................................................................................93
Appendix B: Model Composer Block Library................................................. 95
Supported Simulink Blocks...................................................................................................... 95
Model Composer Block Taxonomy......................................................................................... 96
RTL IP-Based Blocks................................................................................................................100
Model Composer Blocks.........................................................................................................102
Appendix C: Additional Resources and Legal Notices........................... 246
Xilinx Resources.......................................................................................................................246
Documentation Navigator and Design Hubs...................................................................... 246
References................................................................................................................................247
Please Read: Important Legal Notices................................................................................. 247
UG1262 (v2020.1) June 3, 2020 www.xilinx.com
Model Composer User Guide 5
Send Feedback
剩余247页未读,继续阅读
资源推荐
资源评论
160 浏览量
183 浏览量
2013-08-04 上传
2013-08-04 上传
5星 · 资源好评率100%
2017-12-12 上传
123 浏览量
186 浏览量
5星 · 资源好评率100%
131 浏览量
102 浏览量
154 浏览量
168 浏览量
172 浏览量
2016-09-22 上传
2015-05-11 上传
5星 · 资源好评率100%
102 浏览量
115 浏览量
2017-07-12 上传
2018-02-11 上传
105 浏览量
2019-03-11 上传
2012-11-14 上传
2010-02-03 上传
129 浏览量
5星 · 资源好评率100%
167 浏览量
资源评论
jack_chen_gz
- 粉丝: 2
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功