SlideShare una empresa de Scribd logo
1 de 12
Decoders

                         Digital Logic and Software
                         Applications
                         Level 4
© University of Wales Newport 2009 This work is licensed under a Creative Commons Attribution 2.0 License.
The following presentation is a part of the level 4 module -- Digital Logic and Signal Principles. This resources is a part of the 2009/2010
Engineering (foundation degree, BEng and HN) courses from University of Wales Newport (course codes H101, H691, H620, HH37 and 001H).
This resource is a part of the core modules for the full time 1st year undergraduate programme.

The BEng & Foundation Degrees and HNC/D in Engineering are designed to meet the needs of employers by placing the emphasis on the
theoretical, practical and vocational aspects of engineering within the workplace and beyond. Engineering is becoming more high profile, and
therefore more in demand as a skill set, in today’s high-tech world. This course has been designed to provide you with knowledge, skills and
practical experience encountered in everyday engineering environments.


Contents
 Decoder
 Pin Arrangement & Truth Table
 Example Diagrams
 Credits


In addition to the resource below, there are supporting documents which should be used in combination with this
resource. Please see:
 Holdsworth B, Digital Logic Design, Newnes 2002
 Crisp J, Introduction to Digital Systems, Newnes 2001




                                                                 Decoders
Decoder



For a general description of decoder, please refer to

      http://en.wikipedia.org/wiki/Decoder




                        Decoders
Example: A 3-to-8 Line Single Bit Decoder
 G1
                               The inputs G1, G2A and G2B
G2A
                               must be of the correct logical
G2B                            value for the AND gate to
                               generate a 1 (this is G1 = 1,
A
                       Y0
                               G2A = G2B = 0)
B
C
                               If these are not correct each
                               of the NAND gates generates
                       Y1      a 1 out. It is worth noting at
                               this point that the outputs Y0
                               – Y7 are active low i.e. a 0 on
                       Y2      the output indicates an
                               activated output.
                            Decoders
The 8 NAND gates now have all eight combinations of the
three inputs A, B and C.
The Y0 NAND has not A, not B and not C so when A = B = C
= 0 then Y0 = 0 as long as the G inputs are of the correct
logic levels.
The other NANDs have other combinations – Y2 not A, B
and not C (010) and this would make Y2 = 0.

The integrated circuit that performs this function is a
74LS138.

Similar to this is the 74LS139 which contains 2 two to
four line decodes which work in a similar way. These have a
G1 input only and this must be at logic 0 for the outputs to
be activated.
                            Decoders
Pin Arrangement & Truth Table 74138

http://upgrade.kongju.ac.kr/data/ttl/74138.html




                      Decoders
Pin Arrangement 74139


http://upgrade.kongju.ac.kr/data/ttl/74139.html




                      Decoders
INPUTS
                                      OUTPUTS
ENABLE     SELECT
  G1      A      B     Y0             Y1   Y2   Y3
   H      X      X     H              H    H    H
   L      L      L     L              H    H    H
   L      L      H     H              L    H    H
   L      H      L     H              H    L    H
   L      H      H     H              H    H    L


Note the enable is active low


Decoders can be used to realise many logic
problems.
                           Decoders
Example
Three judges A, B and C vote: 1 guilty and 0 not guilty.
Design a logic circuit using NAND only which will allow a
majority decision (F) to be found. e.g. A = 1, B = 0, C = 0
gives an output of 0 (not guilty)
                                       Output when
                                       inputs are
    A         A        Y0
    B         B        Y1              011, 101, 110, 111
    C         C        Y2
                       Y3
                       Y4
    1         G1       Y5
    0         G2A      Y6
    0         G2B      Y7

                               NAND is used as we have
                               active low outputs
A 4-to-16 line decoder can be constructed in the
following way:
A                A      Y0          Y0
B                B      Y1          Y1
C                C      Y2          Y2
                        Y3          Y3
                        Y4          Y4
          1      G1     Y5          Y5
D                G2A    Y6          Y6
          0      G2B    Y7          Y7



                 A      Y0          Y8
                 B      Y1          Y9
                 C      Y2          Y10
                        Y3          Y11
                        Y4          Y12
                 G1     Y5          Y13
          0      G2A    Y6          Y14
          0      G2B    Y7          Y15

                         Decoders
How would you realise the Greater than, Less than and
Equal to problem?

A                A      Y0       Y0
B                B      Y1       Y1
C                C      Y2       Y2
                        Y3       Y3
                        Y4       Y4
         1       G1     Y5       Y5
