The relationship of code coverage metrics on high-level and RTL code

J. Sanguinetti, E. Zhang
{"title":"The relationship of code coverage metrics on high-level and RTL code","authors":"J. Sanguinetti, E. Zhang","doi":"10.1109/HLDVT.2010.5496649","DOIUrl":null,"url":null,"abstract":"Code coverage is a standard tool for obtaining an indication of the quality of testing done for a hardware design. This is generally applied to the RTL code for a design. As hardware design is moving to a higher level, it is desirable to apply such tools to the original design source code. The high-level code is synthesized into RTL, which is the traditional design representation to which code coverage is applied. It would be desirable to know how code coverage at the higher level is correlated to code coverage at the RTL. However, line coverage, which is commonly used for high-level code, is known to have little correlation to coverage metrics obtained from the RTL produced from the high-level code. In this exercise, we obtain coverage metrics from a high-level model, produce RTL from it using a high-level synthesis tool, and compare those results with RTL coverage metrics. The correlation obtained for this example is quite good.","PeriodicalId":200068,"journal":{"name":"2010 IEEE International High Level Design Validation and Test Workshop (HLDVT)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 IEEE International High Level Design Validation and Test Workshop (HLDVT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HLDVT.2010.5496649","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Code coverage is a standard tool for obtaining an indication of the quality of testing done for a hardware design. This is generally applied to the RTL code for a design. As hardware design is moving to a higher level, it is desirable to apply such tools to the original design source code. The high-level code is synthesized into RTL, which is the traditional design representation to which code coverage is applied. It would be desirable to know how code coverage at the higher level is correlated to code coverage at the RTL. However, line coverage, which is commonly used for high-level code, is known to have little correlation to coverage metrics obtained from the RTL produced from the high-level code. In this exercise, we obtain coverage metrics from a high-level model, produce RTL from it using a high-level synthesis tool, and compare those results with RTL coverage metrics. The correlation obtained for this example is quite good.
高级代码和RTL代码上的代码覆盖度量的关系
代码覆盖率是获得硬件设计测试质量指示的标准工具。这通常适用于设计的RTL代码。随着硬件设计向更高的层次发展,将这些工具应用于原始设计源代码是可取的。高级代码被合成到RTL中,RTL是应用代码覆盖的传统设计表示。了解更高级别的代码覆盖率如何与RTL中的代码覆盖率相关联是可取的。然而,通常用于高级代码的行覆盖率,与从高级代码生成的RTL中获得的覆盖率度量几乎没有关联。在本练习中,我们从高级模型中获得覆盖度量,使用高级综合工具从中生成RTL,并将这些结果与RTL覆盖度量进行比较。这个例子得到的相关性非常好。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信