NC

NC

Cadence中的Incisive Comprehensive Coverage(ICC) solusion提供在仿真中的覆盖率分析。

ICC中的覆盖率类型有两大类:

1)Code Coverage:主要检查代码的执行量,其中包括的小类有:Block Coverage(Branch Coverage),Statement Coverage(Expression Coverage),Toggle Coverage。

2)Functional Coverage:主要检查由PSL,SystemVerilog assertion,covergroup声明的覆盖点。也包括两小类:基于PSL,SVA等声明性语句的控制导向的功能覆盖。基于SV Covergroup的数据导向的功能覆盖。

为了加入覆盖率的分析功能。
1)ncelab中,加入以下define。
ncelab [-coverage <coverage_types> | -covfile<coverage_configuration_file>] [-covdut <DUT_module>] [other_elaboration_options]

2)在ncsim中,加入如下define。ncsim [-covoverwrite] [-covworkdir ] [-covdesign ] [-covtest ]
-covoverwrite使能新的结果覆盖输出文件和文件夹。
-covworkdir指定workdir,默认是cov_work/design/test。剩余两个指令类似。

如果使用irun来运行,则将上述命令加在一起即可。

irun [-coverage <coverage_types> | -covfile<coverage_configuration_file>] [-covdut <DUT_module>][-covoverwrite] [-covworkdir <workdir>] [-covdesign <design>] [-covtest <test>]

ICC的图形界面叫做ICC Analyzer,通过命令iccr -gui来打开。通过命令iccr -gui -test来加载测试用例或通过图形界面的open。GUI Mode

还有一种写command file, iccr <command_file>来执行。

在合并不同的test的coverage时,ICC提供两种模式:

1)Standard Merge:ICC默认的Merge behavior。首先copy the primary test model(.ucm),将secondary test中与primary test相同的覆盖项合并,如相同的Covergroup,SVA,FSM,expression等。

2)Union Merge:通过set_merge -union来设置。首先copy the primary test model(.ucm),将secondary test中所有的覆盖项都加入primary test。

merge [coverages] {<test_list> | -testfile <filename>} -output <output_test> [-message][coverages] ::= [-code] [-toggle] [-fsm] [-functional]<test_list> ::=<primary_test> {<one_or_more_secondary_tests>}

Eg:merge test1 test2 test3 -output all

应用命令report_html命令来产生html格式的覆盖率报告。

cadence不再使用ICC工具,改用IMC进行coverage分析。

发布者:admin,转转请注明出处:http://www.yc00.com/news/1700041346a965245.html

相关推荐

  • NC

    2023-11-15
    190
  • windows下安装nc

    nc官网 -》https:eternallyboredmiscnetcat 下载后解压&#xff0c;将如下框中的nc.exe复制到C:WindowsSystem32下面就可以了 在任何一个地方打开cmd&#

    5月前
    20
  • windows系统下载配置netcat工具(nc命令)

    一、netcat netcat是个计算机网络公用程序&#xff0c;用于对网络连线TCP或者UDP进行读写。首次被开发者Hobbit发布于1995年10月28日&#xff0c;netcat原始版本是一个类Unix程序&am

    2天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信