Model Design and Compatibility Guidelines
The HDL modeling guidelines are a set of recommended guidelines for creating Simulink® models, MATLAB Function blocks, and Stateflow® charts for code generation with HDL Coder™. The model design and compatibility guidelines consist of guidelines for basic block usage, clock and reset signals, buses and vectors, and subsystem and hierarchical designing.
List of Guidelines and Severity Levels
List of supported blocks and data type guidelines in ascending order of Guideline ID.
Various severity levels associated with the HDL modeling guidelines and their description.
Basic Model Design and Compatibility Guidelines (Guideline ID 1.1)
High-level guidelines to create your HDL algorithm in Simulink model.
Set up and configure your Simulink model for HDL code generation compatibility.
Learn how to model using Simulink blocks, MATLAB Function blocks, and Stateflow blocks.
Learn why you must terminate block outputs and how to comment out blocks for code generation.
Learn how to adjust block sizes, annotate block parameters, and find and change parameters.
DUT Subsystem and Hierarchical Modeling Guidelines (Guideline ID 1.2)
Considerations for using the DUT Subsystem for HDL code and test bench generation.
Design considerations when building your Simulink model hierarchically for HDL code generation.
Guidelines for Buses and Vectors (Guideline ID 1.3)
Learn how to efficiently use vectors and matrix data types in HDL Coder.
Learn how to improve model readability by using bus signals and generate HDL code.