You are on page 1of 4

North South University

Department of Electrical & Computer Engineering

LAB REPORT
Computer Organization and Architecture Lab
Experiment Number: Lab - #02
Experiment Name: Design of a 2-bit Arithmetic unit

Experiment Date: 23-06-2021


Report Submission Date: 29-06-2021
Section: 04

Student Name: Md. Rakibul Islam Rakib Score

Student ID: 1911977642

Remarks:
Objective-
1. Learn about MUX and Decoder.
2. Learn the difference between MUX and Decoder.
3. Learn about the Logic Gates and their ICs.
4. Learn different operations of the MUX and their output.

List of Equipment-
1. IC 7404, IC 7408, IC 7432, IC 7486, IC 74F153.
2. Connection wire.
3. Trainer Board

Theory-
MUX is called as Multiplexer that takes several inputs and provides a single output. MUX uses
select bits and the output is connected to just those ‘n’ number data entries. The formula of
MUX is 2n, where the number of select bits depends on the number of inputs.
A Decoder is a combination logic circuit that takes several inputs and provides several
outputs. In the decoder, the output depends on the select bits. The difference between mux
and decoder is when we choose a pin from the decoder, that will always become one 1, on
the other hand, in the MUX, the output depends on the selected input bits.
Circuit Diagram-

Truth table-

A1 A0 B1 B0 AND1 AND0 OR1 OR0 XOR1 XOR0 NOT NOT


A1 A0

0 0 0 0 0 0 0 0 0 0 1 1

0 0 0 1 0 0 0 1 0 1 1 1

0 0 1 0 0 0 1 0 1 0 1 1

0 0 1 1 0 0 1 1 1 1 1 1

0 1 0 0 0 0 0 1 0 1 1 0

0 1 0 1 0 1 0 1 0 0 1 0

0 1 1 0 0 0 1 1 1 1 1 0
0 1 1 1 0 1 1 1 1 0 1 0

1 0 0 0 0 0 1 0 1 0 0 1

1 0 0 1 0 0 1 1 1 1 0 1

1 0 1 0 1 0 1 0 0 0 0 0

1 0 1 1 1 0 1 1 0 1 0 0

1 1 0 0 0 0 1 1 1 1 0 1

1 1 0 1 0 1 1 1 1 0 0 1

1 1 1 0 1 0 1 1 0 1 0 0

1 1 1 1 1 1 1 1 0 0 0 0

Discussion-
In today’s lab, we learnt MUX and Decoder and how they works. MUX is called as Multiplexer,
that takes multiple input and gives a single output. MUX use select bits, and the output
depends on the n data input. We get the number of select bits depending on the number of
inputs. the formula is 2n , n is the number of inputs.
We also learnt about the decoder which is a combinational logic circuit that takes multiple
inputs and gives multiple outputs. Here we also get the output depending on the select bits.
The difference between mux and decoder is when we choose a pin from the decoder, that
will always become one 1, on the other hand, in the MUX, the output depends on the selected
input bits. We learnt the AND, OR, NOR, NOT, XOR logic gates. We have also seen how to do
multiple operations using MUX and get the result from the MUX by changing the select bit
values.

You might also like