A Place to learn VHDL & Verilog HDL comparitively ...
 
Website Analytics Tools
Operators:
           Operators perform a wide range of functions. In HDL operators are classified into 4 categories.
hdl.50webs.com
Chapter 1  Introduction
Logical operators:
                 These operators perform logical operations such as AND, OR, NOT, NOR, NOT, EX-OR.
Relational operators:
                                 Relational operators are used to compare the values of two objects. The result is Boolean i.e true(1) or false(0).
Arithmetic operators:
                      Arithmetic operators are used to perform a wide variety of operations such as addition, subtraction, multiplication and division.
Shift and rotate operators:
                      Shift operators are unary operators. They operate on single operand. They are used to shift the bits by some positions.
In VHDL the syntax followed is
<identifier> shift operator <no. of positions>
Example
A sll 1
Before 1110
After 110X

In Verilog HDL the syntax is
<identifier> shift operator <no. of positions>
Example
A << 1
Before 1110
After 110X
Page copy protected against web site content infringement by Copyscape
free website hit counters
Supported by website-hit-counters.com .
contact us: crystalzvgn@gmail.com
CO.CC:Free Domain
Queries and discussions at: vigyan.forumotion.net
Pablo Software Solutions
About us
Survey