Main Content
Programmatic Workflow
Command-line functions for code generation and configuration and using HDL workflow
script for end-to-end workflows
At the command line, you can generate HDL code for Simulink® models by using the makehdl
function. If you want to deploy the
generated code to a target FPGA device, you can use the HDL Workflow Advisor. You can export
the workflow settings to a script and then run the workflow at the command line. To learn
more, see Run HDL Workflow with a Script.
Classes
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 (Since R2024a) |
Functions
Topics
Using Command-Line Interface
- 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.
Using HDL Workflow Script
- 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 Block Properties
- 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.