Professional Documents
Culture Documents
Abstract
The Arithmetic Logic Unit is one of the essential component of a computer. It performs
arithmetic operations such as addition, subtraction, multiplication, division and various logical
functions. The Aim of this paper is to simulate an ALU and to analyze the various parameters
such as speed, power and number of logical blocks used by that ALU. The Floating point
numbers in this paper are represented according to the IEEE standard 754. The Arithmetic
operations such a s addition, subtraction, multiplication, division and the logical operations are
realized using Verilog HDL. Xilinx 7.1i software is used for writing the verilog codes and the
simulation is carried out with ModelSim 5.5f simulator.
1. INTRODUCTION
For the efficient way of representing real
numbers the floating point numbers are
used. It is used when there is a need of
representing a number which is very large or
very small but representation of such
numbers are cannot be done without paying
a price for it like as power, speed, accuracy,
ease of implementation and the memory of
the system.
In the various fields of science such as
physics and biology etc. the need of
measuring the dimensions of objects are
essential for analyzing its characteristics. In
physics measuring the distance between
stars or the size of an electron cannot be
done with the range of fixed numbers hence
we are in need of floating point numbers.
The Arithmetic Logic Unit is the basic
building block of a CPU which does various
arithmetic
operations
like
addition,
subtraction, multiplication and division etc.
1.1 Single Precision IEEE 754 Format
All the floating point numbers are composed
by three components:
Sign: it indicates the sign of the number (0
positive and 1 negative)
Mantissa: it sets the value of the number
Exponent: it contains the value of the base
power (biased)
If a Simple Precision format is used the bits
will be divided in that way:
The first bit (31st bit) is set the sign (S) of the
number (0 positive and 1 negative)
Next w bits (from 30th to 23rd bit) represent
the exponent (E)
interchange
Different
operations
as
addition,
subtraction,
multiplication
operations
Conversion
between
and
other
integer-floating
conversions
Floating point exceptions and their
provides
al, 2012) .
high
performance.
With
3. METHODOLOGY
The entire design is implemented by the
(IEEE 754-2008)
The main objective of implementation of
floating point operation on reconfigurable
Conversion of
Number into
representation.
pipelined
multiplier
achieved
accuracy
of
the
performed
operation
Rounding:
updated
mantissa.
adder/subtracter module.
if
The
the
To
resultant
effective
increase
mantissa
operation
the
is
is
maximum
INPUT B:
00000100000001000100001100000011
RESULT:
00001000000001100100011101000110
4.2 Subtraction
INPUT A:
00001000000001100100001100000011
INPUT B:
00000100000001000100001100000011
the divisor.
RESULT:
00001000000001100011111011000000
intermediate answer.
4. SIMULATION RESULTS
4.1 Addition
INPUT A:
00001000000001100100001100000011
4.3 Multiplication
INPUT A:
00001000000001100100001100000011
INPUT B:
00000100000001000100001100000011
RESULT:
000011000000000000110101010111110101
0001001001000001001
4.4 Divider
operations
INPUT A:
00001000000001100100001100000011
INPUT B:
00000100000001000100001100000011
HDL.
RESULT:
00000100000000000000000000000001
The
like
addition,
the
simulation
is
subtraction,
done
with
123
304
304
102
223
5416
102
Engineering,2012 .
[5] D. Jackuline moni and P. Eben Sophia,
Design of low power and high speed
100
98%
Reference:
[1] Aarthy.M and dave omkar.R, Asic
implementation of 32 and 64 bit floating
point ALU using pipelining, International
journal of computer applications, May
2014.
[2] Kavita katole, Ashwin shinde, Design &
simulation of 32-bit floating point ALU
International
Journal
of Advances
in
Communication
Algorithm
(Radix-4)
and
its
Algorithm
(Radix
4)
and
its