D                G2A    Y6       Y6
         0       G2B    Y7       Y7



                 A      Y0       Y8
                 B      Y1       Y9
                 C      Y2       Y10
                        Y3       Y11
                        Y4       Y12
                 G1     Y5       Y13
         0       G2A    Y6       Y14
         0       G2B    Y7       Y15
This resource was created by the University of Wales Newport and released as an open educational resource
through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open
Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme.




© 2009 University of Wales Newport



This work is licensed under a Creative Commons Attribution 2.0 License.

The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England &
Wales Licence. All reproductions must comply with the terms of that licence.

The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only,
provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher.

The name and logo of University of Wales Newport is a trade mark and all rights in it are reserved. The name and logo should not be
reproduced without the express authorisation of the University.




                                                                 Decoders

Más contenido relacionado

Destacado (12)

Number codes
Number codesNumber codes
Number codes
 
decorder and encoder and its applications
decorder and encoder and its applicationsdecorder and encoder and its applications
decorder and encoder and its applications
 
Semiconductor theory
Semiconductor theorySemiconductor theory
Semiconductor theory
 
Solution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsSolution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systems
 
Introduction to fourier analysis
Introduction to fourier analysisIntroduction to fourier analysis
Introduction to fourier analysis
 
8051 Assembly Language Programming
8051 Assembly Language Programming8051 Assembly Language Programming
8051 Assembly Language Programming
 
Solution manual 8051 microcontroller by mazidi
Solution manual 8051 microcontroller by mazidiSolution manual 8051 microcontroller by mazidi
Solution manual 8051 microcontroller by mazidi
 
B sc cs i bo-de u-iii combitional logic circuit
B sc cs i bo-de u-iii combitional logic circuitB sc cs i bo-de u-iii combitional logic circuit
B sc cs i bo-de u-iii combitional logic circuit
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
Automatic irrigation 1st review(ieee project ece dept)
Automatic irrigation 1st review(ieee project ece dept)Automatic irrigation 1st review(ieee project ece dept)
Automatic irrigation 1st review(ieee project ece dept)
 
Logic gates
Logic gatesLogic gates
Logic gates
 
8051 experiments1
8051 experiments18051 experiments1
8051 experiments1
 

Similar a Decoders student

Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxSanjaiPrasad
 
SPICE MODEL of TC74AC541FW in SPICE PARK
SPICE MODEL of TC74AC541FW in SPICE PARKSPICE MODEL of TC74AC541FW in SPICE PARK
SPICE MODEL of TC74AC541FW in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74AC541F in SPICE PARK
SPICE MODEL of TC74AC541F in SPICE PARKSPICE MODEL of TC74AC541F in SPICE PARK
SPICE MODEL of TC74AC541F in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74AC541FT in SPICE PARK
SPICE MODEL of TC74AC541FT in SPICE PARKSPICE MODEL of TC74AC541FT in SPICE PARK
SPICE MODEL of TC74AC541FT in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74AC541P in SPICE PARK
SPICE MODEL of TC74AC541P in SPICE PARKSPICE MODEL of TC74AC541P in SPICE PARK
SPICE MODEL of TC74AC541P in SPICE PARKTsuyoshi Horigome
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gatesbhardubhai
 
SPICE MODEL of TC74VHC541F in SPICE PARK
SPICE MODEL of TC74VHC541F in SPICE PARKSPICE MODEL of TC74VHC541F in SPICE PARK
SPICE MODEL of TC74VHC541F in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74VHC541FT in SPICE PARK
SPICE MODEL of TC74VHC541FT in SPICE PARKSPICE MODEL of TC74VHC541FT in SPICE PARK
SPICE MODEL of TC74VHC541FT in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74VHC541FW in SPICE PARK
SPICE MODEL of TC74VHC541FW in SPICE PARKSPICE MODEL of TC74VHC541FW in SPICE PARK
SPICE MODEL of TC74VHC541FW in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74ACT541FW in SPICE PARK
SPICE MODEL of TC74ACT541FW in SPICE PARKSPICE MODEL of TC74ACT541FW in SPICE PARK
SPICE MODEL of TC74ACT541FW in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74ACT541F in SPICE PARK
SPICE MODEL of TC74ACT541F in SPICE PARKSPICE MODEL of TC74ACT541F in SPICE PARK
SPICE MODEL of TC74ACT541F in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74ACT541FT in SPICE PARK
SPICE MODEL of TC74ACT541FT in SPICE PARKSPICE MODEL of TC74ACT541FT in SPICE PARK
SPICE MODEL of TC74ACT541FT in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of TC74ACT541P in SPICE PARK
SPICE MODEL of TC74ACT541P in SPICE PARKSPICE MODEL of TC74ACT541P in SPICE PARK
SPICE MODEL of TC74ACT541P in SPICE PARKTsuyoshi Horigome
 
