SlideShare a Scribd company logo
THE DECODER
PREPARED BY: JOHN LEXTER L. EMBERADOR
         BSIE-201 ELECTRONICS
  SUBMITTED TO: MS. JANICE G. DULCE
   DATE SUBMITTED: AUGUST 13,2012
BASIC CONCEPT
1. A DECODER circuit is used to recognize the
  various combinations of an input word and
  provide an output for each combination.
2.If an input word contains N “bits” then the
  decoder can have 2N outputs.
3.A combination of gates can be used to
  construct a decoder circuit.
4.A BCD to Decimal Decoder is used to provide
  decimal information from a binary coded
  input.
INTRODUCTORY INFORMATION
● A decoder can be thought of in the
  opposite sense as an encoder. In
  encoder, the decimal number was coded
  so that digital operation could be
  performed using binary numbers. The
  binary information which was processed
  in a coded form by digital circuits can be
  recognized or decoded by a decoder
  circuit.
• The resulting outputs will represent
  the original input code. A typical
  example of this is a BCD to Decimal
  Decoder.
• Table 6-1 shows the decimal
  equivalents of a four “bit” binary
  word. In addition it shows the states
  of the four inputs ABCD to a decider
  required to represent decimal
  numbers 0 through 9.
The decoder
• Notice that the table shows a four bit binary
  word can produce up to 16 distinct outputs. A
  general rule for decoders is that when the
  number of inputs is equal to a number N, the
  decoder will produce 2N outputs.
• For table 6-1, N equals 4 and there will be 24
  or 16 outputs. However, we need only to
  produce one digit of a decimal number or the
  decimal symbols 0 through 9.
• Figure 6-1 shows a typical application for a
  BCD to Decimal decoder.
The decoder
• The functions shown will provide a
  two digit numeric readout using
  Nixie ® tubes as display devices.
• The requirement is to provide a
  signal to energize the proper
  number, 0 through 9 of the Nixie
  Tube, when a certain number of
  input pulses are counted in Binary
  Coded Decimal form.
The decoder
• That is, a four bit BCD word exist as inputs to
  the decoder and outputs 0 through 9 are
  required for Nixie tube drivers. The circuitry
  for a second digit is shown in block form, is
  identical to the first digit and accepts a pulse
  following each 0 through 9 sequence of the
  first digit.
• Simultaneously, a reset pulse within the
  counter will initiate the BCD code 0000 and
  the numeric 0 output. The system shown
  represents a two digit counter that will count
  up to 99 and then reset to 0.
IDENTIFYING BCD TO
     DECIMAL DECODER
• A BCD to Decimal Decoder circuit
  is shown in Figure 6-2.
The decoder
• As we can see from the figure 6-1 and
  table 6-1, the decoding process
  essentially requires the logic AND
  operation. The table and figure show the
  BCD inputs required to produce the
  decimal outputs 0 through 9.
• Recalling that all HI logic states are
  required to produce HI outputs, notice
  that the circuit shows inverters to
  provide HI inputs at the AND gates when
  BCD inputs A,B,C and D are L0 (A̅,B̅,C̅ and
  D̅).
• Also notice that all lines of the circuit are identified
  showing the input state and code place value for
  each input bit. For example, if the BCD code for the
  number 6 were to be decoded the input from table
  6-1 would be 0110 or D̅CBA̅. In figure 6-2 a L0 at the
  input to INVERTERS (D) and (A)(circles) will produce
  a HI at these outputs (no circles). The remaining 2
  input bits required to produce a HI output from AND
  gate (6), namely C and B are HI and will activate the
  gate without inversion. Looking at the input lines to
  gate (6) will verify that a HI will exist on all inputs for
  the code 0110 or D̅CBA̅ with place values (8̅421̅).
• All remaining gates of figure 6-
  2 can be analyzed in the same
  manner. A HI at the outputs
  would provide the signal
  required to activate a numeric
  readout.
ANALYZING TROUBLE SYMPTOMS OF
 DECODER CIRCUIT AND ITS SIGNAL
• Decoder circuit operation can be checked by
  noting the inputs and outputs. An analysis of
  the inputs and outputs usually indicates
  location of the circuit fault. Then, logic probe
  circuit tracing can be employed to isolate the
  exact location of the fault.
