Hauptinhalt

Code Generation from Simulink Models

R2026b
Generate HDL code from Simulink® models

Implement your Simulink model or subsystem in hardware by generating HDL code and deploying that code on an Application-Specific Integrated Circuit (ASIC) or Field Programmable Gate Array (FPGA). Design the model with blocks that are compatible with HDL code generation. If the model uses floating-point data, use Fixed-Point Designer™ to convert it to a fixed-point model. Apply optimizations to generate more hardware-efficient HDL code. After you generate HDL code and verify that it matches your original algorithm, deploy the HDL code on your target hardware.

Functions

expand all

makehdlGenerate HDL RTL code from model, subsystem, or model reference
makehdltbGenerate HDL test bench from model or subsystem
hdlsetupSet model configuration parameters for HDL code generation
hdlsetuptoolpathSet up system environment to access FPGA synthesis software

Topics

Simulink to HDL Code Generation

Basic Code Generation Practices

Featured Examples