Lecture 2 - Adders - Multipliers
Lecture 2 - Adders - Multipliers
COMPUTER ARCHITECTURE
AND ORGANIZATION
Dr E Emerson Nithiyaraj
AP/ECE
UNIT II
ARITHMETIC UNIT
Dr E Emerson Nithiyaraj
AP/ECE
Positive values have
identical representations in
all systems, but negative
values have different
representations.
In the sign-and-
magnitude system,
negative values are
represented by changing
the MSB (b3 in Figure 1.3)
from 0 to 1 in the B vector
of the corresponding
positive value.
In 1’s-complement
representation, negative
values are obtained by
complementing each bit of
the corresponding positive
number.
The 2’s-complement of a
number is obtained by
adding 1 to the 1’s-
complement of that
number.
• The sign-and-magnitude system is the simplest representation, but it is also
the most awkward for addition and subtraction operations.
• There are several techniques for reducing the carry propagation time in
a parallel adder. The most widely used technique employs the principle
of Carry Lookahead Logic.
• Two approaches can be taken to reduce delay in adders.
P
• The combinational array multiplier just described uses a large number of
logic gates for multiplying numbers of practical size, such as 32- or 64-
bit numbers.
6 summands
Two - Bit Multiplier bits
Recoding 11010
Technique If Multiplier bit is -2, (-2M). Written
as 2’s complement value and start
from 21 position. So, keep 20
position as 0 value.
3 summands
M
Q
• The delay through the carry-save array is somewhat less than the delay
through the ripple-carry array. This is because the S and C vector outputs
from each row are produced in parallel in one full-adder delay.
• The interconnection pattern between levels in a CSA tree that uses 3-2 reducers
is irregular.
• A more regularly structured tree can be obtained by using 4-2 reducers,
especially for the case in which the number of summands to be reduced is a
power of 2.
• For example, if 32 summands are reduced to 2 using 4-2 reducers at each
reduction level, then only four levels are needed. The tree has a regular
structure, with 16, 8, 4, and 2 summands at the outputs of the four levels. If 3-2
reducers are used, eight levels are required, and the wiring connections between
levels are quite irregular.
• Restoring Division
• Non-Restoring Division
n M A Q Action
4 00011 00000 1011 Initial
n M A Q Action
4 00011 00000 1011 Initial