Hi I am trying to check the transition of a 32 bit variable to check the transiition of each bit from 0 to 1 and then back to 0. Here it will transition from 0 to 1 and may remain 1 for more than 1 clk cycle then transition back to 0. I have written a transition coverage bin as shown below.
bins trans_bit_00 = (32'b0=>32'b0000_0000_0000_0000_0000_0000_0000_0001[=1]=>32'b0) ;
bins trans_bit_01 = (32'b0=>32'b0000_0000_0000_0000_0000_0000_0000_0010[=1]=>32'b0) ;
bins trans_bit_02 = (32'b0=>32'b0000_0000_0000_0000_0000_0000_0000_0100[=1]=>32'b0) ;
bins trans_bit_03 = (32'b0=>32'b0000_0000_0000_0000_0000_0000_0000_1000[=1]=>32'b0);
But this does not seem to work. Could you please let me know what is the issue here?
Thanks