支持的模块与数据类型设置规范
使用各种模块和数据类型的推荐规范及有效 HDL 代码生成的推荐参数设置
HDL 建模规范是一组推荐规范,用于创建 Simulink® 模型、MATLAB Function 模块和 Stateflow® 图以通过 HDL Coder™ 生成代码。支持的模块与数据类型规范包括使用 HDL Coder 模块库中各种模块及关于支持的数据类型的规范。
主题
规范列表与严重级别
- Guidelines for Supported Blocks and Data Types - 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.
HDL Coder 库中模块的规范(规范 ID 2.1 - 2.7)
- Design Considerations for RAM Blocks and Blocks in HDL Operations Library
How to use blocks in the HDL RAMs and HDL Operations libraries. - Usage of Blocks in Logic and Bit Operations Library
Different blocks that perform logical and bitwise operations and how to use them. - Generate FPGA Block RAM from Lookup Tables
How to map lookup table blocks to Block RAMs. - Guidelines for Using Selector Blocks to Extract Input Elements from Vector or Matrix Signals
Guidelines for using Selector block in HDL implementation. - Guidelines for Using Assignment Blocks to Write Elements in Vectors, Matrices, and 3-D Arrays
Guideline to use assignment block to write specified elements in vector, matrix or 3-D arrays. - Recommended Block Parameter Settings of Multiport Switch Block for Numeric and Enumerated Types
Use recommended block settings for Multiport Switch with numeric and enumerated types for HDL code generation. - Usage of Different Subsystem Types
Different types of subsystems and guidelines for using them. - Usage of Rate Change and Constant Blocks
How to effectively use blocks that perform rate transitions and constant blocks. - Guidelines for Using Delays and Goto and From Blocks for HDL Code Generation
Recommended usage of Delay blocks that are inferred as registers. - Modeling Efficient Multiplication and Division Operations for FPGA Targeting
Model high-speed division operations and multiplier and adder blocks for DSP mapping.
MATLAB Function 模块与 Stateflow 图规范(规范 ID 2.8 - 2.9)
- Using Persistent Variables and fi Objects Inside MATLAB Function Blocks for HDL Code Generation
Recommended usage of MATLAB Function blocks that contain persistent variables inside the MATLAB® code. - Guidelines for HDL Code Generation Using Stateflow Charts
Recommended usage of Stateflow charts for HDL code generation.
数据类型规范(规范 ID 2.10)
- Simulink Data Type Considerations
High-level recommendations for data type settings when modeling in Simulink. - Guidelines for Using Rounding and Saturation Settings for Fixed-Point Data Types
Recommended settings for using rounding modes and saturate on integer overflow for fixed-point data types.
Square Root 模块规范(规范 ID 2.11)
- Guideline for Using Sqrt Block for HDL Code Generation
Modeling efficient square root block for FPGA targeting.
基于帧和多通道处理的规范(规范 ID 2.12)
- Recommended Block Parameter Settings for Frame-Based Processing and Multi-Channel Processing
Recommended settings for configuring multi-channel processing and frame-based processing with vector inputs.