ch9 - STANDARD COMBINATIONAL MODULES 1 DECODERS ENCODERS...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
1 STANDARD COMBINATIONAL MODULES DECODERS ENCODERS MULTIPLEXERS (Selectors) DEMULTIPLEXERS (Distributors) SHIFTERS Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 BINARY DECODERS HIGH-LEVEL DESCRIPTION: Inputs: x = ( x n - 1 , . . . , x 0 ) , x j ∈ { 0 , 1 } Enable E ∈ { 0 , 1 } Outputs: y = ( y 2 n - 1 , . . . , y 0 ) , y i ∈ { 0 , 1 } Function: y i = 1 if ( x = i ) and ( E = 1) 0 otherwise x = n - 1 X j =0 x j 2 j and i = 0 , . . . , 2 n - 1 Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 2
3 0 1 2 y 0 y 1 y 2 n-Input Binary Decoder 2 n -1 Outputs Inputs E y 2 n -1 En 0 x 0 1 x 1 n-1 x n-1 Figure 9.1: n -INPUT BINARY DECODER. Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4 EXAMPLE 9.1: 3-INPUT BINARY DECODER E x 2 x 1 x 0 x y 7 y 6 y 5 y 4 y 3 y 2 y 1 y 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 0 1 0 1 0 2 0 0 0 0 0 1 0 0 1 0 1 1 3 0 0 0 0 1 0 0 0 1 1 0 0 4 0 0 0 1 0 0 0 0 1 1 0 1 5 0 0 1 0 0 0 0 0 1 1 1 0 6 0 1 0 0 0 0 0 0 1 1 1 1 7 1 0 0 0 0 0 0 0 0 - - - - 0 0 0 0 0 0 0 0 BINARY SPECIFICATION: Inputs: x = ( x n - 1 , . . . , x 0 ) , x j ∈ { 0 , 1 } E ∈ { 0 , 1 } Outputs: y = ( y 2 n - 1 , . . . , y 0 ) , y i ∈ { 0 , 1 } Function: y i = E · m i ( x ) , i = 0 , . . . , 2 n - 1 Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 4
5 EXAMPLE 9.2: IMPLEMENTATION OF 2-INPUT DECODER y 0 = x 0 1 x 0 0 E y 1 = x 0 1 x 0 E y 2 = x 1 x 0 0 E y 3 = x 1 x 0 E E y 0 y 1 y 2 y 3 x 0 x 1 Figure 9.2: GATE NETWORK IMPLEMENTATION OF 2-INPUT BINARY DECODER. Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
6 DECODER USES 4-Input Binary Decoder 15 . . . 4 3 2 1 0 En E=1 LOAD STORE ADD JUMP OPCODE field Other fields Instruction Decoded operations Figure 9.3: OPERATION DECODING. Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 6
7 DECODER USES Binary Decoder 0 1 2 16383 14 Address Read/write Data input Data output Binary cell 00000000000010 Cell referenced when address is (b) RAM Module (2 x 1) 14 14 Address Read/write Data input Data output (a) E=1 Figure 9.4: RANDOM ACCESS MEMORY (RAM): a) MODULE; b) ADDRESSING OF BINARY CELLS. Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
8 BINARY DECODER AND or GATE UNIVERSAL Example 9.5: x 2 x 1 x 0 z 2 z 1 z 0 000 0 1 0 001 1 0 0 010 0 0 1 011 0 1 0 100 0 0 1 101 1 0 1 110 0 0 0 111 1 0 0 Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 8
9 ( y 7 , . . . , y 0 ) = dec ( x 2 , x 1 , x 0 , 1) z 2 ( x 2 , x 1 , x 0 ) = y 1 y 5 y 7 z 1 ( x 2 , x 1 , x 0 ) = y 0 y 3 z 0 ( x 2 , x 1 , x 0 ) = y 2 y 4 y 5 0 1 2 3 4 5 6 7 0 1 2 y 0 y 1 y 2 y 3 y 4 y 5 y 6 y 7 x 0 x 1 x 2 z 0 z 1 z 2 Binary Decoder En E=1 Figure 9.5: NETWORK IN EXAMPLE 9.5 Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
10 DECODER NETWORKS: COINCIDENT DECODING x = ( x left , x right ) x left = ( x 7 , x 6 , x 5 , x 4 ) x right = ( x 3 , x 2 , x 1 , x 0 ) x = 2 4 × x left + x right y = DEC ( x left ) w = DEC ( x right ) z i = AND ( y s , w t ) i = 2 4 × s + t Introduction to Digital Systems 9 – Standard Combinational Modules
Image of page 10
11 z 0 z 255 z 36 w 4 y 2 4-Input Binary Decoder En x 3 x 2 x 1 x 0 1 15 . . .4 3 2 1 0 0 1 0 0 4-Input Binary Decoder 15 . . . 2 1 0 En x 7 x 6 x 5 x 4 E 0 0 1 0 1 1 1 Figure 9.6: 8-INPUT COINCIDENT DECODER.
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern