Draw the logic circuit of Decimal to BCDencoder, Computer Engineering

Assignment Help:

What is an encoder? Draw the logic circuit of Decimal to BCD encoder and explain its working.

Ans. Encoder: It is a combinational logic circuit which converts alphanumeric characters in Binary codes. It has 2n (or less) input lines and n output lines.  It may be Decimal to Binary or Hexadecimal to Binary or Octal to BCD etc.

Decimal to BCD Encoder:  It has 10 inputs (for decimal numbers 0 to p) and 4 outputs for the BCD number. Therefore this is a 10 line to 4 line encoder. Table (a) shows the decimal digits and the equivalent BCD numbers. By this table, we can get the relationship between decimal digit and BCD bit.  MSB of BCD bit is Y3.  For decimal digits 8 or 9, Y3 = 1. Hence we can write OR expression for Y3 bit as Y3 = 8 + 9

Likewise, Bit Y2 is 1 for decimal digits 4,5,6 and 7. Therefore we can write OR expression

Y2  = 4 + 5 + 6 + 7

Y1  =  2 + 3 + 6 + 7

Yo   = 1 + 3 + 5 + 7 + 9

The logic circuit for the expressions (Y0, Y1, Y2, Y3) is demonstrated in fig. (b). As a High shows on any of input lines the equivalent OR gates provide the BCD output. For example, if decimal input is 8, High shows only on output 3 (and LOW on Y0, Y1 , Y2), hence giving the BCD code for decimal 8 as 1000. Likewise, if decimal input is 7, then High shows on outputs Y0, Y1, Y2 (and LOW on Y3), hence providing BCD output as 0111.

Decimal

Digit

BCD Code

Y3            Y2                Y1                Y0

0

0                 0                0                     0

1

0                 0                0                     1

2

0                 0                1                     0

3

0                 0                1                     1

4

0                 1                0                     0

5

0                 1                0                     1

6

0                 1                1                     0

7

0                 1                1                     1

8

1                 0                0                     0

9

1                 0                0                     1

Truth Table of Decimal to BCD encoder

2200_Logic diagram for Decimal to BCD Encoder.png

Fig.(b) Logic diagram for Decimal to BCD Encoder


Related Discussions:- Draw the logic circuit of Decimal to BCDencoder

Gnome, Explain briefly about GNOME desktop

Explain briefly about GNOME desktop

Safety argument for good design, So far we have considered the problems of ...

So far we have considered the problems of poor ID in terms of the loss of productivity and efficiency to business. There is another important aspect to consider: the issue of safet

Explain the various interface circuits, Explain the various interface circu...

Explain the various interface circuits.  An I/O interface having of circuitry required to connect an I/O device to computer bus. One side having of a data path with its associa

Define memory latency, Define Memory Latency? It is used to refer to th...

Define Memory Latency? It is used to refer to the amount of time it takes to transfer a word of data to or from the memory.

Evolutionary approaches boil down - artificial intelligence, Evolutionary a...

Evolutionary approaches boil down - artificial intelligence: In fact as we will see whether evolutionary approaches boil down to like (i) just to identify how to represent pos

write a ''c'' program to accept any 3 digit integer number, Write a 'C' pr...

Write a 'C' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number

Variables and quantifiers - first-order logic, Variables and Quantifiers: ...

Variables and Quantifiers: Now we have to diagnose now that if we wanted to say that there is a meal at the Red Lion which costs only 3 pounds, is well sayed. Rather thenif we

Determine sky wave communication is prone to fading or not, Sky wave Commun...

Sky wave Communication is prone to fading, it is true or false. Ans: It is true that sky wave Communication is prone to fading.

Operation of micro controller, Consider the hardware design as shown. Withi...

Consider the hardware design as shown. Within the target system the EPROM would contain the hex data as shown below   Address  Assembly code   8000             86   8001

DATA DICTIONARY, DATA DICTIONARY ON ONLINE QUIZ SYSTEM

DATA DICTIONARY ON ONLINE QUIZ SYSTEM

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd