Hi
How to make coverage 100% by minimal regressions either by increasing seed value or any other method
Hi
How to make coverage 100% by minimal regressions either by increasing seed value or any other method
In reply to Swetha_ch:
Hi
How to make coverage 100% by minimal regressions either by increasing seed value or any other method
or there is any possibility to change stimulus
You can examine the current coverage in your simulation 9using the get_coverage method) and when it reaches 100% then just issue $finish
e.g.
if (seq_coverage.seq_2_seq.get_coverage()==100.0)
begin
$write("Sequence coverage = %6.2f, ", seq_coverage.seq_2_seq.get_coverage());
$display("Total coverage = %6.2f", seq_coverage.get_coverage());
$finish();
end
In reply to Swetha_ch:
Achieving 100% coverage is the “holy grail” of verification. Achieving 100% coverage is not only hard, but confidence that you achieved 100% coverage means you are done is an even harder challenge.
Running the same tests multiple times with different seed values is the simplest approach that might increase your coverage. How effective that is depends on your design and the way you have architected the testbench. You need to look at the range random values produced your constraint to make sure they are as random as you expected them to be.
There is a lot of research going into machine-learning techniques to improve coverage by looking at which random variables have the most impact on coverage results, but there is nothing I would call production worthy yet. I would say we are still in the human learning stage of machine learning—trying different algorithms and seeing which ones lead to better results.