문제

Normally, I would just use repetition method for a lengthy sequence of time for a certain transition.

ie.

  covergroup test1 @(posedge clk)
  coverpoint( signal[1], signal[0]) 
 {
  bins transition1 = (2'b00[*1:100] =>2'b11[*1:100] => 2'b00) 
 }

Is there another method to check for multiple transitions but not have a set limit for repetition. To clarify I want to be able to check if certain transitions happen, but not care about the time( clk cycles).

도움이 되었습니까?

해결책

don't define a sampling event for the covergroup i.e. no @(posedge clk) define the coverpoint without [*1:100] and sample using covergroup_name.sample()

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top