SlideShare a Scribd company logo
1 of 25
Review: Additional Boolean operations  September 22, 2003 Decoders NAND (NOT-AND) NOR (NOT-OR) XOR (eXclusive OR) (xy)’ = x’ + y’ (x + y)’ = x’ y’ x  y = x’y + xy’ Operation: Expressions: Truth table: Logic gates:
XOR gates ,[object Object],[object Object],[object Object],September 22, 2003 Decoders x  y = x’ y + x y’
More XOR tidbits ,[object Object],[object Object],[object Object],September 22, 2003 Decoders x  (y  z)  = x  (y’z + yz’) [ Definition of XOR ] = x’(y’z + yz’) + x(y’z + yz’)’ [ Definition of XOR ] = x’y’z + x’yz’ + x(y’z + yz’)’ [ Distributive ] = x’y’z + x’yz’ + x((y’z)’ (yz’)’) [ DeMorgan’s ] = x’y’z + x’yz’ + x((y + z’)(y’ + z)) [ DeMorgan’s ] = x’y’z + x’yz’ + x(yz + y’z’) [ Distributive ] = x’y’z + x’yz’ + xyz + xy’z’ [ Distributive ]
XNOR gates ,[object Object],[object Object],September 22, 2003 Decoders (x  y)’ = x’y’ + xy
Design considerations, and where they come from ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders
Decoders ,[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders
What is a decoder ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders
What a decoder does ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders
How can you build a 2-to-4 decoder? ,[object Object],[object Object],September 22, 2003 Decoders Q0 = S1’ S0’ Q1 = S1’ S0 Q2 = S1 S0’ Q3 = S1 S0
A picture of a 2-to-4 decoder September 22, 2003 Decoders
Enable inputs ,[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders
An aside: abbreviated truth tables ,[object Object],[object Object],September 22, 2003 Decoders
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Blocks and abstraction September 22, 2003 Decoders Q0 = S1’ S0’ Q1 = S1’ S0 Q2 = S1 S0’ Q3 = S1 S0
A 3-to-8 decoder ,[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders Q0 = S2’ S1’ S0’ Q1 = S2’ S1’ S0 Q2 = S2’ S1 S0’ Q3 = S2’ S1 S0 Q4 = S2 S1’ S0’ Q5 = S2 S1’ S0 Q6 = S2 S1 S0’ Q7 = S2 S1 S0
So what good is a decoder? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders Q0 = S1’ S0’ Q1 = S1’ S0 Q2 = S1 S0’ Q3 = S1 S0
Design example: addition ,[object Object],[object Object],[object Object],September 22, 2003 Decoders 1 + 1 + 1 = 11 0 + 1 + 1 = 10 C(X,Y,Z) = m(3,5,6,7) S(X,Y,Z) = m(1,2,4,7)
[object Object],[object Object],Decoder-based adder September 22, 2003 Decoders C(X,Y,Z) = m(3,5,6,7) S(X,Y,Z) = m(1,2,4,7)
Using just one decoder ,[object Object],September 22, 2003 Decoders C(X,Y,Z) = m(3,5,6,7) S(X,Y,Z) = m(1,2,4,7)
Building a 3-to-8 decoder ,[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders Q0 = S2’ S1’ S0’ = m 0 Q1 = S2’ S1’ S0 = m 1 Q2 = S2’ S1 S0’ = m 2 Q3 = S2’ S1 S0 = m 3 Q4 = S2 S1’ S0’ = m 4 Q5 = S2 S1’ S0 = m 5 Q6 = S2 S1 S0’ = m 6 Q7 = S2 S1 S0 = m 7
Decoder expansion ,[object Object],September 22, 2003 Decoders
Modularity ,[object Object],[object Object],[object Object],September 22, 2003 Decoders
A variation of the standard decoder ,[object Object],[object Object],September 22, 2003 Decoders
Separated at birth? ,[object Object],[object Object],[object Object],September 22, 2003 Decoders Q3 = S1 S0 Q2 = S1 S0’ Q1 = S1’ S0 Q0 = S1’ S0’ Q3’ = (S1 S0)’ = S1’ + S0’ Q2’ = (S1 S0’)’ = S1’ + S0 Q1’ = (S1’ S0)’ = S1 + S0’ Q0’ = (S1’ S0’)’ = S1 + S0
Active-low decoder example ,[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],September 22, 2003 Decoders

More Related Content

What's hot

What's hot (20)

3. multiplexer
3. multiplexer3. multiplexer
3. multiplexer
 
Decoder
DecoderDecoder
Decoder
 
08 decoder
08 decoder08 decoder
08 decoder
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Encoders
EncodersEncoders
Encoders
 
Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronics
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
 
Octal to binary encoder
Octal to binary encoderOctal to binary encoder
Octal to binary encoder
 
Arithmetic circuits
Arithmetic circuitsArithmetic circuits
Arithmetic circuits
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
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...
 
decorder and encoder and its applications
decorder and encoder and its applicationsdecorder and encoder and its applications
decorder and encoder and its applications
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Encoder
EncoderEncoder
Encoder
 
Encoders
EncodersEncoders
Encoders
 
Read only memory(rom)
Read only memory(rom)Read only memory(rom)
Read only memory(rom)
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 

Similar to 07Decoders121

Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Addergueste731a4
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1Techglyphs
 
Switching theory unit 2
Switching theory unit 2Switching theory unit 2
Switching theory unit 2SURBHI SAROHA
 
Practica 4 algebra booleana por compuertas lógicas.
Practica 4 algebra booleana por compuertas lógicas.Practica 4 algebra booleana por compuertas lógicas.
Practica 4 algebra booleana por compuertas lógicas.JavierDeJesusCamacho1
 
Proyecto final curso – Electrónica Digital I
Proyecto final curso – Electrónica Digital IProyecto final curso – Electrónica Digital I
Proyecto final curso – Electrónica Digital IDaniel A. Lopez Ch.
 
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/ECESeshaVidhyaS
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manualNitesh Dubey
 
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.pptunit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.pptJ. Glory Precious
 

Similar to 07Decoders121 (20)

Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Adder
 
Amit vish
Amit vishAmit vish
Amit vish
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Switching theory unit 2
Switching theory unit 2Switching theory unit 2
Switching theory unit 2
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Practica 4 algebra booleana por compuertas lógicas.
Practica 4 algebra booleana por compuertas lógicas.Practica 4 algebra booleana por compuertas lógicas.
Practica 4 algebra booleana por compuertas lógicas.
 
2dig circ
2dig circ2dig circ
2dig circ
 
10 multiplexers-de mux
10 multiplexers-de mux10 multiplexers-de mux
10 multiplexers-de mux
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
logic gates By ZAK
logic gates By ZAKlogic gates By ZAK
logic gates By ZAK
 
Proyecto final curso – Electrónica Digital I
Proyecto final curso – Electrónica Digital IProyecto final curso – Electrónica Digital I
Proyecto final curso – Electrónica Digital I
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
3306565.ppt
3306565.ppt3306565.ppt
3306565.ppt
 
Combinational Logic Circuits
Combinational Logic CircuitsCombinational Logic Circuits
Combinational Logic Circuits
 
Digital Design for B.Tech. / B.Sc.
Digital Design for B.Tech. / B.Sc.Digital Design for B.Tech. / B.Sc.
Digital Design for B.Tech. / B.Sc.
 
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
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manual
 
Encoder
EncoderEncoder
Encoder
 
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.pptunit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
 
cs 3351 dpco
cs 3351 dpcocs 3351 dpco
cs 3351 dpco
 

More from Tatyana Remayeva (20)

Plastic cutlery promo
Plastic cutlery promoPlastic cutlery promo
Plastic cutlery promo
 
6. Alignment
6. Alignment6. Alignment
6. Alignment
 
AutomationTesting_HOW_
AutomationTesting_HOW_AutomationTesting_HOW_
AutomationTesting_HOW_
 
2003 New
2003 New 2003 New
2003 New
 
56-FP_Wireless1
56-FP_Wireless156-FP_Wireless1
56-FP_Wireless1
 
@11111111Quickpoint How To
@11111111Quickpoint How To@11111111Quickpoint How To
@11111111Quickpoint How To
 
ankitt
ankittankitt
ankitt
 
48
4848
48
 
2012 2007_2
2012 2007_22012 2007_2
2012 2007_2
 
2003links
2003links2003links
2003links
 
Block arrows
Block arrowsBlock arrows
Block arrows
 
!!!!!!9
!!!!!!9!!!!!!9
!!!!!!9
 
!!!!!!!!!@@@@
!!!!!!!!!@@@@!!!!!!!!!@@@@
!!!!!!!!!@@@@
 
!!!!!!!!!90
!!!!!!!!!90!!!!!!!!!90
!!!!!!!!!90
 
ренейм пптха
ренейм пптхаренейм пптха
ренейм пптха
 
Untitled
UntitledUntitled
Untitled
 
3 objects
3 objects3 objects
3 objects
 
2007_1
2007_12007_1
2007_1
 
2007_1
2007_12007_1
2007_1
 
2007_1
2007_12007_1
2007_1
 

07Decoders121

  • 1. Review: Additional Boolean operations September 22, 2003 Decoders NAND (NOT-AND) NOR (NOT-OR) XOR (eXclusive OR) (xy)’ = x’ + y’ (x + y)’ = x’ y’ x  y = x’y + xy’ Operation: Expressions: Truth table: Logic gates:
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. A picture of a 2-to-4 decoder September 22, 2003 Decoders
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.