operators - mahadevaswamy05/github_experiments GitHub Wiki
Operators :
There
1. Arithmetic Operators
We use arithmetic operators to perform basic mathematic functions on our variables. These operators should already be familiar as they are mostly replications of common mathematic symbols.
The table below shows the full list of arithmetic operators in SystemVerilog.
| SL.NO | Operator | Description |
|---|---|---|
| 1. | + | addition |
| 2. | - | subtraction |
| 3. | * | multiplication |
| 4. | / | division |
| 5. | % | modulus |
| 6. | ** | Exponential operator |
The below figure shows the output of the Arithmetic operator screenshot
for Better understanding go through this code
GitHub lab code link
GitHub lab output link
2. Logical Operator
The Logical operators are similar to the bit-wise operators