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

Explain common control, Explain Common Control. Common Control: Those...

Explain Common Control. Common Control: Those systems wherein the control subsystem is outside the switching network are termed as common control switching system. Therefore,

what is feram?, Ferroelectric RAM is a random-access memory same in constr...

Ferroelectric RAM is a random-access memory same in construction to DRAM but uses a ferroelectric layer rather of a dielectric layer to achieve non-volatility. FeRAM is one of a gr

Illustrate what is a ion pair energy, Q. Illustrate what is a ion pair ener...

Q. Illustrate what is a ion pair energy? Answer:- Ion energy contains electric charges called protons (+) and neutrons (0) and electrons (-) charges. It's present in an at

What do you mean by instruction cycle, Q. What do you mean by instruction c...

Q. What do you mean by instruction cycle? We have considered the instruction execution in previous section. Now let's consider more about different types of instruction executi

Length property of array , DEscribe a console application to show all the a...

DEscribe a console application to show all the arguments passed tocommand line whereas running the application. The user can pass anynumber of arguments that should be shown. Use l

Find how many bits of adc are required to get an resolution, Find how many ...

Find how many bits of ADC are required to get an resolution of 0.5 mV if the maximum full scale voltage is 10 V Ans. Given Resolution=.5mV Full scale output=+10v %resolut

Illustrate the examples of simulations, Illustrate the Examples of simulati...

Illustrate the Examples of simulations -  Training (for example pilots, drivers, etc.) -  Running/testing nuclear plants and chemical plants -  trying out equipment to be

Form an 8 bit adder using 2 four bit adder IC's 7483, How will you form an ...

How will you form an 8 bit adder using 2 four bit adder IC's 7483? Ans: 4 bit adder IC is IC 7483. This has two four bit data inputs and output carry, 4 bit data output carr

Robotics, Based on the disciplines of engineering, AI and physiology robo...

Based on the disciplines of engineering, AI and physiology robotics is concerned with building robot machines with physical capabilities akin to human beings which are cont

Write decoder functionality in only one statement in verilog, Write decoder...

Write decoder functionality in only one statement in verilog module decoder( // Outputs dout, // Inputs din ); input [3:0] din; output [15:0] dout;

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