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 are also the same as other programming languages
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-
- Logical operators
- Relational operators
- Shift operators
- Adding operators
- multiplying operators
- Miscellaneous operators
1. Logical operators:
Followings are the logical operators in vhdl programming language:-
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
- 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
No comments:
Do not add any link in the comments.
For backlink, contact us.