0% found this document useful (0 votes)
2 views12 pages

DLD EXPT 6

The document outlines objectives for designing various digital circuits, including a 2x1 multiplexer, a 3-to-8 line decoder using NAND gates, a full adder with a 3-to-8 line decoder, and a 4-bit priority encoder. Each objective includes steps for obtaining truth tables, deriving Boolean expressions, drawing logic diagrams, and writing VHDL code. Additionally, it specifies required software, observations for the lab, and post-lab design tasks.

Uploaded by

kddas260304
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views12 pages

DLD EXPT 6

The document outlines objectives for designing various digital circuits, including a 2x1 multiplexer, a 3-to-8 line decoder using NAND gates, a full adder with a 3-to-8 line decoder, and a 4-bit priority encoder. Each objective includes steps for obtaining truth tables, deriving Boolean expressions, drawing logic diagrams, and writing VHDL code. Additionally, it specifies required software, observations for the lab, and post-lab design tasks.

Uploaded by

kddas260304
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

I.

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.

3. Design afull adder using a3-to-8-line decoder and external OR gates.


4. Design a 4-bit priority encoder with inputs D3 (MSB), D2, DIl and DO (LSB) and outputs
X, Y and V. The priority assigned to inputs is D3> D2 > D1> D0. The outputV shows a
equal to 0. When
value lwhen one or more inputs are equal to one. If all inputs are 0, V is
don't care conditions.
V=U, then other twO outputs are not inspected and are specified as

II. Pre-lab: Obj. 1:


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. 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:

Software Required: Xilinx Vivado


Observation:
Attach screen-shot of Source code, Test bench code (Optional), Schematic
diagram, and waveform):
IV. CONCLUSION:

V. POST LAB:

1. Design a 2-input Ex-OR gate using a 4X1 MUX.


2. Design an 8X1 MUX using a 4X1 MUX?
3. Implement the following functions using a3-to-8-line decoder with active-high
enable input:
F(a, b, c)-Sm(0,2,3,7) and G(a, b, c-Sm(1,4,6,7)
-Page
4 No
LO6T): sTD- Ct Y:
STD-loADC; n10:
LO62C; SID- Poret/
in s:
is oentity
LoADC64
ALL . STD- DEEE. Use
TEEE;
Code VHDL
S
1
S
Matliplkaer) (arldethe-l
Peslab
(lITER)
Technology Engineering& Faculty
of
(EET1211) Design Logic Digital
Digital Logic Design (EBT1211)
Faculty of Engineering &Technology (ITER)

orchitecree dotaloeo of o is

Y<e (10 Cond (rot s)) on (Tl aod s);


Bvd dataflous;

|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|

then "p'-) D< 10111111 "i


shen "n' D< ollw
shen othees ) D (otheres =) '0);
emd.Case,
egd Caei

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

V"do td, tdotd

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

x (-(aotds) ad da) ore d9:


J ((not d) cond (onot d) and d) Ore d9;
V= do (re dl re de ore dB:
erd dota flous;

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

active hugl eabl


(o,9.9, ?) amd (art)
& Sonli4.6.9)
F(abc)-Sn

Page No - 88

You might also like