I have two coverpoints one is register of 72 bits and another is some variable. Like
bit [71:0] register_a;
int variable;
Covergroup cross_name ;
register_a : coverpoint { bins register_a_bin[18]={};}
variable : coverpoint {bins variable={4};}
my requirement is, for register_a i should create 18 bins each bin is such that.
if(0<=register_a[3:0]<=9) first bin should be created like this, similarly remaining 17 bins also
if(0<=register_a[7:4]<=9) second bin.
After creating 18 bins with above condition, I need to cross that 18 bins with variable.
Can you suggest me how can i create those 18 bins with that condition for register_a?