• For example, in the BCD decoder circuit of
  figure 6-3, a defective gate will affect only one
  decimal output, the gate might be open or
  shorted, in which case the output would
  remain permanently L0 or HI.
The decoder
• On the other hand, if one of the
  INVERTERS were defective, the
  decimal outputs would be incorrect
  for several inputs. If the C̅ inverter
  were in a permanently HI state, for
  example, then as the BCD inputs
  proceeded through a count from 000
  to 111, we would get the outputs
  shown in table 6-3.
The decoder
POST-TEST
I.IDENTIFICATION
1.A DECODER can be thought of in the
  opposite sense as an __________.
2.What is the general rule for decoder, if
  the number of the inputs is equal to a
  number N, the decoder will produce
  _________ outputs.
3.__________ is used to provide decimal
  information from a binary coded input.
4.In the figure 6-1 and table 6-1, the decoding
   process essentially requires what kind of logic
   operation?
5.If one of the INVERTERS were defective, what
   would happened to the decimal output of a
   decoder circuit?
II. Rewrite the following Input Binary Code into
   Digital Logic State.
1.0100
2.1001
3.0011
4.1100
5.1010
III. Give the Output Decimal Number of the
   following Digital Logic State.
1.DC̅BA
2.D̅CBA̅
3.D̅C̅B̅A
4.DC̅BA̅
5.DCB̅A
IV. Give the Output Decoder of the following
   Inputs in the general rule 2N.
1.N=3
2.N=5
3.N=8
4.N=10
5.N=12
KEY ANSWERS
I.
1.ENCODER
2.2N
3.BCD TO DECIMAL DECODER
4.AND OPERATION
5.INCORRECT FOR SEVERAL INPUTS
II.
1.D̅CB̅A̅
2.DC̅B̅A
3.D̅C̅BA
4.DCB̅A̅
5.DC̅BA̅
KEY ANSWERS
III.
1.11
2.6
3.1
4.10
5.13
IV.
1.23 = 8
2.25 =32
3.28 =256
4.210 =1024
5.212 =4096

More Related Content

PPTX
What is a decoder and 2 to 4 DECODER
PPTX
Decoders
PPTX
Encoders and decoders
PPTX
PPT
08 decoder
PPT
Encoder decoder
PPT
encoder and decoder in digital electronics
PPT
Decoder for digital electronics
What is a decoder and 2 to 4 DECODER
Decoders
Encoders and decoders
08 decoder
Encoder decoder
encoder and decoder in digital electronics
Decoder for digital electronics

What's hot (20)

PPTX
decorder and encoder and its applications
PPT
PPTX
Multiplexer
DOCX
Types of encoders and decoders with truth tables
PPTX
Decoder
PPTX
Encoders and decoders
PDF
Decoders
PDF
Encoder & Decoder
PPTX
Encoders
PPT
Encoders
PPT
Digital logic design DLD Logic gates
PPTX
Digital logic gates
PPTX
Combinational circuit
PPTX
Encoder and decoder
PPT
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
PPT
decoder and encoder
PDF
Saur lecture 16
PPT
Digital Logic circuit
PPTX
multiplexer and d-multiplexer
decorder and encoder and its applications
Multiplexer
Types of encoders and decoders with truth tables
Decoder
Encoders and decoders
Decoders
Encoder & Decoder
Encoders
Encoders
Digital logic design DLD Logic gates
Digital logic gates
Combinational circuit
Encoder and decoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
decoder and encoder
Saur lecture 16
Digital Logic circuit
multiplexer and d-multiplexer
Ad

Viewers also liked (11)

PPT
Decoder for digital electronics
PPT
Ceng232 Decoder Multiplexer Adder
PPT
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
PDF
Half subtracter
PDF
Half Subtractor : Combiational Circuit
PDF
RSA NetWitness Log Decoder
PPTX
logical circuits substractors
PPT
Encoders and Decoders
PPTX
B sc cs i bo-de u-iii counters & registers
PPTX
Encoder and decoder
PPTX
Design half ,full Adder and Subtractor
Decoder for digital electronics
Ceng232 Decoder Multiplexer Adder
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Half subtracter
Half Subtractor : Combiational Circuit
RSA NetWitness Log Decoder
logical circuits substractors
Encoders and Decoders
B sc cs i bo-de u-iii counters & registers
Encoder and decoder
Design half ,full Adder and Subtractor
Ad

