jayh
Newbie level 6
[UVM] how to set a "default coverpoint"
UVM learner
it is easy to set a "default bins" as below.
A : coverpoint data[3:0]
{
bins a = {0};
bins b = default; //catch all values that do not lie within any of the defined bins.
}
but how to implement a "default coverpoint" in following example?
A1 : coverpoint data[3:0]
{
bins a = {0};
bins b = {3};
bins c = {6};
}
A2 : coverpoint data[3:0]
{
bins d = {11};
bins e = {13};
}
A3 : coverpoint data[3:0]
{
}
problem: how to implement coverpoint A3 as a "default coverpoint" catching all values that do not lie within A1 and A2 ?
UVM learner
it is easy to set a "default bins" as below.
A : coverpoint data[3:0]
{
bins a = {0};
bins b = default; //catch all values that do not lie within any of the defined bins.
}
but how to implement a "default coverpoint" in following example?
A1 : coverpoint data[3:0]
{
bins a = {0};
bins b = {3};
bins c = {6};
}
A2 : coverpoint data[3:0]
{
bins d = {11};
bins e = {13};
}
A3 : coverpoint data[3:0]
{
}
problem: how to implement coverpoint A3 as a "default coverpoint" catching all values that do not lie within A1 and A2 ?