Lets suppose for a design if i got functional coverage as 100% and code coverage also as 100% then can we say that the verification for the given design get completed ?
please explain in detail.
In reply to kumar-vin:
Typical interview question.
Code coverage is necessary, but not sufficient. Less than 100% code coverage give you a 100% guarantee of the portion of code that was never tested.
100% functional coverage tells you 100% of what you tested, passed. It does not tell you what percentage of the functionality was actually tested.
In reply to dave_59:
Thank you for your support.
In reply to dave_59:
In reply to kumar-vin:
Typical interview question.
Code coverage is necessary, but not sufficient. Less than 100% code coverage give you a 100% guarantee of the portion of code that was never tested.
100% functional coverage tells you 100% of what you tested, passed. It does not tell you what percentage of the functionality was actually tested.
So even if functional coverage 100% we can not say that verification is complete. Please correct if i am not wrong.
In reply to kumar-vin:
yeah,you can say that. if your functional coverage is also 100% but you can not say it is verified. Sometimes some of the corner cases we are not verified or didn’t wrote a test case for that, in that condition some functionality remains untested.
About Functional coverage,
It depends upon how well you define the items in your functional verification list.