Uploaded by bhavya.sura

16010121818 Exp3 DD

advertisement
K. J. Somaiya College of Engineering, Mumbai-77
Experiment / Assignment / Tutorial No. B4
Grade: AA / AB / BB / BC / CC / CD /DD
Signature of the Staff In-charge with date
21
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Batch: B4
Roll No.: 16010121818
Experiment / assignment / tutorial No.: 3
Title: Design 4:1 Multiplexer and 1: 4 De-multiplexer
______________________________________________________________________________
Objective: To design and implement a 4:1 multiplexer and 1:4 de-multiplexer using logic gates
and MUX IC
______________________________________________________________________________
Expected Outcome of Experiment:
CO2: Use different minimization technique and solve combinational circuits, synchronous &
asynchronous sequential circuits.
______________________________________________________________________________
Books/ Journals/ Websites referred:
• VLab Links: http://vlabs.iitb.ac.in/vlabs-dev/labs/dldesignlab/experimentlist.html
• R. P. Jain, “Modern Digital Electronics”, Tata McGraw Hill
• M .Morris Mano, “Digital Logic & computer Design”, PHI
• https://wiki.engr.illinois.edu/download/attachments/84770821/08Multiplexers.pdf?version=2&modificationDate=1285128827000
Pre Lab/ Prior Concepts:
Multiplexer: Multiplexer is a special type of combinational circuit. It is a digital circuit which
selects one of the n data inputs and routes it to the output. The selection of one of the n inputs is
done by the select lines. To select n inputs we require m select lines, such that 2 m=n. Depending
on the digital code applied at the select inputs, one out of the n data sources is selected and
transmitted to a single output. E is called as the strobe or enable input which is useful for
cascading. It is generally on active low terminal that means it will perform the required operation
when it is low. The multiplexer act like a digitally controlled single pole, multiple way switches.
The output gets connected to only one input at a time. In most of the electronic system the digital
data is available on more than one line. It is necessary to route the data over a single line, under
such circumstances input at a time
22
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Types of Multiplexer:
1.
2.
3.
4.
5.
2:1 Multiplexer
4:1 Multiplexer
8:1 Multiplexer
16:1 Multiplexer
32:1 Multiplexer
De-multiplexer: It has only one input, n output and m select lines. A demultiplexer performs the
reverse operation of a multiplexer i.e. it receives one input and distributes it over several outputs.
The demultiplexer converts a serial data signal at the input to a parallel data at its output lines.
The relation between the output lines and select lines is as follows: N=2m
Types of Demultiplexers:
1.
2.
3.
4.
1:2 DEMUX
1:4 DEMUX
1:8 DEMUX
1:16 DEMUX
Implementation Details of 4:1 MUX
Block Diagram of 4:1 MUX
Figure 1: Block Diagram of 4:1 Multiplexer
23
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Circuit Diagram of 4:1 MUX
Figure 2: Circuit Diagram of 4:1 Multiplexer
Truth table
S1
S0
Y
0
0
I0
0
1
I1
1
0
I2
1
1
I3
From Truth Table:
̅̅̅̅̅̅̅̅
̅̅̅. 𝑆0)I1 + (𝑆1. 𝑆0
̅̅̅)I2 + (S1.S0)I3
Y = (𝑆1.
𝑆0)I0 + (𝑆1
24
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Implementation Details of 8:1 MUX
Block Diagram of 8:1 MUX
Figure 3: Block Diagram of 8:1 Multiplexer
Circuit Diagram of 8:1 MUX
Figure 4: Circuit Diagram of 8:1 Multiplexer
25
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Truth Table for 8:1 Multiplexer
Enable E
S2
S1
S0
Y
0
x
x
x
0
1
0
0
0
I0
1
0
0
1
I1
1
0
1
0
I2
1
0
1
1
I3
1
1
0
0
I4
1
1
0
1
I5
1
1
1
0
I6
1
1
1
1
I7
From Truth Table:
̅̅̅̅̅̅̅̅̅̅̅̅
̅̅̅̅̅̅̅̅
̅̅̅̅̅̅̅̅
̅̅̅.S1.S0)I3 + (S2. ̅̅̅̅̅̅̅̅
Y = (𝑆2.
𝑆1. 𝑆0)I0 + (𝑆2.
𝑆1. 𝑆0)I1 + (𝑆2.
𝑆0. 𝑆1)I2 + (𝑆2
𝑆1. 𝑆0)I4 +
̅̅̅
̅̅̅
(S2. 𝑆1.S0)I5 + (S2. S1. 𝑆0)I6 + (S2.S1.S0)I7
26
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Pin diagram: IC 74151
Figure 5: Pin Diagram of IC 74151
Block Diagram of 1:4 DE MUX
Figure 6: Block Diagram of 1:4 Demultiplexer
Circuit Diagram of 1:4 DE MUX
27
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Figure 7: Circuit Diagram of 1:4 Demultiplexer
Truth Table for 1:4 Demultiplexers
Enable E
S1
S0
Y3
Y2
Y1
Y0
0
x
x
0
0
0
0
1
0
0
0
0
0
I
1
0
1
0
0
I
0
1
1
0
0
I
0
0
1
1
1
I
0
0
0
From Truth Table:
̅̅̅̅̅̅̅̅
Y0 = (S1.
S0)I
̅̅̅̅
Y1 = (S1. S0)I
Y2 = (S1. ̅̅̅
S0)I
Y3 = (S1.S0)I
̅̅̅̅̅̅̅̅
̅̅̅̅ S0)I + (S1. S0
̅̅̅)I + (S1.S0)I
Y = (S1.
S0)I + (S1.
28
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
Conclusion:
Hence, in this experiment, we gained knowledge about multiplexers and demultiplexers,
multiplexer cascading and demultiplexer cascading in digital electronics. We also, implemented
multiplexers, demultiplexers and multiplexer cascading in circuitverse.org and formula for
output of each.
Post Lab Descriptive Questions
1. How many select lines are required for 64:1 MUX?
Ans: Since, n select lines are required for 2n input lines.
Therefore, for 64 inputs i.e., 26 input lines we require 6 select lines.
n select lines = 2n input lines.
n = 26
n=6
2. State some applications of MUX and DEMUX.
Applications of Multiplexers:
1) As multiplexers are universal logic circuits, we can implement any combination circuits
using MUX.
2) Multiplexers are widely used in Time Division Multiplexing.
3) Communication System - A communication system has both a communication network
and a transmission system. By using a multiplexer, the efficiency of the communication
system can be increased by allowing the transmission of data, such as audio and video
data from different channels through single lines or cables.
4) Computer Memory - Multiplexers are used in computer memory to maintain a huge
amount of memory in the computers, and also to reduce the number of copper lines
required to connect the memory to other parts of the computer.
5) Telephone Network - In telephone networks, multiple audio signals are integrated on a
single line of transmission with the help of a multiplexer.
6) Transmission from the Computer System of a Satellite - The multiplexer is used to
transmit the data signals from the computer system of a spacecraft or a satellite to the
ground system by using a GSM satellite.
Applications of Demultiplexers:
29
Department of Computer Engineering
DD/JUL 21-22
K. J. Somaiya College of Engineering, Mumbai-77
1) Communication System - Mux and demux both are used in communication systems to
carry out the process of data transmission. A De-multiplexer receives the output signals
from the multiplexer and at the receiver end, it converts them back to the original form.
2) Arithmetic Logic Unit - The output of the ALU is fed as an input to the De-multiplexer,
and the output of the demultiplexer is connected to multiple registers. The output of the
ALU can be stored in multiple registers.
3) Serial to Parallel Converter - This converter is used to reconstruct parallel data. In this
technique, serial data is given as an input to the De-multiplexer at a regular interval, and a
counter is attached to the demultiplexer at the control input to detect the data signal at the
output of the demultiplexer. When all data signals are stored, the output of the demux can
be read out in parallel.
3. Build a 4:1 MUX using only 2:1 MUX.
Figure 8: Circuit Diagram of 4:1 Multiplexer using 2:1 Multiplexer
30
Department of Computer Engineering
DD/JUL 21-22
Download