Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

演算子の優先順位

式内での演算子の優先順位は SystemVerilog とほとんど同じです。

演算子結合性優先順位
() [] :: .左高い
+ - ! ~ & ~& | ~| ^ ~^ (単項)左
**左
* / %左
+ - (二項)左
<< >> <<< >>>左
<: <= >: >=左
== != ==? !=?左
& (二項)左
^ ~^ (二項)左
| (二項)左
&&左
||左
= += -= *= /= %= &= ^= |=
<<= >>= <<<= >>>=
なし
{} inside outside if case switchなし低い