编程工作流
用于代码生成和配置的命令行函数以及使用 HDL 工作流脚本执行端到端工作流
在命令行中,您可以使用 makehdl
函数为 Simulink® 模型生成 HDL 代码。如果要将生成的代码部署到目标 FPGA 设备,可以使用 HDL 工作流顾问。您可以将工作流设置导出到脚本,然后在命令行中运行工作流。要了解详细信息,请参阅Run HDL Workflow with a Script。
类
hdlcoder.WorkflowConfig | Configure HDL code generation and deployment workflows |
hdlcoder.TimingGenerator | Base class to implement custom tool and device support for critical path estimation reporting (自 R2024a 起) |
函数
主题
使用命令行界面
- Set HDL Code Generation Options
Access HDL options in the Configuration Parameters dialog box, Simulink Toolstrip, or HDL Block Properties window. - Set and View HDL Model and Block Parameters
View or set the implementation parameters for a block. - Generate HDL Code from Simulink Model from Command Line
Use the command-line function makehdl to generate HDL code for your Simulink model.
使用 HDL 工作流脚本
- Get Started with HDL Workflow Command-Line Interface
Use the HDL Workflow Advisor to run HDL workflows from the command line and the Export to Script option. - Run HDL Workflow with a Script
Export, import, or configure an HDL Workflow CLI command script. - Synthesis Objective to Tcl Command Mapping
Tool-specific Tcl commands that correspond to the HDL Workflow synthesis objectives.
HDL 模块属性
- HDL Block Properties: General
HDL code generation parameters for specific block implementations. - HDL Block Properties: Native Floating Point
HDL code generation parameters for native floating-point block implementations.