Supported Blocks and Data Types
R2026bThe HDL Coder block library contains many basic blocks that you can add to your Simulink® modeling environment and develop your HDL algorithm. These blocks include input sources, output sinks, and blocks that perform basic to complex math and trigonometric operations.
The HDL Coder block library contains many basic blocks that you can add to your Simulink modeling environment and develop your HDL algorithm. These blocks include input sources, output sinks, and blocks that perform basic to complex math and trigonometric operations.
To filter the Simulink Library Browser to show only HDL-supported blocks, enter hdllib. The blocks listed in this section include those blocks that are only available in the HDL Coder library. Blocks such as Add and Product are available in the Simulink library in the Library Browser.
For a filtered list of Simulink blocks supported for HDL code generation, see Simulink Block List (HDL Code Generation).
Functions
hdllib | Display blocks that are compatible with HDL code generation |
Blocks
Topics
Block Support
- Display Blocks for HDL Code Generation in Library Browser
Find blocks that support HDL code generation. - View HDL-Supported Blocks and HDL-Specific Block Documentation
HDL architecture descriptions for supported blocks and list of supported blocks.
Data Type Support
- Supported Data Types and Scope
MATLAB® data type and scope support for HDL code generation. - Signal and Data Type Support
HDL code generation support for signal types and data types.
Basic Modeling
- Create HDL-Compatible Simulink Model
Create a model and check compatibility for HDL code generation. - Use Simulink Templates for HDL Code Generation
Use Simulink model templates for HDL code generation to create efficient hardware designs. - Implement Control Signal-Based Mathematical Functions by Using HDL Coder
HDL Coder™ providesHDLMathLibblocks that have control signal-based fixed-point mathematical functions.


