Microprocessor based system design
Microprocessor based system designMicroprocessor based system design
Microprocessor based system designTHANDAIAH PRABU
 
MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…Dr. Loganathan R
 

Similar a Decoders student (20)

08 decoder
08 decoder08 decoder
08 decoder
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
 
Bca i sem de lab
Bca i sem  de labBca i sem  de lab
Bca i sem de lab
 
SPICE MODEL of TC74AC541FW in SPICE PARK
SPICE MODEL of TC74AC541FW in SPICE PARKSPICE MODEL of TC74AC541FW in SPICE PARK
SPICE MODEL of TC74AC541FW in SPICE PARK
 
SPICE MODEL of TC74AC541F in SPICE PARK
SPICE MODEL of TC74AC541F in SPICE PARKSPICE MODEL of TC74AC541F in SPICE PARK
SPICE MODEL of TC74AC541F in SPICE PARK
 
SPICE MODEL of TC74AC541FT in SPICE PARK
SPICE MODEL of TC74AC541FT in SPICE PARKSPICE MODEL of TC74AC541FT in SPICE PARK
SPICE MODEL of TC74AC541FT in SPICE PARK
 
SPICE MODEL of TC74AC541P in SPICE PARK
SPICE MODEL of TC74AC541P in SPICE PARKSPICE MODEL of TC74AC541P in SPICE PARK
SPICE MODEL of TC74AC541P in SPICE PARK
 
Digital dice
Digital diceDigital dice
Digital dice
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
SPICE MODEL of TC74VHC541F in SPICE PARK
SPICE MODEL of TC74VHC541F in SPICE PARKSPICE MODEL of TC74VHC541F in SPICE PARK
SPICE MODEL of TC74VHC541F in SPICE PARK
 
SPICE MODEL of TC74VHC541FT in SPICE PARK
SPICE MODEL of TC74VHC541FT in SPICE PARKSPICE MODEL of TC74VHC541FT in SPICE PARK
SPICE MODEL of TC74VHC541FT in SPICE PARK
 
SPICE MODEL of TC74VHC541FW in SPICE PARK
SPICE MODEL of TC74VHC541FW in SPICE PARKSPICE MODEL of TC74VHC541FW in SPICE PARK
SPICE MODEL of TC74VHC541FW in SPICE PARK
 
SPICE MODEL of TC74ACT541FW in SPICE PARK
SPICE MODEL of TC74ACT541FW in SPICE PARKSPICE MODEL of TC74ACT541FW in SPICE PARK
SPICE MODEL of TC74ACT541FW in SPICE PARK
 
SPICE MODEL of TC74ACT541F in SPICE PARK
SPICE MODEL of TC74ACT541F in SPICE PARKSPICE MODEL of TC74ACT541F in SPICE PARK
SPICE MODEL of TC74ACT541F in SPICE PARK
 
SPICE MODEL of TC74ACT541FT in SPICE PARK
SPICE MODEL of TC74ACT541FT in SPICE PARKSPICE MODEL of TC74ACT541FT in SPICE PARK
SPICE MODEL of TC74ACT541FT in SPICE PARK
 
SPICE MODEL of TC74ACT541P in SPICE PARK
SPICE MODEL of TC74ACT541P in SPICE PARKSPICE MODEL of TC74ACT541P in SPICE PARK
SPICE MODEL of TC74ACT541P in SPICE PARK
 
Microprocessor based system design
Microprocessor based system designMicroprocessor based system design
Microprocessor based system design
 
PAL
PALPAL
PAL
 
Assignment#1a
Assignment#1aAssignment#1a
Assignment#1a
 
MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…
 

Más de School of Design Engineering Fashion & Technology (DEFT), University of Wales, Newport (8)

Number bases
Number basesNumber bases
Number bases
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Stabilised Power Supplies
Stabilised Power SuppliesStabilised Power Supplies
Stabilised Power Supplies
 
Amplifier Compensation
Amplifier CompensationAmplifier Compensation
Amplifier Compensation
 
Counter And Sequencer Design- Student
Counter And Sequencer Design- StudentCounter And Sequencer Design- Student
Counter And Sequencer Design- Student
 
Chapter 6 Probability
Chapter 6  ProbabilityChapter 6  Probability
Chapter 6 Probability
 
Chapter 4 Integration
Chapter 4  IntegrationChapter 4  Integration
Chapter 4 Integration
 

