Hi, I am trying to cover a scenario using transition bins(using 2 variables) and wanted to know if the code written below works
With the change in the value of either a or b, will the bins get a hit?
bit[1:0] a;
int b;
covergroup check@(a or b)
option.per_instance =1;
cover_point_a : coverpoint a {
bins low = ((2'b00 && (b==32'd10)) => (2'b01 && (b==32'd20)));
bins medium = ((2'b00 && (b==32'd10)) => (2'b10 && (b==32'd30)));
bins high = ((2'b00 && (b==32'd10)) => (2'b11 && (b==32'd40)));
}