0% found this document useful (0 votes)
17 views7 pages

Assignment 10

The document describes the implementation of 4-line to 2-line and 8-line to 3-line encoders and 2-line to 4-line and 3-line to 8-line decoders using logic gates. Truth tables and logic diagrams are provided for each encoder and decoder circuit. Boolean functions are written for the outputs of each design based on the given input variables. Procedures are outlined for building the circuits on a breadboard and connecting the integrated circuits.

Uploaded by

ramalkhan251
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
17 views7 pages

Assignment 10

The document describes the implementation of 4-line to 2-line and 8-line to 3-line encoders and 2-line to 4-line and 3-line to 8-line decoders using logic gates. Truth tables and logic diagrams are provided for each encoder and decoder circuit. Boolean functions are written for the outputs of each design based on the given input variables. Procedures are outlined for building the circuits on a breadboard and connecting the integrated circuits.

Uploaded by

ramalkhan251
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 7

Title: Implementation Of 4-Line-To -2-line Encoder & 8-Line-To-3-

Line Encoder

Lab Worksheet #10


Name: Ramal ejaz Semester: 2nd

Logical Diagram of 4 X 2 Encoder:

Truth Table:

Inputs Outputs

D0 D1 D2 D3 Y1 Y2

0 0 0 1 0 0

0 0 1 0 0 1
0 1 0 0 1 0

1 0 0 0 1 1

Procedure

Carefully place the 74132 IC on the breadboard.


Connect pin 16 (VCC) to the positive rail on the breadboard.
Connect pin 8 (GND) to the negative rail on the breadboard.
Connect pin1 (input) to the negative rail on the breadboard.
Connect pin 2 (pin 2) to the negative rail on the breadboard.
Connect one end of wire in pin3 (output) and place another on breadboard and
attach LED and resistor across it.
Connect Pin4 to the pin 1 of the ic to take input and connect pin5 to the negative
rail on the breadboard.
Connect one end of wire to pin6 and another end to the breadboard and place LED
and resistor across it.
Connect these pins to your desired (according to truth table) output devices or
other circuits. Connect the positive and negative rails to the power supply.

Write a Boolean function for output of 4 x 2 Encoder for Each Case


F(y1, y2)=
Y1= Y3+Y2
Y2= Y3+Y1
Develop: 8 – To- 3 Line Encoder (using Basic Gates)
Function table
Complete the table given below carefully by using circuit developed by you.

Inputs Outputs

D0 D1 D2 D3 D4 D5 D6 D7 O2 O1 O0
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 1 0 0 0 1
0 0 0 0 0 1 0 0 0 1 0
0 0 0 0 1 0 0 0 0 1 1
0 0 0 1 0 0 0 0 1 0 0
0 0 1 0 0 0 0 0 1 0 1
0 1 0 0 0 0 0 0 1 1 0
1 0 0 0 0 0 0 0 1 1 1

Write a Boolean function for output of 8x3 Line Encoder:


o2=Y7+Y6+Y5+Y4
o1=Y7+Y6+Y3+Y2
o0=Y7+Y5+Y3+Y1

Logical Diagram of 2 X 4 Decoder:


Function table
Complete the table given below carefully by using circuit developed by you.

So S1 Io I1 I2 I3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1

Procedure
Place 7408 IC and 7404 IC on the breadboard.
Connect pin 14 (VCC) of each 7404 IC to the positive rail.
Connect pin 7 (GND) of each 7404 IC to the negative rail.
Connect pin 14 (VCC) of each 7408 IC to the positive rail.
Connect pin 7 (GND) of each 7408 IC to the negative rail.
Connect pin 1 of not ic to the pin 10 of and ic and pin 1 to 12 pin of and ic and pin 2 to the pin
2,4 of the and ic,pin3 of not gate to pin 5,13 of and ic andpin4 to the pin 1,9 of and ic for inputs.
The output pins are pin3,pin6,pin8,pin9 of and ic for four outpus.
Connect pin 3 of the first AND gate to pin 5 (output) of the first AND gate (Y0).
Connect pin 4 of the first AND gate to pin 6 (output) of the first AND gate (Y1).
Connect pin 5 of the second AND gate to pin 9 (output) of the second AND gate (Y2).
Connect pin 6 of the second AND gate to pin 10 (output) of the second AND gate (Y3).
Connect the positive rail to the power supply's positive terminal.
Connect the negative rail to the power supply's negative terminal.

Write a Boolean function for output of 2 x 4 Decoder for Each Case


F(Io,I1,I2,I3,I4)=
F1= S0’.S1’
F2= S0’.S1
F3=S0.S1’
F4=S0.S1

Develop: 3 – To- 8 Line Decoder (using Basic Gates)

Function table
Complete the table given below carefully by using circuit developed by you.

Select lines Outputs


S1 S1 S0 I0 I1 I2 I3 I4 I5 I6 I7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1

Write a Boolean function for output of 3x8 Line Decoder:


F0=S1’.S1’.S0’
F1=S1’.S1’.S0
F2=S1’,S1.S0’
F3=S1’.S1.S0
F4=S1.S1’.S0’
F5=S1.S1’.S0
F6=S1.S1.S0’
F7=S1.S1.S0

You might also like