標題: 以硬體規格語言描述之電路作功能涵蓋分析
On Functional Coverage Analysis for Circuit Description in HDL
作者: 張振益
Chen-Yi Chang
周景揚
Jing-Yang Jou
電子研究所
關鍵字: 涵蓋率;驗證;訊號變化紀錄檔案;硬體規格描述語言;coverage;verification;dumpfile;VCD;HDL
公開日期: 1998
摘要: 在模擬以硬體規格描述語言(HDL)寫成的設計時,量測其驗證涵蓋率能提供一個模擬完整性的量化分析。同時,藉由觀察程式碼在模擬中執行的情形,也能讓作驗證的工程師找出哪些部分的程式碼尚未被測試,因而能集中心思在這些地方。在這篇論文中,我們提出一種新的量測驗證涵蓋率的方法。這方法是架構在訊號變化的紀錄檔案(VCD)上,而這些檔案在模擬執行時只需增加些許的計算負荷即可產生。對於各種不同的涵蓋率分析,我們都能很容易地由對同一份記錄檔所做的統計資料中推導出來。因而這方法能夠很快地在不同的涵蓋率分析報告之間轉換,而不必一再地重新執行冗長的模擬。如果使用者只需要部分的涵蓋率分析報告,我們也只需從記錄檔中取部分資料即可,如此便可以減低分析過程的複雜性。更重要的是,若是使用這個方法,使用者不需要額外一套昂貴的模擬器許可(Simulator License),就可以做涵蓋率分析。最後,從幾個實際的電路設計所做的實驗中,我們確實得到了不錯的結果。
While simulating the HDL (hardware description language) designs, the verification coverage measurement can provide a quantitative analysis of the simulation completeness. By monitoring the execution of the HDL code during simulation, the verification engineers can also identify the part of code which has not been tested so that they can focus their efforts on those areas. In this thesis, we propose a novel approach for verification coverage measurement based on the value change dump (VCD) files produced by the simulator with little computation overhead. For varieties of coverage metrics, the coverage report can be easily generated from the same execution statistics measured from the dumpfiles. Therefore, it provides the capability to switch between different coverage reports very fast without re-running the long simulation again and again. If only partial coverage report is required, we can retrieve only partial data from the dumpfile so that the complexity of the process can be reduced. More importantly, the users do not need an extra expensive simulator license to conduct the coverage analysis. Conducting some experiments on real examples, it shows very promising results.
URI: http://140.113.39.130/cdrfb3/record/nctu/#NT870428015
http://hdl.handle.net/11536/64296
Appears in Collections:Thesis