Professional Documents
Culture Documents
Unit2 - COA Shikha Singh
Unit2 - COA Shikha Singh
Unit2 - COA Shikha Singh
Noida
(An Autonomous Institute)
School of Computer Science & Engineering in Emerging
Technologies
ALU Unit
Unit: 2
Professional details:
•Name of Institute with Code: NIET(133)
•Designation: Assistant Professor
•Department: ECE
Other applications
computer system
CO 2 Analyze the design of arithmetic & logic unit and understand the K1, K4
• These relate to the skills, knowledge, and behavior that students acquire
through the programmed.
1. Engineering knowledge
2. Problem analysis 9. Individual and team work
3. Design/development of solutions 10. Communication
4. Conduct investigations of complex 11. Project management and
problems finance
5. Modern tool usage 12. Life-long learning
6. The engineer and society
7. Environment and sustainability
8. Ethics
PO PO PO
CO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 10 11 12
CO1 3 2 1 1 1 1 1 - 1 1 1 2
CO2 2 2 2 2 1 1 - 1 1 1 1 2
CO3 3 2 2 1 2 2 1 1 2 2 1 2
CO4 3 2 2 2 2 1 1 - 1 1 1 2
CO5 2 2 2 1 2 - 1 - 1 2 2 2
Average 2.6 2 1.8 1.4 1.6 1 0.8 0.4 1.2 1.4 1.2 2
Computer 100%
Organization
and Architecture
Renewable 98.57%
Energy
Resources
Universal 90.74%
Human Values
Introduction to 95.61%
Microprocessor
Question Paper
Template -100 Marks
The COA important topics include all the fundamental concepts such
as computer system functional units , processor micro architecture ,
program instructions, instruction formats , addressing modes ,
instruction pipelining, memory organization , instruction cycle,
interrupts and other important related topics.
Block Diagram:
Truth Table :
Inputs:
A1 A2 A3 A4……A (n-1) An for A
B1 B2 B3 B4…….B (n-1) Bn for B
Shikha Singh Computer
05/17/24 Organisation & Architecture Unit 2 29
Parallel Adder
Working of parallel Adder –
•As shown in the figure, firstly the full adder FA1 adds A1 and B1 along
with the carry C1 to generate the sum S1 (the first bit of the output
sum) and the carry C2 which is connected to the next adder in chain.
•Next, the full adder FA2 uses this carry bit C2 to add with the input
bits A2 and B2 to generate the sum S2(the second bit of the output
sum) and the carry C3 which is again further connected to the next
adder in chain and so on.
C1 = G0 + P0 C0
C2= G1 + P1 C1
= G1 + P1 G0 + P1 P0 C0
C3 = G2 + P2 C2
= G2 + P2 G1+ P2 P1 G0 + P2 P1 P0 C0
• From the above Boolean equations we can observe that C 3 does not
have to wait for C2 and C1 to propagate but actually C3 is
propagated at the same time as C2 and C1.
• Since the Boolean expression for each carry output is the sum of
products so these can be implemented with one level of AND gates
followed by an OR gate.
Flow diagram
Shikha Singh Computer Organisation & Architecture Unit 2
05/17/24 55
Booth Multiplication Algorithm
Example
3. What will be the value obtained after multiplication of (-2) * (-3) using
Booth’s Algorithm?
a) 6
b) -6
c) -2
d) -3 Shikha Singh Computer Organisation & Architecture Unit 2
05/17/24 60
Daily Quiz with Answers
1. Which of the following is used for binary multiplication?
a) Restoring Multiplication
b) Booth’s Algorithm
c) Pascal’s Rule
d) Digit-by-digit multiplication
3. What will be the value obtained after multiplication of (-2) * (-3) using
Booth’s Algorithm?
a) 6
b) -6
c) -2
d) -3 Shikha Singh Computer Organisation & Architecture Unit 2
05/17/24 61
Daily Quiz
4. What does the data transfer instruction STA stand for?
a) Store Accumulator
b) Send Accumulator
c) Send Action
d) Store Action
• Normalization-
A floating-point number is normalized if the most significant digit of
the mantissa is nonzero. In this way the mantissa contains the
maximum possible number of significant digits.
Flow diagram
05/17/24 82
Shikha Singh Computer Organisation & Architecture Unit 2
Arithmetic & logic unit design
• Inside a computer, there is an Arithmetic Logic Unit (ALU), which is
capable of performing logical operations (e.g. AND, OR, Ex-OR, Invert
etc.) and arithmetic operations (e.g. Addition, Subtraction etc.).
• The control unit supplies the data required by the ALU from memory,
or from input devices, and directs the ALU to perform a specific
operation based on the instruction fetched from the memory. ALU is
the “calculator” portion of the computer.
Inputs Outputs
M1 M0 Operation
0 0 SUM
1 0 AND
0 1 OR
1 1 XOR
1. Explain in detail the principal of carry look ahead adder and design 4 bit
CLA adder.
2. Explain the addition and subtraction of floating-point numbers with help
of flowchart.
3. What is restoring method in Fixed point Division algorithm?
4. Show the systematic multiplication process of (20) X (-19) using Booths
Algorithm.
5. Explain IEEE standard for floating point representation.
Sessional 1
Sessional 2
Sessional 3
2017-18
2018-19
2019-20