_TOP_MENU

Feb 24, 2014

Coverage Analysis



Coverage Analysis  

First question,

why coverage analysis is important for a design ?

What are the inputs in coverage analysis and what outputs will get after doing coverage analysis ?


Answers are , Coverage analysis is a important part in Design and Verification , this give us the visibility inside design that how much code is verified and how much is left.

Coverage are two types.
1. Functional Coverage
2. Code Coverage

Functional Coverage 

Functional coverage is coverage which tell you how much functionality is covered in  ( design or verification ?? )  .....  it is design , verification is done to cover all functionality of design. For analysis, if verification environment is random constraint based testing then functional coverage should be measured by using cover points.
If verification environment is direct testcase based testing , then one can make XLS and put the testcase name , but this will be more documentation purpose and will not tell you actual functional coverage.


Code Coverage 

Code Coverage will tell you that how much RTL is verified and how much is left .. This will also tell you some corner cases which didn;t cover in verification.

Code Coverage is summation of different type of coverage , few important are -
statement coverage
expression coverage
FSM coverage
branch coverage
toggle coverage
etc ..

All are important and should be close to 100% but statement and FSM coverage should be 100%.


No comments:

Post a Comment