定点转换基础知识与类型设定
浮点到定点转换简介,高级综合代码生成的定点运行时函数支持
了解定点转换基础知识、自动定点转换过程、高级综合代码生成的定点函数支持及数据类型设定。
函数
codegen | 从 MATLAB 代码生成 HDL 或高级综合 (HLS) 代码 |
coder.config | 创建 HDL Coder 代码生成配置对象 |
coder.approximation | Create function replacement configuration object |
类
coder.FixPtConfig | Floating-point to fixed-point conversion configuration object |
主题
- Automated Fixed-Point Conversion
Convert floating-point MATLAB® code to fixed-point code.
- Specify Type Proposal Options
- Specify Properties of Entry-Point Function Inputs
Specify input types so that the code generator can determine the types of all variables.
- Data Type Issues in Generated Code
Highlight potential data type issues in report.
- 支持 HDL 和 HLS 代码生成的函数
支持 HDL 和高级综合 (HLS) 代码生成的内置 MATLAB 和工具箱函数。
- Custom Plot Functions
Use a custom plotting function to visualize the differences between the floating-point and fixed-point results.




