模型设计与兼容性规范
设计 Simulink 模型、MATLAB Function 模块和 Stateflow 图的推荐规范,以确保兼容性和有效的 HDL 代码生成
HDL 建模规范是一组推荐规范,用于创建 Simulink® 模型、MATLAB Function 模块和 Stateflow® 图以通过 HDL Coder™ 生成代码。模型设计与兼容性规范包括基本模块使用、时钟与重置信号、总线与向量及子系统与层次化设计的规范。
主题
规范与严重性级别列表
- Model Design and Compatibility Guidelines - By Numbered List
List of supported blocks and data type guidelines in ascending order of Guideline ID. - HDL Modeling Guidelines Severity Levels
Various severity levels associated with the HDL modeling guidelines and their description.
基本模型设计与兼容性规范(规范 ID 1.1)
- Basic Guidelines for Modeling HDL Algorithm in Simulink
High-level guidelines to create your HDL algorithm in Simulink model. - Guidelines for Model Setup and Checking Model Compatibility
Set up and configure your Simulink model for HDL code generation compatibility. - Modeling with Simulink, Stateflow, and MATLAB Function Blocks
Learn how to model using Simulink blocks, MATLAB Function blocks, and Stateflow blocks. - Terminate Unconnected Block Outputs and Usage of Commenting Blocks
Learn why you must terminate block outputs and how to comment out blocks for code generation. - Identify and Programmatically Change and Display HDL Block Parameters
Learn how to adjust block sizes, annotate block parameters, and find and change parameters.
DUT 子系统与分层建模规范(规范 ID 1.2)
- DUT Subsystem Guidelines
Considerations for using the DUT Subsystem for HDL code and test bench generation. - Hierarchical Modeling Guidelines
Design considerations when building your Simulink model hierarchically for HDL code generation.
总线与向量规范(规范 ID 1.3)
- Design Considerations for Matrices and Vectors
Learn how to efficiently use vectors and matrix data types in HDL Coder. - Use Buses to Improve Readability of Model and Generate HDL Code
Learn how to improve model readability by using bus signals and generate HDL code.
时钟束与原生浮点规范(规范 ID 1.4 - 1.5)
- Guidelines for Clock and Reset Signals
Clock, reset, and clock enable signal considerations. - Modeling with Native Floating Point
Understand best practices for using native floating-point support in HDL Coder.