# Xmsim: \*E,ASRTST assertion failed

**URL:** <https://verificationacademy.com/forums/t/xmsim-e-asrtst-assertion-failed/35362>\
**Category:** SystemVerilog\
**Tags:** Assertion-Based-Verification, assert-property, SystemVerilog, Assertion-system-verilog, implication-operator\
**Created:** [November 21, 2018, 3:52pm UTC](https://verificationacademy.com/forums/t/xmsim-e-asrtst-assertion-failed/35362 "2018-11-21T15:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PavanSP](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/7ab992/32.png) [@PavanSP](https://verificationacademy.com/forums/u/PavanSP)\
**Post date:** [November 21, 2018, 3:52pm UTC](https://verificationacademy.com/forums/t/xmsim-e-asrtst-assertion-failed/35362/1 "2018-11-21T15:52:49Z")

</div>

I am trying to assert this property:

```verilog
assert_1:
    assert property ( @(posedge clk) disable iff (!a)
              (b == 1'b0) |-> (c == 1'b1) )
        `uvm_error("ASSERT", "c cannot go high")
    else `uvm_info("ASSERT", "c should be in high state after b bit is set",UVM_LOW)

```

What is wrong with this? and what does the following error mean?

> xmsim: \*E,ASRTST (…/bench/top/assertions.sv,204): (time 1500 NS) Assertion top.assertions.assert\_1 has failed (2 cycles, starting 500 NS) 1500 NS + 3 (Assertion output stop: top.assertions.assert\_1 = failed)

---

<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:** [November 21, 2018, 4:47pm UTC](https://verificationacademy.com/forums/t/xmsim-e-asrtst-assertion-failed/35362/2 "2018-11-21T16:47:52Z")

</div>

You have the pass and fail action blocks reversed.  
assert property(prop) pass\_action\_block else  
Fail\_action\_block;  
Ben
