Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Lab 10

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Page |1

DEPARTMENT OF SOFTWARE ENGINEERING


FACULTY OF ENGINEERING AND TECHNOLOGY JAMSHORO
UNIVERSITY OF SINDH JAMSHORO

SUBJECT: DIGITAL LOGIC DESIGN


LAB NO.10
LAB ABILITY TO DATA ANALYSIS
SUBJECT CALCULATION AND OBSERVATION/
PERFORMANCE KNOWLEDGE
CONDUCT AND
CODING RESULTS Presentation SCORE
EXPERIMENT INTERPRETATION
INDICATOR

0.5 0.5 0.5 0.5 0.5 0.5

Name: ____________________________ Roll No _______________________ Score: __________


Signature of Tutor: _______________ Date: ______________

DECODER

PERFORMANCE OBJECTIVE

Upon successful completion of this experiment, the student will be able


To implement and verify Decoder operation using,
 RIMS Advanced Electronic Trainer
 74LS42 IC (BCD-to-Decimal decoder). Or
 74LS04 and 74LS08 for combinational Circuit

EQUIPMENT
 5V Power supply unit (RIMS)
COMPONENTS
 IC 74LS42/74LS04 and 74LS08
 Connecting wires, Hardwires.

NOTE
 Before making any connection to the circuit makes sure that, the power supply is off.
 Take care of the equipments they can be damaged by misuse.
 Before switch on the supply, get it checked by your teacher.
Page |2

INTRODUCTION

Decoder is a logic circuit that accepts a set of inputs that represents a binary number and
activates only the output that corresponds to that input number. In other words, a decoder
circuit looks at its inputs, determine which binary number is present there, and activates the
one output that corresponds to that number; all other outputs remain inactive. Before the
design of decoder, we must decide that whether we want an active-high level output or an
active-low level output to indicate the value selected. For an active-high indication the
required output is high and all other outputs are low; while in case of active-low, the
required output is low and all other outputs are high. Fig: 10 .1(a & b) shows the logic
symbol and logic diagram for 1 of 4 decoders. This circuit has two inputs and four outputs
so it is also called as 2 line to 4 line decoder. It uses all AND gates, so the outputs are
active-high. For a given input code, the only output that is active (high) is the one
corresponding to the decimal equivalent of the binary input code.

(a) (b)
Fig: 10.1 (a) Logic symbol; (b) Logic diagram of 1-of-4 decoder

74LS42 BCD-TO- DECIMAL DECODER IC

The TTL74LS42 accepts four lines of input data and it has ten active-low outputs. The
inputs must be supplied by a code type BCD, which causes the activation of the output line
corresponding to the applied number. Each output goes low only when its corresponding
Page |3

BCD input is applied, while all other outputs remain high. Fig: 10.2 shows the pin-out of
74LS42 IC.

Fig 1.2 BCD-TO- DECIMAL DECODER IC

OBSERVATION TABLE:
Inputs Outputs
B A Q3 Q2 Q1 Q0
0 0
0 1

1 0

1 1

PROCEDURE
1. Take digital Electronics RIMS and apply 5V power supply from power supply unit

2. Carry out the circuit of Fig: 10.1 on the trainer.

3. Connect the inputs A and B to the switches and outputs Q0 to Q3 to LEDs.

4. Set all combination of observation table with help of switches and fill the table.

5. There is standard symbol for Decimal –to-BCD decoder on trainer.

6. Connect inputs A, B, C and D to the switches.

7. Connect outputs 0,1,2,3,4,5,6,7,8, and 9 to the LEDs.

8. Set all combinations of inputs with the help of switches and observe the decoding
operation.
Page |4

REVIEW QUESTIONS:

1. What is the function of decoder?


_____________________________________________________________________________
_____________________________________________________________________________
_____________________________________________________________________________

2.What is meant by active-low decoding and active-high decoding?

_____________________________________________________________________________
_____________________________________________________________________________
_____________________________________________________________________________

_____________________________________________________________________________
_____________________________________________________________________________

3.Which basic gate is used in active-low decoding?


_____________________________________________________________________________
_____________________________________________________________________________
_____________________________________________________________________________
4.What are the applications of the decoders?
_____________________________________________________________________________
_____________________________________________________________________________
_____________________________________________________________________________

FINAL CHECK LIST:

 Clean your equipment/materials and workbenches before you leave.


 Keep all equipment and materials to their proper storage area.
 Submit your answers to questions, together with your data, calculations and results
before the next laboratory.

You might also like