Verilog 运算
1. Arithmetic Operators(算术运算): + - * / %
Attention: 5%2=1; 5%-2=1; -5%2=-1; -5%-2=-1; (只与前面的数符号有关)
2. Bitwise Operators(位运算符): ~(invert), &(AND), | (OR) , ^ (Exclusive OR),,~^ ^~ (Exclusive NOR)
3. Logical Operators(逻辑运算符):回答应该是(T/F)占1bit
!, &&, ||
For example: !m :Is m false?
m && n :Are both m and n true?