使用工作流顾问生成代码
使用工作流顾问从 MATLAB® 代码生成 HDL 代码
您可使用 HDL Coder 启动工作流顾问,生成 HDL 代码并在目标设备上综合您的 MATLAB 算法。有关示例,请参阅从 MATLAB 进行基本 HDL 代码生成和 FPGA 综合。HDL 工作流顾问在 Simulink® Online™ 中不可用。
App
| HDL Coder | 从 MATLAB 代码生成 HDL 和高级综合 (HLS) 代码 |
函数
codegen | 从 MATLAB 代码生成 HDL 或高级综合 (HLS) 代码 |
coder.config | 创建 HDL Coder 代码生成配置对象 |
hdlcoder.CodingStandard | Create HDL coding standard customization object |
hdlsetuptoolpath | 设置系统环境以访问 FPGA 综合软件 |
对象
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:
- Generate Instantiable Code for Functions
You can use the Generate instantiable code for functions option to generate a VHDL®
entity, or Verilog® or SystemVerilogmodulefor each function. - Edit Configuration Parameters for HDL Coder
Edit HDL Coder configuration object parameters interactively.