Similar to The decoder (20)

PDF
Combinational circuits
PDF
Chapter-04.pdf
PPT
STLD-Combinational logic design
PPTX
decoders121-170714184489769876987698749.pptx
PPTX
DCF-Combinational circuit
PPTX
Decoders-Digital Electronics
PPTX
Unit 4 combinational circuit
PPTX
Encoders and decoders
PPTX
B sc3 unit 4 combi..lckt
PPTX
Chapter 5: Cominational Logic with MSI and LSI
PDF
Combinational logic 1
PPTX
digital electronics..
PPT
Digital Logic Design
PDF
Lect 1 unit 2.pdf
PDF
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
PDF
Encoder_decoder_si.pdf
PPTX
Digital VLSI - Unit 2.pptx
PPTX
ATT SMK.pptx
PPTX
lecture_19.pptx
PPTX
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
Combinational circuits
Chapter-04.pdf
STLD-Combinational logic design
decoders121-170714184489769876987698749.pptx
DCF-Combinational circuit
Decoders-Digital Electronics
Unit 4 combinational circuit
Encoders and decoders
B sc3 unit 4 combi..lckt
Chapter 5: Cominational Logic with MSI and LSI
Combinational logic 1
digital electronics..
Digital Logic Design
Lect 1 unit 2.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
Encoder_decoder_si.pdf
Digital VLSI - Unit 2.pptx
ATT SMK.pptx
lecture_19.pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx

More from john lexter emberador (9)

PDF
BASIC LOGIC GATES.pdf
PDF
Analog Multimeter.pdf
PDF
About anthropology
PPT
18019469 history-as-a-discipline
PPTX
Presentation1
PPTX
J. parallel (synchronous) counters
PPTX
J. parallel (synchronous) counters
PPTX
G. ripple counter
PPTX
BASIC LOGIC GATES.pdf
Analog Multimeter.pdf
About anthropology
18019469 history-as-a-discipline
Presentation1
J. parallel (synchronous) counters
J. parallel (synchronous) counters
G. ripple counter

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation theory and applications.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
Cloud computing and distributed systems.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
“AI and Expert System Decision Support & Business Intelligence Systems”
Programs and apps: productivity, graphics, security and other tools
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation theory and applications.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Cloud computing and distributed systems.
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

