代码生成
从 MATLAB® 代码生成高级综合代码
您可以使用 HDL Coder™ 从 MATLAB 代码生成高级综合 (HLS) 代码。HDL 工作流顾问生成 HLS 代码并使用综合工具综合生成的代码。
App
HDL Coder | Generate HDL and High-Level Synthesis (HLS) code from MATLAB code |
函数
codegen | Generate HDL or High-Level Synthesis (HLS) code from MATLAB code |
coder.config | Create HDL Coder code generation configuration objects |
hdlsetuphlstoolpath | Set up system environment to access High-Level Synthesis (HLS) software (自 R2022a 起) |
对象
coder.HdlConfig | HDL codegen configuration object |
主题
- Workflows in HDL Workflow Advisor
Learn about the HDL Workflow Advisor and various workflows you can choose and platforms you can target.
- HDL Workflow Advisor
Overview of the HDL Workflow Advisor.
- Create and Set Up Your Project
At the MATLAB command line, enter:
- Specify Properties of Entry-Point Function Inputs
Specify input types so that the code generator can determine the types of all variables.
- MATLAB to HLS Code Generation Options
Describes MATLAB to HLS workflow.
- HLS Code Generation Report
High-Level Synthesis (HLS) code generation report.
- Call Custom HLS Code from the Generated HLS Code
Integrate C/C++ code with MATLAB code intended for code generation.
- Array Layouts for HLS Code Generation
Generate HLS code in row-major or column-major array layouts.