Description
The Verilog codes are programmed and simulated using EDA playground and/or Mentor Graphics Model Sim and/or Xilinx Vivado.
Tutorials for how to use HDL programming and Simulation tools.
Operator | Description |
---|---|
+ | Addition: A + B |
- | Subtraction: A - B |
* | Multiplication: A * B |
/ | Division: A / B |
** | Power(AB): A ** B |
% | Modulo: A % B |
Operator | Description |
---|---|
< | Less than: A < B |
> | Greater than: A > B |
<= | Less than equal to: A <= B |
>= | Greater than equal to: A >= B |
Operator | Description |
---|---|
== | Equal to: A == B Result can be 0, 1 , X. |
!= | Not Equal to: A != B Result can be 0, 1 , X. |
=== | Equal to: A === B Result can be 0, 1. |
!== | Not Equal to: A !== B Result can be 0, 1. |
Operator | Description |
---|---|
&& | Logical and: A && B Result will be 1-bit length. |
|| | Logical or: A || B Result will be 1-bit length. |
! | Logical not: !A Result will be 1-bit length. |
Operator | Description |
---|---|
& | A and B: A & B |
| | A or B: A | B |
~ | not A: ~A |
^ | A ex-or B: A ^ B |
~^ or ^~ | A ex-nor B: A ~^ B |
Operator | Description |
---|---|
<< | Shift left: A << 1 |
>> | Shift right: A >> 1 |
Travel New York London IKEA NORWAY DIY Ideas Baby Family News Clothing Shopping Sports Games