主要内容

编码标准与报告

编码标准报告、lint 工具脚本及编码标准规则列表

行业编码标准建议使用特定 HDL 编码规范。HDL Coder™ 生成遵循行业标准规则的代码,并生成报告以显示生成的 HDL 代码符合行业编码标准的程度。

HDL Coder 检查 MATLAB® 算法或 Simulink® 模型是否符合 HDL 编码标准规则。要修复与这些规则相关的错误或警告,请更新您的模型设计。您可自定义部分编码标准规则。

App

HDL Coder Generate HDL and High-Level Synthesis (HLS) code from MATLAB code

函数

hdlcoder.CodingStandardCreate HDL coding standard customization object

属性

主题

报告

HDL 编码标准规则参考

  • Basic Coding Practices
    A list of rules related to basic coding practices, the rule description, and how you can fix warnings or errors resulting from rule violations.
  • RTL Description Rules and Checks
    A list of rules related to RTL description techniques, the rule description, and how you can fix warnings or errors resulting from rule violations.
  • RTL Design Methodology Guidelines
    A list of rules related to RTL design methodology, the rule description, and how you can fix warnings or errors resulting from rule violations.

编码标准注意事项