logic gates using vhdl
TRANSCRIPT
Experiment No : 1
Aim: To design all the gates using VHDL.
Apparatus: Xlinx 10.1 software , RAM : 512 MB
Theory:
Logic gates are sold state electronic circuits which are used to perform certain mathematical function ie multiplication, addition , inversion by using
binary digits ( 0 or 1).
There are various logic gates such as :1. AND2. OR3. NOT4. NAND5. NOR6. EXOR7. EXNOR
All gates and their respective truth tables are given below.
AND GATE : It performs ANDing operation. C= A and B
A B C0 0 00 1 01 0 01 1 1
OR GATE : Performs ORing operation. C= A or B
A B C0 0 00 1 11 0 11 1 1
NOT GATE: Performs the INVERTing operation. B= not A
A B0 11 0
NAND GATE: Performs the NANDing operation. C= A nand B
A B C0 0 10 1 11 0 11 1 0
NOR GATE: Performs the NORing operation. C= A nor B
A B C0 0 10 1 01 0 01 1 0
EX-OR GATE: Performs the Exclusive ORing operation. C= A exor B
A B C0 0 10 1 01 0 01 1 1
EX-NOR GATE: Performs the Exclusive NORing operation.C= A exnor B
A B C0 0 00 1 11 0 11 1 0