# Not operator used with \[\*\]

**URL:** <https://verificationacademy.com/forums/t/not-operator-used-with/50772>\
**Category:** SystemVerilog\
**Tags:** assertion\
**Created:** [July 14, 2025, 8:12pm UTC](https://verificationacademy.com/forums/t/not-operator-used-with/50772 "2025-07-14T20:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flyant](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/f/7cd45c/32.png) [@flyant](https://verificationacademy.com/forums/u/flyant)\
**Post date:** [July 14, 2025, 8:12pm UTC](https://verificationacademy.com/forums/t/not-operator-used-with/50772/1 "2025-07-14T20:12:05Z")

</div>

```auto
module test;
  
  logic a, b;
  logic clk;
  
  initial begin
    	  a = 0; b = 0; clk =0;
    #5 a = 0; b = 1;
    #10 a = 1; b = 1;
    #10 a = 0; b = 0;
    #10 a = 0; b = 1;
    #10 a = 0; b = 1;
    #50
    $finish;
  end
  
  always #5 clk = ~clk;
  
  property p1;
    @(posedge clk)
    $rose(a) |-> not (b[*2]);
  endproperty 
  
  assert property (p1) $display("%0d, assertion is pass", $time); else $error("%0t, assertion is failed", $time);
    
endmodule

```

here is a very simple example for not operator. if the a and b change like above, the assertion will be pass.

if they change like the way below, it won’t be failed or pass.

```auto
  initial begin
    	  a = 0; b = 0; clk =0;
    #5 a = 0; b = 1;
    #10 a = 1; b = 0;
    #10 a = 0; b = 1;
    #10 a = 0; b = 1;
    #10 a = 0; b = 1;
    #50
    $finish;
  end

```

can anyone explain this?

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [July 14, 2025, 8:32pm UTC](https://verificationacademy.com/forums/t/not-operator-used-with/50772/2 "2025-07-14T20:32:12Z")

</div>

The changed code works correctly on 3 out of the 4 tools on EDA playground. You have run into a tool specific bug.

This Siemens sponsored public forum is not for discussing tool specific issues. Please read your tool’s User Manual or contact your tool vendor for support.
