# 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:** 6

<div class="post-metadata">

**Author:** ![lisa.lalice](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/l/958977/32.png) [@lisa.lalice](https://verificationacademy.com/forums/u/lisa.lalice)\
**Post date:** [February 13, 2021, 5:57am UTC](https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707/6 "2021-02-13T05:57:00Z")

</div>

_In reply to [ben@SystemVerilog.us](https://verificationacademy.com/forums/t/assertion-to-check-req-holds-until-ack/38707/5):_

> If you want anassertion to meet your waveform where dcr\_usr\_rfsh\_req==0 when  
> $rose(dsr\_usr\_rfsh\_ack)==1 then do the following:

```verilog
$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)));

```

Hi Ben, I’ve tried the assertion code you’d suggested me above but my assertion still fail

 ![](https://verificationacademy.com/forums/uploads/default/original/1X/f3bd504bc2f172b051f70992f4d65207b842177c.png)

---

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