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.
hdlcoder.WorkflowConfig | Configure HDL code generation and deployment workflows |
Set HDL Code Generation Options
Access HDL options in the Configuration Parameters dialog box and Model Explorer; Simulink Toolstrip, HDL Code context menu, and pointers to related information.
Set and View HDL Model and Block Parameters
How to view or set the implementation parameters for a block.
Add or Remove the HDL Configuration Component
Adding an HDL configuration component to make models more portable
Generate HDL Code from Simulink Model from Command Line
Use the command-line function makehdl to generate HDL code for your Simulink model.
Getting Started with the HDL Workflow Command-Line Interface
This example shows how to use the HDL Workflow Advisor to run HDL workflows from the command-line and the 'Export to script' functionality.
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 code generation parameters supported for specific block implementations.
HDL Block Properties: Native Floating Point
HDL code generation parameters supported for specific block implementations in Native Floating Point.