报告和脚本
可追溯性、优化和资源报告;标准合规性、综合脚本
您可以生成关于生成代码的报告或创建编译代码的脚本。创建代码生成报告以估计生成 HDL 代码的时序和资源使用量,查看 HDL Coder™ 如何将优化应用于生成的代码,并在代码和 Simulink® 之间进行追溯。生成编码标准报告以识别在生成代码中违反编码标准的情况。生成脚本以编译、仿真和综合生成的代码以用于电子设计自动化 (EDA) 工具。
主题
报告
- Create and Use Code Generation Reports
Describes how to generate a report including information on the generated code and suggestions for optimization. You can view the report in an HTML browser. The report supports bidirectional tracing between the generated code and the source blocks in your model. - Generate HDL Coding Standard Report from Simulink
Generate an HDL coding standard report from your Simulink model by using the Configuration Parameters dialog box or at the command line. - Navigate Between Simulink Model and HDL Code by Using Traceability
Even a relatively small model can generate hundreds of lines of HDL code. - HDL Coding Standard Report
What an HDL coding standard report is, the rule summary, and how you can fix warnings or errors related to rule violations. - Generate Web View of Model in Code Generation Report
Include a Web view of the model to share your model and generated code outside of the MATLAB environment. - Trace Code Using the Mapping File
How to use a mapping file to trace generated HDL entities back to the corresponding systems in your model. - Find Feedback Loops
Highlight feedback loops that are inhibiting optimizations. - Critical Path Estimation Without Running Synthesis
Find the estimated critical paths in your design without using third-party synthesis tools.
脚本
- Properties for Controlling Script Generation
Enable or disable script generation and customize the names and content of generated script files by using themakehdl
ormakehdltb
functions. - Generate Scripts for Compilation, Simulation, and Synthesis
Command line properties and GUI options for customizing script files. - Configure Compilation, Simulation, Synthesis, and Lint Scripts
Configure the script file generation by using the EDA Tool Scripts pane. - Generate HDL Lint Tool Script
Generate an HDL lint tool script from Simulink to check the generated code with third-party lint tools. - Generate RTL Lint Check Report Using HDL Workflow Advisor and Synopsys SpyGlass Lint Tool
Generate RTL lint check report using HDL Workflow Advisor and SpyGlass Lint tool. - Configure Synthesis Project Using Tcl Script
Add Tcl script that configures your synthesis project.