Experiment - 2: Aim: Study of Basic Gates
Experiment - 2: Aim: Study of Basic Gates
Experiment - 2
Date of Performance: Roll No. :
Truth Table :
library ieee;
use ieee.std_logic_1164.all;
INPUT OUTPUT
entity basic is A B Y
port(A, B:in std_logic; 0 0 0
Y:out std_logic); 0 1 0
AND Gate : 1 0 0
end basic;
1 1 1
architecture df of basic is
Output Equation :
begin
Y <= A and B;
Y=A.B
end df;
library ieee; Truth Table :
use ieee.std_logic_1164.all;
INPUT OUTPUT
entity basic is A B Y
port(A, B:in std_logic; 0 0 0
Program : Y:out std_logic); 0 1 1
OR Gate : 1 0 1
end basic;
1 1 1
architecture df of basic is
Output Equation :
begin
Y <= A or B; Y=A+B
end df;
library ieee;
use ieee.std_logic_1164.all; Truth Table :
Simulation
Result :
OR Gate :
NOT Gate :
AND Gate :
y~0
a
y
b
OR Gate :
y~0
RTL View : a
y
b
NOT Gate :
Result /
All the Basic Gates are studied and implemented successfully using Quartus II 15.0 software
Conclusion :
Roll No. :
Marks out of
Signature :
Sem-Section 7th Sem. B 10
Date of
Name of Faculty : Sufiyan Khan
Submssion