Download presentation
Presentation is loading. Please wait.
Published byBranden White Modified over 9 years ago
1
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers A multiplexer is a digital switch Allows a device to select a single line from many Some “MUX’s” have multiple outputs such that a set of inputs is selected n-input b-bit multiplexer – specifies the number of inputs and the width of each (i.e. an input may be a set of data lines)
2
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers A mux may be used in digital communications –Voice requires 4 kHz of bandwidth (8 kilobits/sec) –If the total bandwidth is 64 kHz, then 16 voice users can talk “simultaneously” since the mux can switch them every 15.625μs Since gate delays are on the order of 10ns, these speeds are easily achievable (and have been for many years)
3
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers 16-input 8-bit multiplexer.. 16 inputs. 16 users, 8 bits for each user There are 8, 16 input switches How many wires in? How many select lines are needed? 250μs
4
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers A mux may also be used to select registers in a microprocessor –We will study registers in Chapter 7, however, they can be thought of merely as cascaded flip-flops –A microprocessor may perform an “ADD” between two registers, the mux can select which two –As a side note, a microprocessor will use this technique to perform a variety of operations: ADD, SUB, AND, OR, NOT, XOR, etc.
5
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers Suppose there are 8 registers, 32 bits each (4 are shown) –What is the specification? (n=?, b=?) for each mux –How many select lines are needed for each mux? R e g i s t r e.. 32 bit data. R e g i s t r e. 32 bit data. R e g i s t r e. 32 bit data. R e g i s t r e. 32 bit data. μPμP 32-bit data line A 32-bit data line B Select Lines M U X A M U X B
6
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers The 74x151 mux selects one of 8 inputs
7
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers The truth table for a mux is very simple What could we do to make the previous mux CMOS friendly?
8
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers Multiplexers can be cascaded as well, however, as the select signals drive more and more chips, fanout becomes a problem For CMOS it is not the DC load that is the problem, but rather the capacitive load What does that mean? What can we do to solve the fanout problem? What are the tradeoffs to these solutions?
9
Fall 2004EE 3563 Digital Systems Design EE3563 Demultiplexers A demultiplexer (demux) performs the opposite function of the multiplexer It takes 1 input and switch it between a number of outputs Specified similarly to the multiplexer: b-bit n-output For this general specification, how many select lines required? A binary decoder, with an enable input, can be used as a demux Truth Table for a 74x139 Decoder
10
Fall 2004EE 3563 Digital Systems Design EE3563 Parity Circuits What is parity? It is a simple “bit count” and is often used for error detection There are two types: odd parity, even parity –Odd parity means that the output is one if an odd number of inputs are one –Even parity means that the output is 1 if an even number of inputs are one Exclusive-OR (XOR) and Exclusive-NOR gates are essentially a parity checkers Which one would be used for odd parity?
11
Fall 2004EE 3563 Digital Systems Design EE3563 Parity Circuits What is parity? It is a simple “bit count” and is often used for error detection There are two types: odd parity, even parity –Odd parity means that the output is one if an odd number of inputs are one –Even parity means that the output is 1 if an even number of inputs are one Exclusive-OR (XOR) and Exclusive-NOR gates are essentially a parity checkers Which one would be used for odd parity? XOR Which one would be used for even parity?
12
Fall 2004EE 3563 Digital Systems Design EE3563 Exclusive-OR Implementations
13
Fall 2004EE 3563 Digital Systems Design EE3563 Exclusive-OR Implementations A B Z IN OUT Transmission Gate Implementation
14
Fall 2004EE 3563 Digital Systems Design EE3563 Exclusive-OR We have discussed AND gates being enabled by a high input OR gates are enabled by a low input What are exclusive-OR gates enabled by? DATA ENABLE OUT DATA ENABLE OUT
15
Fall 2004EE 3563 Digital Systems Design EE3563 Exclusive-OR We have discussed AND gates being enabled by a high input OR gates are enabled by a low input What are exclusive-OR gates enabled by? It depends on whether we want an inverting output or a non- inverting output A zero on the ENABLE input will enable a(n) _____ output? DATA ENABLE OUT DATA ENABLE OUT
16
Fall 2004EE 3563 Digital Systems Design EE3563 Parity Circuits XOR gates can be cascaded to form multi-bit parity checkers Both of these are odd parity circuits Which one do you think has the lowest delay?
17
Fall 2004EE 3563 Digital Systems Design EE3563 Parity Circuits 74x280 odd/even parity generator
18
Fall 2004EE 3563 Digital Systems Design EE3563 Parity Circuits Parity Generation for an 8-bit Memory System
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.