SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
COMBINATIONAL
LOGIC CIRCUITS
&
ARITHMETIC
CIRCUITS
UNIT III
DIGITAL
ELECTRONICS
PROF.ARTI GAVAS-PARAB
ANNA LEELA COLLEGE OF COMMERCE AND ECONOMICS,SHOBHA
JAYARAM SHETTY COLLEGE FOR BMS
CHAPTER I
UNIT III: CONTENTS
 Combinational Logic Circuits:
 Introduction
 Multi-input Combinational circuits
 multi-output Combinational circuits
 Code converters design and implementations
 Arithmetic Circuits:
 Introduction,
 Adder
 BCD Adder, Excess – 3 Adder
 Binary Subtractors,BCD Subtractors
 Multiplier
 Comparator
C
H
A
P
T
E
R
I
C
H
A
P
T
E
R
II
COMBINATIONAL LOGIC CIRCUIT
 Combinational circuit is a circuit in which we combine the
different gates in the circuit, for example encoder, decoder,
multiplexer and demultiplexer. Some of the characteristics
of combinational circuits are following −
 The output of combinational circuit at any instant of
time, depends only on the levels present at input
terminals.
 The combinational circuit do not use any memory.The
previous state of input does not have any effect on the
present state of the circuit.
 A combinational circuit can have an n number of inputs
and m number of outputs.
CLASSIFICATION OF COMBINATIONAL LOGIC
 Design procedure of combinational Logic circuit:
1. The problem is stated
2. The number of available input variables and
required output variables is determined
3. The input and output variables are assigned letter
symbols
4. The truth table that defines the required
relationship between inputs and outputs is derived
5. The simplified Boolean function for each output is
obtained
6. The logic diagram is drawn.
CODE CONVERTERS DESIGN AND IMPLEMENTATIONS
 Numbers are usually coded in one form or another so as to represent or use it as required.For instance, a number
‘nine’ is coded in decimal using symbol (9)d. Same is coded in natural-binary as (1001)b.While digital computers all deal
with binary numbers, there are situations wherein natural-binary representation of numbers in in-convenient or in-
efficient and some other (binary) code must be used to process the numbers.
 One of these other code is gray-code, in which any two numbers in sequence differ only by one bit change.This code is
used in K-map reduction technique.The advantage is that when numbers are changing frequently,the logic gates are
turning ON and OFF frequently and so are the transistors switching which characterizes power consumption of the
circuit; since only one bit is changing from number to number,switching is reduced and hence is the power
consumption.
 Binary-to-Gray
 Gray-to-Binary
 Decimal to BCD
 BCD-to-excess-3
 Excess-3-to-BCD
BINARY-TO-GRAY
 The table that follows shows natural-binary numbers (upto 4-bit) and corresponding gray codes.
G3 = B3
GRAY-TO-BINARY
 Once the converted code (now in Gray form) is processed,we want the processed data back in binary representation.So we need a
converter that would perform reverse operation to that of earlier converter.This we call a Gray-to-Binary converter.
B3 = G3
DECIMALTO BCD
 The decimal to binary encoder usually consists of 10 input lines and 4 output lines. Each input line
corresponds to the each decimal digit and 4 outputs correspond to the BCD code.This encoder accepts the
decoded decimal data as an input and encodes it to the BCD output which is available on the output lines.
Logical expression for A3,A2,A1 and A0 :
A3 =Y9 +Y8
A2 =Y7 +Y6 +Y5 +Y4
A1 =Y7 +Y6 +Y3 +Y2
A0 =Y9 +Y7 +Y5 +Y3 +Y1
Block diagram TruthTableCircuit diagram
BCD-TO-EXCESS-3 CODE CONVERTER
 The bit combinations of both the BCD (Binary Coded Decimal)
and Excess-3 codes represent decimal digits from 0 to 9.
 Therefore each of the code systems contains four bits and so
there must be four input variables and four output variables.
Figure provides the list of the bit combinations or truth table
and equivalent decimal values.
 The symbolsA, B, C,and D are designated as the bits of the BCD
system,andW,X,Y, and Z are designated as the bits of the
Excess-3 code system.It may be noted that though 16
combinations are possible from four bits,both code systems use
only 10 combinations.
 The rest of the bit combinations never occur and are treated as
don’t-care conditions.
For the BCD-to-Excess-3 converter,A, B, C, and D are the input variables andW,X,Y, and Z are the output variables.The
simplified Boolean expressions ofW, X,Y, and Z are given as: W = A + BC + BD
X = B′C + B′D + BC′D′
Y = CD + C′D′
Z = D′
BCD-TO-EXCESS-3 CODE CONVERTER
 A good designer will always look forward to reduce
