Main Content

Code Generation

HDL code generation, code configuration, test bench generation

You can generate HDL code for your Simulink® model at the toolstrip, by using the Configuration Parameters dialog box, or at the command line. If you want to synthesize the generated code on a target device, use the HDL Workflow Advisor. You can also apply coding styles and make the code conform to industry coding standards.


  • Guided Code Generation
    Guided code generation using the Configuration Parameters dialog box and Simulink HDL Workflow Advisor
  • Programmatic Workflow
    Command-line functions for code generation and configuration and using HDL workflow script for end-to-end workflows
  • Coding Standards
    Coding standard report, lint tool scripts, and list of coding standard rules