# Verilog code confusion, I do not understand this line of code

**URL:** <https://verificationacademy.com/forums/t/verilog-code-confusion-i-do-not-understand-this-line-of-code/41044>\
**Category:** SystemVerilog\
**Tags:** assign, SystemVerilog, logical-equality, logical-AND, current-value\
**Created:** [November 26, 2022, 7:35pm UTC](https://verificationacademy.com/forums/t/verilog-code-confusion-i-do-not-understand-this-line-of-code/41044 "2022-11-26T19:35:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [November 28, 2022, 9:33pm UTC](https://verificationacademy.com/forums/t/verilog-code-confusion-i-do-not-understand-this-line-of-code/41044/4 "2022-11-28T21:33:54Z")

</div>

_In reply to [lala](https://verificationacademy.com/forums/t/verilog-code-confusion-i-do-not-understand-this-line-of-code/41044/3):_

Table 11-21 in the [IEEE 1800-2017 SystemVerilog LRM](https://ieeexplore.ieee.org/document/8299595) tells you the result of the == and && operators are 1-bit expressions. And table 11-3 gives you the precedence for evaluating these operators.

```verilog
 D = ( ( (A == 4'd8 ) && B ) && C )

```

---

_[View the full topic](https://verificationacademy.com/forums/t/verilog-code-confusion-i-do-not-understand-this-line-of-code/41044)._