the number and types of gates. It can be shown that
reduction in the types and number of gates is possible
to construct the BCD-to-Excess-3 code converter
circuit if the above Boolean expressions are modified
as follows.
 W = A + BC + BD
= A + B(C + D)
 X = B′C + B′D + BC′D′ = B′(C + D) + BC′D′
= B′(C + D) + B(C + D)′
 Y = CD + C′D′
= CD + (C + D)′
 Z = D′
EXCESS-3-TO-BCD
 In this case,W, X,Y, and Z are considered as input variables
and A, B, C, and D are termed as output variables.
 The Boolean expressions of the outputs are
 A =WX +WYZ
 B = X′Y′ + X′Z′ + XYZ
 C =Y′Z +YZ′
 D = Z′.
 Equations can be further modified as following on the
above Boolean expressions.
 A =WX +WYZ = W(X +YZ)
 B = X′Y′ + X′Z′ + XYZ = X′(Y′ + Z′) + XYZ = X′(YZ)′ + XYZ
 C = Y′Z +YZ′
 D = Z′
THANKYOU!

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Parallel Adder and Subtractor
Parallel Adder and SubtractorParallel Adder and Subtractor
Parallel Adder and Subtractor
 
Encoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexersEncoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexers
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
 
1’s and 2’s complements
1’s and 2’s complements1’s and 2’s complements
1’s and 2’s complements
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Hamming code system
Hamming code systemHamming code system
Hamming code system
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift register
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 
Full custom digital ic design of priority encoder
Full custom digital ic design of priority encoderFull custom digital ic design of priority encoder
Full custom digital ic design of priority encoder
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Adder
Adder Adder
Adder
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Register in Digital Logic
Register in Digital LogicRegister in Digital Logic
Register in Digital Logic
 

Similar a FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits

combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
ThanmayiKumar
 
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxDLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
SaveraAyub2
 
Digital Comprator
Digital CompratorDigital Comprator
Digital Comprator
suraj829
 

Similar a FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits (20)

Unit 4 combinational circuit
Unit 4 combinational circuitUnit 4 combinational circuit
Unit 4 combinational circuit
 
BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
 
Digital Logic-Lecture19.pptx
Digital Logic-Lecture19.pptxDigital Logic-Lecture19.pptx
Digital Logic-Lecture19.pptx
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptx
 
The decoder
The decoderThe decoder
The decoder
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logic
 
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxDLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
design pro.pptx
design pro.pptxdesign pro.pptx
design pro.pptx
 
5. Arithmaticn combinational Ckt.ppt
5. Arithmaticn combinational Ckt.ppt5. Arithmaticn combinational Ckt.ppt
5. Arithmaticn combinational Ckt.ppt
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
Digital Comprator
Digital CompratorDigital Comprator
Digital Comprator
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics lab
 
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECEDigital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
 
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEMEFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
 
E4 unit 2 combitional circuits.pptx
E4 unit 2 combitional circuits.pptxE4 unit 2 combitional circuits.pptx
E4 unit 2 combitional circuits.pptx
 

Más de Arti Parab Academics

Más de Arti Parab Academics (20)

COMPUTER APPLICATIONS Module 4.pptx
COMPUTER APPLICATIONS Module 4.pptxCOMPUTER APPLICATIONS Module 4.pptx
COMPUTER APPLICATIONS Module 4.pptx
 
COMPUTER APPLICATIONS Module 1 HPSY - Copy.pptx
COMPUTER APPLICATIONS Module 1 HPSY - Copy.pptxCOMPUTER APPLICATIONS Module 1 HPSY - Copy.pptx
COMPUTER APPLICATIONS Module 1 HPSY - Copy.pptx
 
COMPUTER APPLICATIONS Module 5.pptx
COMPUTER APPLICATIONS Module 5.pptxCOMPUTER APPLICATIONS Module 5.pptx
COMPUTER APPLICATIONS Module 5.pptx
 
COMPUTER APPLICATIONS Module 1 CAH.pptx
COMPUTER APPLICATIONS Module 1 CAH.pptxCOMPUTER APPLICATIONS Module 1 CAH.pptx
COMPUTER APPLICATIONS Module 1 CAH.pptx
 
COMPUTER APPLICATIONS Module 3.pptx
COMPUTER APPLICATIONS Module 3.pptxCOMPUTER APPLICATIONS Module 3.pptx
COMPUTER APPLICATIONS Module 3.pptx
 
