Hi all ,
I am trying to write bins for a scenario where signal A is high on one posedge of CLK and within 5 Clocks signal b should be high .
logic a , b ;
covergroup cg @ ( posedge clk ) ;
bins a_high_to_b_high = ( 2'b10 => ?? ) ; // Need help here
One possibility could be goto repetition Operator [ -> ]
bins bc = ( 12 => 3 [-> 1 ] ) ;
Indicates 12 => ... => 3 . I would prefer the ... be between 1 and 4 for my requirement .
Any suggestions ?