Último

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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 ImpactPECB
 
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.pptxAreebaZafar22
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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 SectorsAssociation for Project Management
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Último (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
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
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Decoders student

  • 1. Decoders Digital Logic and Software Applications Level 4 © University of Wales Newport 2009 This work is licensed under a Creative Commons Attribution 2.0 License.
  • 2. The following presentation is a part of the level 4 module -- Digital Logic and Signal Principles. This resources is a part of the 2009/2010 Engineering (foundation degree, BEng and HN) courses from University of Wales Newport (course codes H101, H691, H620, HH37 and 001H). This resource is a part of the core modules for the full time 1st year undergraduate programme. The BEng & Foundation Degrees and HNC/D in Engineering are designed to meet the needs of employers by placing the emphasis on the theoretical, practical and vocational aspects of engineering within the workplace and beyond. Engineering is becoming more high profile, and therefore more in demand as a skill set, in today’s high-tech world. This course has been designed to provide you with knowledge, skills and practical experience encountered in everyday engineering environments. Contents  Decoder  Pin Arrangement & Truth Table  Example Diagrams  Credits In addition to the resource below, there are supporting documents which should be used in combination with this resource. Please see:  Holdsworth B, Digital Logic Design, Newnes 2002  Crisp J, Introduction to Digital Systems, Newnes 2001 Decoders
  • 3. Decoder For a general description of decoder, please refer to http://en.wikipedia.org/wiki/Decoder Decoders
  • 4. Example: A 3-to-8 Line Single Bit Decoder G1 The inputs G1, G2A and G2B G2A must be of the correct logical G2B value for the AND gate to generate a 1 (this is G1 = 1, A Y0 G2A = G2B = 0) B C If these are not correct each of the NAND gates generates Y1 a 1 out. It is worth noting at this point that the outputs Y0 – Y7 are active low i.e. a 0 on Y2 the output indicates an activated output. Decoders
  • 5. The 8 NAND gates now have all eight combinations of the three inputs A, B and C. The Y0 NAND has not A, not B and not C so when A = B = C = 0 then Y0 = 0 as long as the G inputs are of the correct logic levels. The other NANDs have other combinations – Y2 not A, B and not C (010) and this would make Y2 = 0. The integrated circuit that performs this function is a 74LS138. Similar to this is the 74LS139 which contains 2 two to four line decodes which work in a similar way. These have a G1 input only and this must be at logic 0 for the outputs to be activated. Decoders
  • 6. Pin Arrangement & Truth Table 74138 http://upgrade.kongju.ac.kr/data/ttl/74138.html Decoders
  • 8. INPUTS OUTPUTS ENABLE SELECT G1 A B Y0 Y1 Y2 Y3 H X X H H H H L L L L H H H L L H H L H H L H L H H L H L H H H H H L Note the enable is active low Decoders can be used to realise many logic problems. Decoders
  • 9. Example Three judges A, B and C vote: 1 guilty and 0 not guilty. Design a logic circuit using NAND only which will allow a majority decision (F) to be found. e.g. A = 1, B = 0, C = 0 gives an output of 0 (not guilty) Output when inputs are A A Y0 B B Y1 011, 101, 110, 111 C C Y2 Y3 Y4 1 G1 Y5 0 G2A Y6 0 G2B Y7 NAND is used as we have active low outputs
  • 10. A 4-to-16 line decoder can be constructed in the following way: A A Y0 Y0 B B Y1 Y1 C C Y2 Y2 Y3 Y3 Y4 Y4 1 G1 Y5 Y5 D G2A Y6 Y6 0 G2B Y7 Y7 A Y0 Y8 B Y1 Y9 C Y2 Y10 Y3 Y11 Y4 Y12 G1 Y5 Y13 0 G2A Y6 Y14 0 G2B Y7 Y15 Decoders
  • 11. How would you realise the Greater than, Less than and Equal to problem? A A Y0 Y0 B B Y1 Y1 C C Y2 Y2 Y3 Y3 Y4 Y4 1 G1 Y5 Y5 D G2A Y6 Y6 0 G2B Y7 Y7 A Y0 Y8 B Y1 Y9 C Y2 Y10 Y3 Y11 Y4 Y12 G1 Y5 Y13 0 G2A Y6 Y14 0 G2B Y7 Y15
  • 12. This resource was created by the University of Wales Newport and released as an open educational resource through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme. © 2009 University of Wales Newport This work is licensed under a Creative Commons Attribution 2.0 License. The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales Licence. All reproductions must comply with the terms of that licence. The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only, provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher. The name and logo of University of Wales Newport is a trade mark and all rights in it are reserved. The name and logo should not be reproduced without the express authorisation of the University. Decoders