SVA for Timing checks

 Write assertion to check delay from posedge clk to any change on signal "meta" must be less than 300ps. 


property p_max_time(start, stop, duration); 

     time start_time;

   @(start) 

   (1, start_time = $time) |=> 

 @(stop)

 ( ($time - start_time <= duration);

endproperty 


a_meta_sub_cycle: assert property(p_max_time(posedge clock, meta, 300ps));

Comments

Popular posts from this blog

Design a clock divide-by-3 circuit with 50% duty cycle

Memory power reduction

SVA