Design Amp Implementation of Floating Point ALU On A FPGA Processor
Design Amp Implementation of Floating Point ALU On A FPGA Processor
Abstract- In this paper, the implementation of DSP an exponent of OxFF or if any input operator is infinity. The
modules such as a floating point ALU are presented and Underflow exception occurs if the implicit bit of result is zero
designed. The design is based on high performance
or if the exponent out is -
FPGA "Cyclone TI" and implementation is done after
126 or OxOI the number is too small to be represented fully in
functional and timing simulation. The simulation tool
used is ModelSim. The tool for synthesis and single precision format. The Division by zero exception occurs
implementation is Quartus n. The experimental results when the divisor is zero the result is set to infinity. The Invalid
shows the functional and timing analysis for all the DSP operation exception occurs when the Operation cannot be
modules carried out using high performance synthesis
performed on operands. Ex: Subtraction of infinity and NAN
software from Altera.
inputs.
K�ords-Floating point ALU, Adder, subs tractor,
III. BLOCK DIAGRAM OF FLOATING POINT
multiplier , divider.
ADDITION AND SUBSTRACTION
l'-__----" ) "
y�--�
The IEEE 754 floating point format consists of three <=__ -=I,"
h:.::.
""c:.:.,, :::
,_:o:..c:
' >W . ::
e.::. a?..:.
::: Pio.:&::.fi'L
: ' t::
omal<
=.:.:
: F.'"'", >
..F..:: ',
.... __ >
�__�,__�) l'- ______ ----�
fields. The Sign bit : I bit .It is 1 for a negative �
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on December 17,2022 at 16:02:22 UTC from IEEE Xplore. Restrictions apply.
2012 International Conference on Computing, Electronics and Electrical Technologies [ ICCEET]
8ai1 HOO
Iv'
I PI
•
� � . �
exponents. Now both the numbers have the same �
Dill( 1iI� HCi <1
exponent. &67 8" H. ,
� .... ,
The signs are used to see whether the operation is �
= """"
addition or subtraction.
I
If the operation is subtraction, perform 2's
complement addition.
Figure 2. Simulation Waveform for Adder
If the result is negative take the 2's complement of
the result to obtain actual result.
The result is normalized by left shifting. �_1_
obtained after 7 clock cycles for a clock of 5ns. The Figure 3. Simulation Waveform for Substractor
results are ,Logic Utilization is 1 %.The Combinational Figure 4. Block dia gram of Floatin g Point multiplier
Registers are 65/38,000«1 %).The Total Pins are A. Floating Point Multiplication
773
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on December 17,2022 at 16:02:22 UTC from IEEE Xplore. Restrictions apply.
2012 International Conference on Computing, Electronics and Electrical Technologies [ ICCEET]
Step 3
fans is shifted to the left until the first bit becomes
'1', and the amount of shift is calculated. means is
obtained by subtracting the amount of shift.
B. Simulation Waveform.
0101 HOOI---_---"=
=-_ _....!f�__ __"C8!lI
"""_ FOO __ _
774
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on December 17,2022 at 16:02:22 UTC from IEEE Xplore. Restrictions apply.
2012 International Conference on Computing, Electronics and Electrical Technologies [ ICCEET]
C. Simulation Waveform
i N""l"t.--
O �-�I\iil � �j�g,; --- [� -
A VI. CONCLUSIONS
*
The design of floating point based ALU modules are
Designed and summarized as seen in the below
!Ill I
tabular Column.
8� He 11M
8i!b H IllIlJU
I
HOO i!IllOlJ �oooooo Floating point Clock: 5ns Obtained output after
II Fm ax for slow 1100mV 85C Model: 87.47MHz Floating point based ALU computational systems. All
775
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on December 17,2022 at 16:02:22 UTC from IEEE Xplore. Restrictions apply.
2012 International Conference on Computing, Electronics and Electrical Technologies [ ICCEET]
these DSP modules are designed from the block Mr. P. Anil kumar , is a student
diagram approach to the synthesis and simulation ( M.tech), Instrumentation &
aspects. The functional timing analysis results and the Control systems ,Sri Venkateswara
synthesis results are measured in precise and accurate university college of Engineering,
manner. Finally the simulation waveforms are Tirupati. Passed out of B.TECH
obtained in the FPGA simulation tools and the ( 2009) III Electronics &
simulation waveforms are verified with the hardware Instrumentation Engg. from
design aspects, and matching results are obtained. The Vijayawada ( VRSEC),Andhra Pradesh, India
filter structure is implemented in a modular form. All
Dr. G. Sreenivasulu is an
the simulations are carried out in the Quartus-II
software. The target device selected is Stratix-III.The Associate professor in ECE
department at Sri Venkateswara
functional and timing analysis for all the modules are
university college of Engineering,
carried out and accurate measurements are obtained.
Tirupati.
As the results between hardware and software are
matching, this will clear the gap between hardware
implementation and the software simulation, also it
clears the visualization of the concepts incorporated.
REFERENCES
working as Maintenance
Engineer in DST-PURSE Programme, S.V.
University, Tirupati.
776
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on December 17,2022 at 16:02:22 UTC from IEEE Xplore. Restrictions apply.