For the transition cover bin below if the var_1 changes from 0 to 128, will it satisfy the cover bin or should var_1 transition between all the cross combinations between the 2 ranges for it to get covered?
bit [9:0] var_1;
bins var_1 = ([0:127]=>[128:255]);
Hi,
For the transition cover bin below if the var_1 changes from 0 to 128, will it satisfy the cover bin or should var_1 transition between all the cross combinations between the 2 ranges for it to get covered?
bit [9:0] var_1;
bins var_1 = ([0:127]=>[128:255]);
I’m not sure if I understand you question correctly but a simple example can show how bin arrays and scalar bins work
So as you can see if you use bins x = ([0:127]=>[128:255]) any transition in this range will mark the bin as hit 100% coverage, but using bins x[] = ([0:127]=>[128:255]) this will create an array with all the transitions for 0=>128,…,0=>255,… 127=>128,…,127=>255 thus the value shown for cg2 coverage.
You can refer to the IEEE SV LRM section 19.5.2 Specifying bins for transitions
for more details.