COMPUTER APPLICATIONS Module 2.pptx
COMPUTER APPLICATIONS Module 2.pptxCOMPUTER APPLICATIONS Module 2.pptx
COMPUTER APPLICATIONS Module 2.pptx
 
Health Informatics- Module 5-Chapter 2.pptx
Health Informatics- Module 5-Chapter 2.pptxHealth Informatics- Module 5-Chapter 2.pptx
Health Informatics- Module 5-Chapter 2.pptx
 
Health Informatics- Module 5-Chapter 3.pptx
Health Informatics- Module 5-Chapter 3.pptxHealth Informatics- Module 5-Chapter 3.pptx
Health Informatics- Module 5-Chapter 3.pptx
 
Health Informatics- Module 4-Chapter 3.pptx
Health Informatics- Module 4-Chapter 3.pptxHealth Informatics- Module 4-Chapter 3.pptx
Health Informatics- Module 4-Chapter 3.pptx
 
Health Informatics- Module 3-Chapter 2.pptx
Health Informatics- Module 3-Chapter 2.pptxHealth Informatics- Module 3-Chapter 2.pptx
Health Informatics- Module 3-Chapter 2.pptx
 
Health Informatics- Module 4-Chapter 1.pptx
Health Informatics- Module 4-Chapter 1.pptxHealth Informatics- Module 4-Chapter 1.pptx
Health Informatics- Module 4-Chapter 1.pptx
 
Health Informatics- Module 4-Chapter 2.pptx
Health Informatics- Module 4-Chapter 2.pptxHealth Informatics- Module 4-Chapter 2.pptx
Health Informatics- Module 4-Chapter 2.pptx
 
Health Informatics- Module 3-Chapter 3.pptx
Health Informatics- Module 3-Chapter 3.pptxHealth Informatics- Module 3-Chapter 3.pptx
Health Informatics- Module 3-Chapter 3.pptx
 
Health Informatics- Module 5-Chapter 1.pptx
Health Informatics- Module 5-Chapter 1.pptxHealth Informatics- Module 5-Chapter 1.pptx
Health Informatics- Module 5-Chapter 1.pptx
 
Health Informatics- Module 3-Chapter 1.pptx
Health Informatics- Module 3-Chapter 1.pptxHealth Informatics- Module 3-Chapter 1.pptx
Health Informatics- Module 3-Chapter 1.pptx
 
Health Informatics- Module 2-Chapter 2.pptx
Health Informatics- Module 2-Chapter 2.pptxHealth Informatics- Module 2-Chapter 2.pptx
Health Informatics- Module 2-Chapter 2.pptx
 
Health Informatics- Module 1-Chapter 1.pptx
Health Informatics- Module 1-Chapter 1.pptxHealth Informatics- Module 1-Chapter 1.pptx
Health Informatics- Module 1-Chapter 1.pptx
 
Health Informatics- Module 2-Chapter 3.pptx
Health Informatics- Module 2-Chapter 3.pptxHealth Informatics- Module 2-Chapter 3.pptx
Health Informatics- Module 2-Chapter 3.pptx
 
Health Informatics- Module 2-Chapter 1.pptx
Health Informatics- Module 2-Chapter 1.pptxHealth Informatics- Module 2-Chapter 1.pptx
Health Informatics- Module 2-Chapter 1.pptx
 
Health Informatics- Module 1-Chapter 2.pptx
Health Informatics- Module 1-Chapter 2.pptxHealth Informatics- Module 1-Chapter 2.pptx
Health Informatics- Module 1-Chapter 2.pptx
 

Último

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Último (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits

  • 1. COMBINATIONAL LOGIC CIRCUITS & ARITHMETIC CIRCUITS UNIT III DIGITAL ELECTRONICS PROF.ARTI GAVAS-PARAB ANNA LEELA COLLEGE OF COMMERCE AND ECONOMICS,SHOBHA JAYARAM SHETTY COLLEGE FOR BMS CHAPTER I
  • 2. UNIT III: CONTENTS  Combinational Logic Circuits:  Introduction  Multi-input Combinational circuits  multi-output Combinational circuits  Code converters design and implementations  Arithmetic Circuits:  Introduction,  Adder  BCD Adder, Excess – 3 Adder  Binary Subtractors,BCD Subtractors  Multiplier  Comparator C H A P T E R I C H A P T E R II
  • 3. COMBINATIONAL LOGIC CIRCUIT  Combinational circuit is a circuit in which we combine the different gates in the circuit, for example encoder, decoder, multiplexer and demultiplexer. Some of the characteristics of combinational circuits are following −  The output of combinational circuit at any instant of time, depends only on the levels present at input terminals.  The combinational circuit do not use any memory.The previous state of input does not have any effect on the present state of the circuit.  A combinational circuit can have an n number of inputs and m number of outputs.
  • 4. CLASSIFICATION OF COMBINATIONAL LOGIC  Design procedure of combinational Logic circuit: 1. The problem is stated 2. The number of available input variables and required output variables is determined 3. The input and output variables are assigned letter symbols 4. The truth table that defines the required relationship between inputs and outputs is derived 5. The simplified Boolean function for each output is obtained 6. The logic diagram is drawn.
  • 5. CODE CONVERTERS DESIGN AND IMPLEMENTATIONS  Numbers are usually coded in one form or another so as to represent or use it as required.For instance, a number ‘nine’ is coded in decimal using symbol (9)d. Same is coded in natural-binary as (1001)b.While digital computers all deal with binary numbers, there are situations wherein natural-binary representation of numbers in in-convenient or in- efficient and some other (binary) code must be used to process the numbers.  One of these other code is gray-code, in which any two numbers in sequence differ only by one bit change.This code is used in K-map reduction technique.The advantage is that when numbers are changing frequently,the logic gates are turning ON and OFF frequently and so are the transistors switching which characterizes power consumption of the circuit; since only one bit is changing from number to number,switching is reduced and hence is the power consumption.  Binary-to-Gray  Gray-to-Binary  Decimal to BCD  BCD-to-excess-3  Excess-3-to-BCD
  • 6. BINARY-TO-GRAY  The table that follows shows natural-binary numbers (upto 4-bit) and corresponding gray codes. G3 = B3
  • 7. GRAY-TO-BINARY  Once the converted code (now in Gray form) is processed,we want the processed data back in binary representation.So we need a converter that would perform reverse operation to that of earlier converter.This we call a Gray-to-Binary converter. B3 = G3
  • 8. DECIMALTO BCD  The decimal to binary encoder usually consists of 10 input lines and 4 output lines. Each input line corresponds to the each decimal digit and 4 outputs correspond to the BCD code.This encoder accepts the decoded decimal data as an input and encodes it to the BCD output which is available on the output lines. Logical expression for A3,A2,A1 and A0 : A3 =Y9 +Y8 A2 =Y7 +Y6 +Y5 +Y4 A1 =Y7 +Y6 +Y3 +Y2 A0 =Y9 +Y7 +Y5 +Y3 +Y1 Block diagram TruthTableCircuit diagram
  • 9. BCD-TO-EXCESS-3 CODE CONVERTER  The bit combinations of both the BCD (Binary Coded Decimal) and Excess-3 codes represent decimal digits from 0 to 9.  Therefore each of the code systems contains four bits and so there must be four input variables and four output variables. Figure provides the list of the bit combinations or truth table and equivalent decimal values.  The symbolsA, B, C,and D are designated as the bits of the BCD system,andW,X,Y, and Z are designated as the bits of the Excess-3 code system.It may be noted that though 16 combinations are possible from four bits,both code systems use only 10 combinations.  The rest of the bit combinations never occur and are treated as don’t-care conditions. For the BCD-to-Excess-3 converter,A, B, C, and D are the input variables andW,X,Y, and Z are the output variables.The simplified Boolean expressions ofW, X,Y, and Z are given as: W = A + BC + BD X = B′C + B′D + BC′D′ Y = CD + C′D′ Z = D′
  • 10. BCD-TO-EXCESS-3 CODE CONVERTER  A good designer will always look forward to reduce the number and types of gates. It can be shown that reduction in the types and number of gates is possible to construct the BCD-to-Excess-3 code converter circuit if the above Boolean expressions are modified as follows.  W = A + BC + BD = A + B(C + D)  X = B′C + B′D + BC′D′ = B′(C + D) + BC′D′ = B′(C + D) + B(C + D)′  Y = CD + C′D′ = CD + (C + D)′  Z = D′
  • 11. EXCESS-3-TO-BCD  In this case,W, X,Y, and Z are considered as input variables and A, B, C, and D are termed as output variables.  The Boolean expressions of the outputs are  A =WX +WYZ  B = X′Y′ + X′Z′ + XYZ  C =Y′Z +YZ′  D = Z′.  Equations can be further modified as following on the above Boolean expressions.  A =WX +WYZ = W(X +YZ)  B = X′Y′ + X′Z′ + XYZ = X′(Y′ + Z′) + XYZ = X′(YZ)′ + XYZ  C = Y′Z +YZ′  D = Z′