DLD EXPT 6
DLD EXPT 6
Objective:
1. Design a 2 X 1 Multiplexer that will select the binary information from one of the two
input lines and direct it to a single output line based on the value of a selection line.
2. Design a 3-to-8-line decoder with active low enable input using NAND gates only.
Obj. 2:
a) Obtain the truth table.
b) Derive the Boolean expression for each output of the circuit.
c) Draw the logic diagram for the circuit.
d) Write VHDL code.
Obj. 3:
a) Obtain the truth table.
b) Derive the Boolean expression for each output of the circuit.
c) Draw the logic diagram for the circuit.
d) Write VHDL code.
Obj. 4:
a) Obtain the truth table.
b) Derive the Boolean expression for each output of the circuit.
c) Draw the logic diagram for the circuit.
d) Write VHDL code.
III. LAB:
V. POST LAB:
orchitecree dotaloeo of o is
|Chestve-2
NAND gates ooly
Trech tabl
A Dy De Ds DDg Da D, Do
X X
Page No -4
Digital Logic Design (EET1211)
Faculty of Engineering &Technology (ITER)
Do EtAtBtC . A.BC
D, EtA +Bt C
E+A+B+C . F.AB.C
D,
D2 EtA+BtC. EtA+Btc .FTB.
Dg É+A+ B+C = E+AtBtT : F.A.B.C
FA.B.
D, EtA B1C
A
Do
D
D Da
Ds
D4
Ds
De
Da
Page No - 5
Digital Logic Design (EET1211)
Faculty of Engineering & Technology (ITER)
VHDL Code'
beara TEEE;
se EEE. STD- LO6RC_ I64. ALL;
TE is
Poretl E: in STD LO8TC; deooro );
A: in STD- LO6TC_VECTOR(e
):
D:ut STD-LO6IC_VECTOR/ deonto
pnd TE;
orchitechwee Belavisrcal & TE is
bgen
preoces (A.E)
bgi o')hen
D<- (othees =)'o');
else
Case A is
bhen"oo' =>D<=mio":
han"oo" ) D<"Hu)1o1";
Lohen o1o"> D<="loll":
ehen "o"=> D<="ltolt 1";
cshen "so" >D-10111|
Page No -
Digital Logic Design (EET1211)
Faculty of Engineering & Technology (ITER)
emd Proce8,
end Behavioreal.
Cliechve -9
Full addere
Tructh table
X y Son Corey
1 1
sn 2,4,2)
Coeea-2(3,5,6.)
do
Aine
decodere Sum
ds Caerey
de
de
Page No -
aod <=d6
rot
2);cordnd
and
z; (not &nd
(rot cod (rot) do(-
z); Conot aod bejin
datateo
isFA of chuearchite
FA: end
LO6RC), SID- Caey:
out
LO6?
C; STD- out Sn:
LO6îC; SID- cut dt:
2C; LoG SID- ineet d6:
Lo62C; STO- ioet d6:
SID-LO62C; inact di:
lo6TC; STD- inot d3:
Lo6TC: STD- inet d2:
LO62C; STD- iaout dl:
TD-Lo82C; inud dO:
LO6IC; inSTD- 2:
SD-l062; inJ:
LO6TC ; STD- PoretX:
in
is FA
enbty
ALLi I164.LO6TC_ STD- TEtE. use
TEEE, abeary
Code VHDL
Technology
(ITER) Engineering& Faculty
of
(EET1211) Design Logic Digital
Digital Logic Design (EET1211)
Faculty of Engineering &Technology (ITER)
| Careyc: ds oe ds oe ds oe de;
eor datafleo
ohicve-1
input Quput VClalid bit
do di da X
indiactoe
X 1
X
Page No - 47
Digital Logic Design (EET1211)
Faculty of Engineering &Technology (ITER)
VHDL Code
|bny TEEE
Use EEE. SD-LD62C164.ALLi
enyPet(
PE iS
da: in STD_LO62C;
J2: in STD- LO62C;
dl: cn STD- LO 6DC
do: in STD- LO6I(:
X: Gut STD- LO62C;
y: Qut STD-LO62C:
2: t STD- lo6T();
end PE
acchitecte datafeo of PE
Page No -
(EET1211)
DigitalLogicDesign (ITER)
Eaculty of Engineering &Technology
Comclation:
deuyn
Fon he above epertmert,setouod Hat se Can well
Combimtional Crcts
bkehealseae.
Pos lob
a
A Jnput Qutput
4
To
t5V
Page No - 82
Digital Logic Design (EET1211)
Faculty of1Engineering &
Technology (ITER)
MUx
2/Deszn a &rl lsing aa 4x! MUx.
To
Page No - 88