raghavathej
Junior Member level 3
- Joined
- Jun 2, 2013
- Messages
- 31
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,288
- Location
- Bangalore
- Activity points
- 1,537
Hi,
Is it possible to achieve 100% code coverage for complex design ?
(code is about 1000 lines with many always and if-else statements)
Is it necessary to achieve 100%?
Reaching coverage results from 0 to 80% may take few hours.
But it takes days to reach from 80 to 85%.
Also, if i don't code "else" part of if-else statement, then unless i give "else"
i cannot cover full statement, but i don't need "else" statement at all.
First of all why should i be modifying my RTL code for code coverage, instead
i should be giving more stimulus.But i am forced to include "else" statement or
my coverage is not increasing and many such problems .
What do i do?. How do i cover false part of "else". What different should i do ?
Thanks A Lot,
Awaiting your responses,
Raghava
Is it possible to achieve 100% code coverage for complex design ?
(code is about 1000 lines with many always and if-else statements)
Is it necessary to achieve 100%?
Reaching coverage results from 0 to 80% may take few hours.
But it takes days to reach from 80 to 85%.
Also, if i don't code "else" part of if-else statement, then unless i give "else"
i cannot cover full statement, but i don't need "else" statement at all.
First of all why should i be modifying my RTL code for code coverage, instead
i should be giving more stimulus.But i am forced to include "else" statement or
my coverage is not increasing and many such problems .
What do i do?. How do i cover false part of "else". What different should i do ?
Thanks A Lot,
Awaiting your responses,
Raghava