5

The ++ operator in Systemverilog is blocking. Is there a nonblocking equivalent to it, or are we bound to use the more verbose x<=x+1 form if we want to keep it nonblocking?

Refer to IEEE Std 1800-2017, section 11.4.2 Increment and decrement operators:

These increment and decrement assignment operators behave as blocking assignments.

toolic
  • 8,262
  • 7
  • 24
  • 35
shaiko
  • 469
  • 1
  • 7
  • 16

1 Answers1

9

There is no non-blocking equivalent to the ++ operator. It has been suggested for the next revision of the standard.

dave_59
  • 8,312
  • 1
  • 15
  • 27
  • Note that the suggestion was rejected for not having enough benefit. https://accellera.mantishub.io/view.php?id=7322 – dave_59 Feb 14 '23 at 05:04