Main Content

Guided Code Generation

Guided code generation using the Configuration Parameters dialog box and Simulink HDL Workflow Advisor

You can generate HDL code for Simulink® models from the UI by using the HDL Code tab in the Simulink toolstrip or by using the Configuration Parameters dialog box. In this dialog box, you can specify various HDL code generation settings including basic folder and language selection to more advanced optimization parameters. To learn about how to generate HDL code form the HDL Code tab, see Generate HDL Code from Simulink Model.

To deploy the generated code to a target device, use the Simulink HDL Workflow Advisor. The Advisor can run end-to-end workflows that check HDL compatibility and deploy the generated code to a target device.

Functions

hdladvisorDisplay HDL Workflow Advisor
hdlsetupSet up model parameters for HDL code generation
hdlsetuptoolpathSet up system environment to access FPGA synthesis software

Topics

Using HDL Workflow Advisor

Workflows in HDL Workflow Advisor

Learn about the HDL Workflow Advisor and various workflows you can choose and platforms you can target.

Getting Started with the HDL Workflow Advisor

Learn the basics of the HDL Workflow Advisor and how to run various tasks.

HDL Workflow Advisor Tasks

Describes HDL Workflow Advisor tasks.

Generate Code and Synthesize on FPGA Using HDL Workflow Advisor

The HDL Workflow Advisor guides you through the stages of generating HDL code for a Simulink subsystem and the FPGA design process, such as:

Using Model Configuration Parameters Dialog Box

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.

HDL Code Generation Options in Configuration Parameters Dialog Box

Access HDL options under various panes in the HDL Code Generation pane of the Model Configuration Parameters dialog box.

Generate HDL Code from Simulink Model Using Configuration Parameters

Use the Configuration Parameters dialog box to generate HDL code for your Simulink model.

Obfuscate Generated HDL Code from Simulink Models

Learn how to obfuscate the generated VHDL® or Verilog® code from your model.