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 about disk caching scheme, Q. Explain about disk caching scheme? ...

Q. Explain about disk caching scheme? The disk caching scheme can be used to speed up performance of disk drive system. A set (cache) of buffers is assigned to hold some disk b

Example of arrays pointers, Q. Example of arrays pointers? General form...

Q. Example of arrays pointers? General form of declaration of array in Fortran 90 is type, DIMENSION(bound) [,attr] :: name E.g. the declaration          INTEGER, D

Diffrence between RISC and CISC architecture, Q. Diffrence between RISC and...

Q. Diffrence between RISC and CISC architecture? CISCs provide better support for high-level languages since they include high-level language constructs such as CASE, CALL etc

What is floppy drives, Q. What is Floppy Drives? Disks used with a flop...

Q. What is Floppy Drives? Disks used with a floppy disk drive are small removable disks fabricated of plastic coated with magnetic recording material. Disk rotates at 360RPM. F

What is clr, What is CLR?  CLR is .NET equivalent of Java Virtual Mach...

What is CLR?  CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that changes a MSIL code into the host machine language code, which is then implemented a

What are tri-state devices , why they are essential in a bus oriented syste...

why they are essential in a bus oriented system? Ans) In a multiplexed bus system, many devices are linked to a common bus. If 2 or more devices attempt to use the bus at the si

Write a linux terminal shell, Write a Linux terminal shell. Your shell shou...

Write a Linux terminal shell. Your shell should act similar to bash. At a high level, your shell should accomplish the following: 1. Print a prompt when waiting for input from t

4bit counter using JK flip flop and unique sequence, Need to build a 4bit J...

Need to build a 4bit JK flip flop counter with a unique patter. 6 4 2 5 3 1 F C B A

Explian service topologies, Explian Service Topologies Service Topolog...

Explian Service Topologies Service Topologies In a service-based architecture there increase dependencies between services resulting from cooperation

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