Hi ,
I was covering the following transitions and value range via wildcard bins ::
bit [3:0] data ;
covergroup DATA ;
wild: coverpoint ( data )
{
wildcard bins trans[] = ( [ 4'b000? : 4'b001? ] => [ 4'b110? : 4'b111? ] ) ; // Legal ?
wildcard bins val[] = { [ 4'b000? : 4'b001? ] } ; // Legal ?
}
endgroup
My expectation was I would observe 4 dynamic bins for val and 16 dynamic bins for trans ..
However I observe Error with the above syntax as ? is being treated as 4-state value ( although data is bit type ).
I know LRM restricts usage of X / Z as range but since I have 2-state type , what does the LRM say about above scenario ?