# Assertion to check req holds until ack

**URL:** <https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707>\
**Category:** SystemVerilog\
**Tags:** throughout, SystemVerilog, Assertion-system-verilog, assertion\
**Created:** [February 11, 2021, 2:06am UTC](https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707 "2021-02-11T02:06:44Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![user49](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/user49/32/4533_2.png) [@user49](https://verificationacademy.com/forums/u/user49)\
**Post date:** [February 15, 2021, 2:34am UTC](https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707/9 "2021-02-15T02:34:01Z")

</div>

_In reply to [lisa.lalice](https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707/8):_

You need either a default clocking or a @(posedge clk) in either the property or in the assertion.

```verilog
 

property rfsh_req_wait_for_ack_p;
@(posedge clk $rose (dcr_usr_rfsh_req) |-> 
  (dcr_usr_rfsh_req[*1:$] ##1 !dcr_usr_rfsh_req intersect
  ($rose(dsr_usr_rfsh_ack)[->1] ##0 $fell(dcr_usr_rfsh_req)));
endproperty
rfsh_req_wait_for_ack_a : assert property(rfsh_req_wait_for_ack_p);

```

Ben [systemverilog.us](http://systemverilog.us)

---

_[View the full topic](https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707)._
