VHDL Operators | VHDL tutorial | TechWithCode

Operators are very essential element in any programming language. Operators are responsible for all the operations which are ging on  in the program.
VHDL Operators | VHDL tutorial | TechWithCode

what is the operator in VHDL?

An operator in a programming language is a symbol that tells the compiler or interpreter or simulator to perform the specific mathematical, relational or logical operation and produce the final result.
VHDL operators are also the same as other programming languages

Type of operator in VHDL:

There are six different types of operators in VHDL-

  1. Logical                operators
  2. Relational           operators
  3. Shift                     operators
  4. Adding                operators
  5. multiplying         operators
  6. Miscellaneous    operators

1. Logical  operators:


Followings are the logical operators in vhdl programming language:-


  • and  - It is a binary operator .it will do logically AND  with their operants


  • or   - It is a binary operator .it will do logically OR with their operants

  • nand  - It is a binary operator .it will do logically NAND with their operants

  • xor   - t is a binary operator .it will do logically NAND with their operants
  • xnor
  • not     - 
  • not-      It is a unary operator .it will just reverse the operant data(0 become 1 &onen

Important:-  All operators are work properly in both cases i.e (upper case and lower case)
                    NAND & NOR are not associative, it needs proper bracket.
                    For example :  X and Y nand Z will not work in VHDL Programming

2.Relational   operators



No comments:

Powered by Blogger.