如何找出擊中某個Cover bins的Testcase
前言:在數字電路驗證中,我們通常是通過coverage分析來評價驗證作業是否完備(相對完備),在驗證作業進行的程序中,我們也需要在Wavefrom上面確認某個coverpoint或者cover property是否真的擊中了,那么我們怎么通過已經擊中的cover bins來找到對應的Wavefrom呢?本文將介紹一種方法,
一、需要在merge vdb的時候添加Option
- 在使用urg merge vdb的時候,需要添加如下Option
-show tests
- 例如:
urg -full64 -dbname digrf_dfe_dsb_top.vdb -show tests -dir sim_a.vdb sim_b.vdb &
- 關于coverage merge的command,請參加博文:[VCS]Merge Coverage或者說VDB Merge
二、需要通過urgReport目錄下的dashboard.html檔案來找Testcase
2.1 如何打開dashboard.html檔案?
- 可以使用如下命令打開改檔案
firefox dashboard.html &
2.2 如何找到擊中某個cover bins的Testcase?
- 進入groups,找到coverage實體,點擊進入
- 在Bins下面尋找目標,看這個被擊中的bins對應的TEST是多少,例如:T1、T120
- 進入tests,在tests下面會有tests.html | tests1.html | tests2.html | tests3.html | .............................................
- 分別進入上述子目錄,然后按Ctrl+F,搜索T1、T120等TEST編號
- 然后就可以確定打中該cover bins的Testcase
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/242852.html
標籤:其他
上一篇:重試任務(二)