The decoder

  • 1. THE DECODER PREPARED BY: JOHN LEXTER L. EMBERADOR BSIE-201 ELECTRONICS SUBMITTED TO: MS. JANICE G. DULCE DATE SUBMITTED: AUGUST 13,2012
  • 2. BASIC CONCEPT 1. A DECODER circuit is used to recognize the various combinations of an input word and provide an output for each combination. 2.If an input word contains N “bits” then the decoder can have 2N outputs. 3.A combination of gates can be used to construct a decoder circuit. 4.A BCD to Decimal Decoder is used to provide decimal information from a binary coded input.
  • 3. INTRODUCTORY INFORMATION ● A decoder can be thought of in the opposite sense as an encoder. In encoder, the decimal number was coded so that digital operation could be performed using binary numbers. The binary information which was processed in a coded form by digital circuits can be recognized or decoded by a decoder circuit.
  • 4. • The resulting outputs will represent the original input code. A typical example of this is a BCD to Decimal Decoder. • Table 6-1 shows the decimal equivalents of a four “bit” binary word. In addition it shows the states of the four inputs ABCD to a decider required to represent decimal numbers 0 through 9.
  • 6. • Notice that the table shows a four bit binary word can produce up to 16 distinct outputs. A general rule for decoders is that when the number of inputs is equal to a number N, the decoder will produce 2N outputs. • For table 6-1, N equals 4 and there will be 24 or 16 outputs. However, we need only to produce one digit of a decimal number or the decimal symbols 0 through 9. • Figure 6-1 shows a typical application for a BCD to Decimal decoder.
  • 8. • The functions shown will provide a two digit numeric readout using Nixie ® tubes as display devices. • The requirement is to provide a signal to energize the proper number, 0 through 9 of the Nixie Tube, when a certain number of input pulses are counted in Binary Coded Decimal form.
  • 10. • That is, a four bit BCD word exist as inputs to the decoder and outputs 0 through 9 are required for Nixie tube drivers. The circuitry for a second digit is shown in block form, is identical to the first digit and accepts a pulse following each 0 through 9 sequence of the first digit. • Simultaneously, a reset pulse within the counter will initiate the BCD code 0000 and the numeric 0 output. The system shown represents a two digit counter that will count up to 99 and then reset to 0.
  • 11. IDENTIFYING BCD TO DECIMAL DECODER • A BCD to Decimal Decoder circuit is shown in Figure 6-2.
  • 13. • As we can see from the figure 6-1 and table 6-1, the decoding process essentially requires the logic AND operation. The table and figure show the BCD inputs required to produce the decimal outputs 0 through 9. • Recalling that all HI logic states are required to produce HI outputs, notice that the circuit shows inverters to provide HI inputs at the AND gates when BCD inputs A,B,C and D are L0 (A̅,B̅,C̅ and D̅).
  • 14. • Also notice that all lines of the circuit are identified showing the input state and code place value for each input bit. For example, if the BCD code for the number 6 were to be decoded the input from table 6-1 would be 0110 or D̅CBA̅. In figure 6-2 a L0 at the input to INVERTERS (D) and (A)(circles) will produce a HI at these outputs (no circles). The remaining 2 input bits required to produce a HI output from AND gate (6), namely C and B are HI and will activate the gate without inversion. Looking at the input lines to gate (6) will verify that a HI will exist on all inputs for the code 0110 or D̅CBA̅ with place values (8̅421̅).
  • 15. • All remaining gates of figure 6- 2 can be analyzed in the same manner. A HI at the outputs would provide the signal required to activate a numeric readout.
  • 16. ANALYZING TROUBLE SYMPTOMS OF DECODER CIRCUIT AND ITS SIGNAL • Decoder circuit operation can be checked by noting the inputs and outputs. An analysis of the inputs and outputs usually indicates location of the circuit fault. Then, logic probe circuit tracing can be employed to isolate the exact location of the fault. • For example, in the BCD decoder circuit of figure 6-3, a defective gate will affect only one decimal output, the gate might be open or shorted, in which case the output would remain permanently L0 or HI.
  • 18. • On the other hand, if one of the INVERTERS were defective, the decimal outputs would be incorrect for several inputs. If the C̅ inverter were in a permanently HI state, for example, then as the BCD inputs proceeded through a count from 000 to 111, we would get the outputs shown in table 6-3.
  • 20. POST-TEST I.IDENTIFICATION 1.A DECODER can be thought of in the opposite sense as an __________. 2.What is the general rule for decoder, if the number of the inputs is equal to a number N, the decoder will produce _________ outputs. 3.__________ is used to provide decimal information from a binary coded input.
  • 21. 4.In the figure 6-1 and table 6-1, the decoding process essentially requires what kind of logic operation? 5.If one of the INVERTERS were defective, what would happened to the decimal output of a decoder circuit? II. Rewrite the following Input Binary Code into Digital Logic State. 1.0100 2.1001 3.0011 4.1100 5.1010
  • 22. III. Give the Output Decimal Number of the following Digital Logic State. 1.DC̅BA 2.D̅CBA̅ 3.D̅C̅B̅A 4.DC̅BA̅ 5.DCB̅A IV. Give the Output Decoder of the following Inputs in the general rule 2N. 1.N=3 2.N=5 3.N=8 4.N=10 5.N=12
  • 23. KEY ANSWERS I. 1.ENCODER 2.2N 3.BCD TO DECIMAL DECODER 4.AND OPERATION 5.INCORRECT FOR SEVERAL INPUTS II. 1.D̅CB̅A̅ 2.DC̅B̅A 3.D̅C̅BA 4.DCB̅A̅ 5.DC̅BA̅
  • 24. KEY ANSWERS III. 1.11 2.6 3.1 4.10 5.13 IV. 1.23 = 8 2.25 =32 3.28 =256 4.210 =1024 5.212 =4096