Docsity

Combinational Logic Circuit Design Using Digital Multiplexers - Lab #6 | ECE 265, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
2005 V. Goncharoff University of Illinois at Chicago ECE 265 Experiment #6 (page 1/5)
University of Illinois at Chicago
Department of Electrical and Computer Engineering
ECE 265 - Introduction to Logic Design Summer 2005 Semester
Lab Experiment #6
Combinational Logic Circuit Design Using Digital Multiplexers
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:
I 0
I 1
I 2
I 3
ss
01
Y
4 x 1 MUX
s1s0Y
00I
0
01I
1
10I
2
11I
3
We see from the input/output description of the 4×1 multiplexer above, line select
variables s1 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.
pf3
pf4
pf5

Partial preview of the text

Download Combinational Logic Circuit Design Using Digital Multiplexers - Lab #6 | ECE 265 and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

University of Illinois at Chicago

Department of Electrical and Computer Engineering

ECE 265 - Introduction to Logic Design Summer 2005 Semester

Lab Experiment

Combinational Logic Circuit Design Using Digital Multiplexers

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:

I 0

I 1

I 2

I 3

s 1 s 0

4 x 1 MUX Y

s 1 s 0 Y

0 0 I 0

0 1 I 1

1 0 I 2

1 1 I 3

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

the following in each square: {0, 1, C, C’ }

f 0 f 1 f 2 f 3 I 0 I 1 I 2 I 3

M5. Write one of {0, 1, C, C’ } next to each unlabelled IC pin below to realize functions

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)

A

0 B B

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)

...