x: coverpoint a
{ bins hi = {1};
bins low = {0};
}
y: coverpoint b
{ bins hi = {1};
bins low = {0};
}
z: cross x, y
{ bins valid = binsof(x.hi) && binsof(y.hi); //other that this bin, all other combination should be illegal. So,
illegal_bins invalid = !binsof(x.hi) || !binsof(y.hi);
}
In the coverage report for cross x, y, it said, 1 user defined bin created and 3 auto-bins created.and no illegal bins were created.
So what does it mean?
- Does cross create all possible bins?
- Does cross don’t support illegal_bins?
- Or is it not supposed to happen this way?