相关阅读
Design Compilerhttps://blog.csdn.net/weixin_45791458/category_12738116.html?spm=1001.2014.3001.5482
在芯片设计流程中,为达成性能(Performance)、功耗(Power)与面积(Area)的综合最优,工程师通常需要配置大量应用变量。随着设计规模不断扩大,传统的脚本配置方式变得复杂、繁琐且难以维护。
为解决这一问题,拓扑模式的Design Compiler NXT在2020版本引入了set_qor_strategy命令,这是Synopsys从客户的项目中学习到的最佳工具设置,为设计建立一个良好的开箱即用的结果质量(QoR)起点,以达到用户指定的目标指标。
set_qor_strategy命令的BNF范式(有关BNF范式,可以参考以往文章)为:
set_qor_strategy -metric {timing total_power} -stage {synthesis} [-mode {balanced early_design}] [-output file_name | -diff_only | -report_only] [-reduced_effort]该命令的-metric选项可指定为timing,目的是获得高质量的WNS和TNS综合结果,并可在布线后保持;可指定为total_power,目的是在时序容易满足的设计中实现总功耗优化。综合工具将根据-metric选项设置对应的应用变量,并设置_metric_target_synthesis变量,该变量会通过write_icc2_files命令传递给IC Compiler II,从而允许用户在IC Compiler II中查询。
-mode选项可用于指定目标模式,默认为balanced,在Early Data Flow中需要将其设置为early_design。
-output选项可以将应用变量设置以命令形式写入文件,并不会真正设置变量;-diff_only选项将报告尚未设置的变量及其当前设置和目标设置,并不会真正设置变量;-report_only选项则是报告所有相关变量及其默认设置、当前设置和目标设置,并不会真正设置变量,如下所示。
dcnxt_shell-topo> set_qor_strategy -metric timing -stage synthesis -report_only Metric(s) : timing +----------------------------------------------------+---------------+------------+------------+------------+ | Option Name | Metric Group | Tool | Current | Target | | | | Default | Setting | Setting | +----------------------------------------------------+---------------+------------+------------+------------+ | compile_timing_high_effort | timing | false | false | true | | placer_tns_driven | timing | true | true | true | | compile_timing_high_effort_tns | timing | false | false | true | | compile_enhanced_tns_optimization_in_incremental | timing | default | default | true | | compile_enable_total_power_optimization | timing | false | false | false | | compile_optimize_netlist_area_in_incremental | timing | default | default | true | +----------------------------------------------------+---------------+------------+------------+------------+建议在综合时使用compile_ultra -spg命令以及IC Compiler II Link以获得最好的效果(如果工具处于Milkyway模式且使用了set_icc2_options命令或工具处于NDM模式,则会设置更多变量)。有关IC Compiler II Link的更多内容可见下面的博客。
Design Compiler:使用IC Compiler II Linkhttps://blog.csdn.net/weixin_45791458/article/details/150391203?spm=1001.2014.3001.5501