floating point alu using vhdl blue

Upload: paulcbiju

Post on 03-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    1/25

    PROJECT GUIDE: BINDU BABU

    By,PAUL C BIJU

    SHYAM DAVID C V

    TONY K CHANDY

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    2/25

    Contents..

    What is VHDL Floating Point

    ALU

    Implementation of Arithmetic Operations

    Logical Operations

    ModelSim

    Conclus ion

    Future Scope

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    3/25

    OBJECTIVE

    To study and implement arithmetic and logicalfunctional units using VHDL.

    To implement 32 bit floating point ALU,complies fully with IEEE 754 standard.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    4/25

    VHDL

    Hardware description language used to designDigital Systems.

    Developed by US Department of defense todocument behavior of ASIC.

    High level language which is easy tounderstand, and the code is transferable.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    5/25

    VHDL (contd..)

    Easy to compile and synthesize.

    Can use to implement sequential or concurrent

    digital systems with or without timing.

    Can model system as an interconnection of

    components.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    6/25

    FLOATING POINT

    Used to represent real numbers.

    Floating-point number n is represented with an

    exponent e and a mantissa m,ie, n = be m, where b is the base number (radix).

    The advantage over fixed-point (and integer)representation is that it can support a much widerrange of values.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    7/25

    Single Precision Floating Point

    In IEEE 754-2008 the 32-bit base 2 format isofficially referred to as binary32.

    Single precision is known as float in C, C++,C#, Java, and Haskell, and as single in Pascal andMATLAB.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    8/25

    Single Precision Floating Point (contd..)

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    9/25

    ALU

    ALU is the brain of the computer.

    ALU performs the arithmetic, logical

    operations.

    The operations performed by an ALU

    are controlled by a set of function-

    select inputs.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    10/25

    Operations Performed

    Arithmetic Operations

    Addition Subtraction

    Multiplication

    Division

    Logical Operations

    AND OR

    NOT

    XOR

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    11/25

    ARITHMETIC

    OPERATIONS

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    12/25

    Addition

    &

    Subtraction

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    13/25

    Multiplication

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    14/25

    Division

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    15/25

    LOGIC

    OPERATIONS

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    16/25

    The ALU performs 32 bit bitwise logical

    operations such as AND, OR, NOT and XOR.

    A bitwise AND OR & XOR takes two binary

    representations of equal length and performsthe logical AND ,OR & XOR operation on eachpair of corresponding bits.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    17/25

    The bitwise NOT, or complement, is a unary

    operation that performs logical negation oneach bit, forming the ones' complement of thegiven binary value.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    18/25

    MODEL SIM

    Mentor Graphics was the first to combine singlekernel simulator (SKS) technology with a unifieddebug environment for verilog, System Verilog,

    VHDL, and systemC.

    High-Performance, Scalable Simulation

    Environment.

    Easy-to-Use Simulation Environment.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    19/25

    MODEL SIM (contd..)

    Graphical Usage Profiler

    Advanced Code Coverage

    JobSpy

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    20/25

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    21/25

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    22/25

    CONCLUSION

    The floating-point (FP) units offered sufficientadvantages for being significantly developed andwidespread in time, and thus their performance

    has been continuously improved.

    The speed of floating-point operations is an

    important measure of performance forcomputers in many application domains.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    23/25

    FUTURE SCOPE

    Additional modules for finding square root,compare & shifting can be implemented.

    Improve the precision and range of numbers thatcan be processed by the unit by increasing bitlength to 64 bit or 128 bit.

    We can also synthesize the circuit on FPGA.

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    24/25

    REFERENCE

    CIRCUIT DESIGN WITH VHDL Volnei A. Pedroni

    VHDL PRIMER J. BHASKAR

    http://standards.ieee.org/findstds/standard/754-1985.html

    http://en.wikipedia.org/wiki/Floating_point

    http://en.wikipedia.org/wiki/Single_precision_floating-point_format

  • 7/27/2019 Floating Point ALU Using VHDL Blue

    25/25

    THANK YOU