



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Introduction
In this experiment you will design and build an advanced combinational digital circuit using the two 74153 multiplexer IC's that come with your lab kit. The basic concept of applying digital multiplexers to implementing logic functions is shown below:
4 x 1 MUX Y
We see from the input/output description of the 4×1 multiplexer above, line select variables s 1 and s0 determine which one of the four input lines is sent to the output Y. The main application of digital multiplexers is for routing signals from many sources to a single destination. But because the table above is in exactly the same form as a combinational circuit truth table, it is also possible to use digital multiplexers for implementing Boolean logic functions.
For example, to realize the function Y(s 1 ,s 0 ) = s 1 ⊕ s 0 , one connects inputs {I 0 , I 3 } to 0, and inputs {I 1 , I 2 } to 1:
I (^0) I (^1) I (^2) I (^3)
s 1 s (^0)
4 x 1 MUX Y =
Vcc
s 1 +s 0
In order to realize a logical function of N variables in this manner, a single 2N^ × 1 multiplexer is required. By using more than one 2 N^ × 1 multiplexer, however, logic functions having more than N inputs may be implemented. For example, the following circuit realizes a logic function having 4 inputs and 1 output using five 4 × 1 multiplexers:
s 1 s (^0)
4 x 1 MUX Y
s 1 s 0
4 x 1 MUX
s 1 s 0
4 x 1 MUX
s 1 s 0
4 x 1 MUX
s 3 s (^2)
4 x 1 MUX
a
I I1a I2a I (^) 3a
0a
I I (^) 1b I (^) 2b I (^) 3b
0b
I I (^) 1c I (^) 2c I (^) 3c
0c
I I (^) 1d I (^) 2d I (^) 3d
0d
Y
Y
Y
b
c
d
Y = f ( s 3 , s 2 ,^ s 1 ,s^0 )
I I (^) 1e I (^) 2e I (^) 3e
0e e
Based on the information in the truth table from M1, fill in the table below with one of
f 0 f 1 f 2 f 3 I 0 I 1 I 2 I 3
f 0 through f 3. Build this circuit and demonstrate it to your T.A. Use switches to select the states of the input variables, and LED's to display both input and output variable states.
74153 (dual 4 x 1 multiplexer)
Vcc
74153 (dual 4 x 1 multiplexer)
Vcc
Gnd
f (^1)
f (^2)
f (^3)
0 A f^0 Gnd
s 1 I 3 I 2 I 1 I 0 y s 1 I 3 I 2 I 1 I 0 y
s 0 I 3 I 2 I 1 I 0 y s 0 I 3 I 2 I 1 I 0 y
(Refer to page 35 in the Becker lab manual. Connect both "Strobe" inputs 1G and 2G to ground, which enables the multiplexers for normal operation. The two multiplexers on this IC are both controlled by the same select lines. Be aware that the Function Table on p. 35 labels the most significant select bit s 1 as select input "B", and least significant select bit s 0 as select input "A" -- contrary to our variable labels in this experiment!)
Questions -- Answer the following questions:
Q1. Using five 4×1 digital multiplexers in the same configuration as shown at the bottom of page 2, design a digital circuit that calculates the least significant bit of the sum of four binary numbers: X 1 , X 2 , X 3 and X 4 (i.e., calculate S 0 if S 2 S 1 S 0 = X 1 + X 2 + X 3 + X 4 ).
Q2. Repeat the same task, this time using one 16×1 digital multiplexer.
Q3. Repeat the same task, this time using only one 4×1 digital multiplexer. This time use some of the input variables to drive the multiplexer inputs {I 0 ... I 3 }.
Q4. How many fewer IC's does the multiplexer-based circuit in M5 require than the direct implementation designed in M3?
Q5. How will incorrectly connecting the two input variables (e.g. connecting variable B to pin 2 and variable A to pin 14) affect the circuit function? Draw the resulting truth table that expresses {f 0 , f 1 , f 2 , f 3 } in terms of input variables {A, B, C} for this incorrectly-wired circuit.
Conclusion (share with the reader your personal experience and thoughts on the subject, e.g. how the experiment may be improved, what gave you the most trouble, words of advice to future experimenters)
...