Project
Project
ACTIVTY
1
OBJECTIVE:
Table of Contents:
2
[Type here] [Type here] [Type here]
Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2: Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1) Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 10
Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Project Details
3
The project we that we have chosen for Complex engineering activity is a “2 × 2
Multiplier”. It is basically a circuit that multiplies 2 bit binary number and
generates a specific result.
INPUTS
OUTPUTS
4
[Type here] [Type here] [Type here]
The output state of a digital logic AND gate only returns “LOW” again when ANY
of its inputs are at a logic level “0”. In other words for a logic AND gate, any LOW
input will give a LOW output.
The logic or Boolean expression given for a digital logic AND gate is that for
Logical Multiplication which is denoted by a single dot or full stop symbol, ( . )
giving us the Boolean expression of: A.B = Q.
Then we can define the operation of a digital 2-input logic AND gate as being:
5
1.2) Half Adders:
Half adder is a combinational arithmetic circuit that adds two numbers and
produces a sum bit (S) and carry bit (C) as the output. If A and B are the input
bits, then sum bit (S) is the X-OR of A and B and the carry bit (C) will be the AND
of A and B. From this it is clear that a half adder circuit can be easily constructed
using one X-OR gate and one AND gate. Half adder is the simplest of all adder
circuit, but it has a major disadvantage. The half adder can add only two input
bits (A and B) and has nothing to do with the carry if there is any in the input. So if
the input to a half adder have a carry, then it will be neglected it and adds only
the A and B bits. That means the binary addition process is not complete and
that’s why it is called a half adder.
NAND gates or NOR gates can be used for realizing the half adder in universal
6
[Type here] [Type here] [Type here]
logic and the relevant circuit diagrams are shown in the figure below.
This multiplier can multiply two numbers having bit size = 2 i.e. the multiplier and
multiplicand can be of 2 bits. The product bit size will be the sum of the bit size of
the input i.e. 2+2=4. The maximum range of its output is 3 x 3 = 9. So we can
7
accommodate decimal 9 in 4 bits. It is another way of finding the bit size of the
product.
The 7-segment display, also written as “seven segment display”, consists of seven
LEDs (hence its name) arranged in a rectangular fashion as shown. Each of the
seven LEDs is called a segment because when illuminated the segment forms part
of a numerical digit (both Decimal and Hex) to be displayed. An additional 8th LED
is sometimes used within the same package thus allowing the indication of a
decimal point, (DP) when two or more 7-segment displays are connected
together to display numbers greater than ten.
Each one of the seven LEDs in the display is given a positional segment with one
of its connection pins being brought straight out of the rectangular plastic
package. These individually LED pins are labelled from a through to g representing
each individual LED. The other LED pins are connected together and wired to form
a common pin.
8
[Type here] [Type here] [Type here]
The displays common pin is generally used to identify which type of 7-segment
display it is. As each LED has two connecting pins, one called the “Anode” and the
other called the “Cathode”, there are therefore two types of LED 7-segment
display called: Common Cathode (CC) and Common Anode (CA).
1. The Common Cathode (CC) : In the common cathode display, all the
cathode connections of the LED segments are joined together to logic “0”
or ground. The individual segments are illuminated by application of a
“HIGH”, or logic “1” signal via a current limiting resistor to forward bias the
individual Anode terminals (a-g).
9
2. The Common Anode (CA) : In the common anode display, all the anode
connections of the LED segments are joined together to logic “1”. The
individual segments are illuminated by applying a ground, logic “0” or
“LOW” signal via a suitable current limiting resistor to the Cathode of the
particular segment (a-g).
Chapter.02”Demonstration”
2.1) Solution:
A B C D a b c d e f g
0 0 0 0 0 0 0 0 0 0 1
0 0 0 1 1 0 0 1 1 1 1
0 0 1 0 0 0 1 0 0 1 0
0 0 1 1 0 0 0 0 1 1 0
0 1 0 0 1 0 0 1 1 0 0
0 1 0 1 0 1 0 0 1 0 0
0 1 1 0 0 1 0 0 0 0 0
0 1 1 1 0 0 0 1 1 1 1
1 0 0 0 0 0 0 0 0 0 0
10
[Type here] [Type here] [Type here]
1 0 0 1 0 0 0 0 1 0 0
TABLE FOR 2X2 MULTIPLIER:
INPUTS OUTPUTS
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 0 0 0 0 0
0 1 0 1 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 1 0 0 1 1
1 0 0 0 0 0 0 0
1 0 0 1 0 0 1 0
1 0 1 0 0 1 0 0
1 0 1 1 0 1 1 0
1 1 0 0 0 0 0 0
1 1 0 1 0 0 1 1
1 1 1 0 0 1 1 0
1 1 1 1 0 0 0 1
11
2.2) Circuit Design:
Following Is the circuit designs of our project:
12
[Type here] [Type here] [Type here]
13
Complex Engineering Activity( DLD ) Air University
For I
nputs 0001:
For Inputs 0010:
14
For I
nputs 0011:
15
nputs 0110:
16
For I
nputs 1110:
17
18
Complex Engineering Activity( DLD ) Air University
CONCLUSIONS:
Bibliography:
19