Digital Core Design

The Power of Intellectual Property

DFPCOMP

Floating Point Comparator Unit

    The DFPCOMP compares two arguments. The input numbers' format has been developed according to IEEE-754 standard. Our scrutiny IP Core supports single precision real numbers. Compare operation was pipelined up to 1 level and input data is fed every clock cycle. The first result appears after 1 clock period latency and next results are available each clock cycle. Full IEEE-754 unordered compare function is included.
    The DFPCOMP is a technology independent design, that can be implemented in a variety of process technologies.


    Family summary

    Design Standard compliance Operation Input data Output data NORMAL numbers DENORMAL, NaNs, INFINITY Pipeline levels Single clock result Initial latency
    DFPADD IEEE-754 Addition Single precision real Single precision real + + 5 + 5
    DFPMUL IEEE-754 Multiplication Single precision real Single precision real + + 7 + 7
    DFPDIV IEEE-754 Division Single precision real Single precision real + + 15 + 15
    DFPSQRT IEEE-754 Square root Single precision real Single precision real + + 9 + 9
    DFPCOMP IEEE-754 Compare Single precision real Single precision real + + 1 + 1
    DFP2INT IEEE-754 FP to Integer conversion Single precision real Integer + + 2 + 2
    DINT2FP IEEE-754 Integer to FP conversion Integer Single precision real + + 3 + 3

    The main features of each Floating Point Units family member has been summarized in table above. It gives a briefly member characterization helping you to select the most suitable IP Core for your application. Please see also the Arithmetic Coperocessors: DFPMU, DFPMU-DP and DFPAU , DFPAU-DP

    Performance

    Each core has been tested in variety of FPGA and ASIC technologies. Its implementation results are summarized below.

    Implementation Speed
    grade
    Utilized Area
    [LUT/PFU]
    Frequency
    [MHz]
    ispXPGA -4 160/51 100

    DFPCOMP implementation results for LATTICE devices.
    All features have been included. 

    Implementation Speed
    grade
    Utilized Area
    [Slices]
    Frequency
    [MHz]
    SPARTAN-IIE -7 92 72
    SPARTAN-3 -5 92 85
    SPARTAN-3E -4 92 63
    VIRTEX-E -8 90 62
    VIRTEX-II -6 92 127
    VIRTEX-II pro -7 92 132
    VIRTEX-4 -12 92 187

    DFPCOMP implementation results for XILINX devices.
    All features have been included. 

    Implementation Speed
    grade
    Utilized Area
    [LC]
    Frequency
    [MHz]
    APEX20KC -7 79 98
    STRATIX -5 82 152
    CYCLONE -6 81 140
    STRATIX II -3 66 225
    CYCLONE-II -6 81 141

    DFPCOMP implementation results for ALTERA devices.
    All features have been included. 


    Key Features

    • Full IEEE-754 compliance
    • Single precision real format support
    • Simple interface
    • No programming required
    • 1 level pipeline
    • Results available at every clock
    • Fully synthesizable
    • Static synchronous design
    • Positive edge clocking and no internal tri-states
    • Scan test ready

    Applications

    • Math coprocessors
    • DSP algorithms
    • Embedded arithmetic coprocessor
    • Fast data processing & control

    Symbol

     adatai (31:0)
     bdatai (31:0)
    eqo 
    ifo 
    gto 
    lto 

    Pins description

    PinTypeDescription
    adatai (31:0)inputA data bus input
    bdatai (31:0)inputB data bus input
    eqooutputA=B output
    ifooutputInvalid results
    gtooutputA>B output
    ltooutputA<B output

    Block Diagram

    Arguments CheckerIt performs input data analyze against IEEE-754 number standard compliance. The appropriate numbers and information about the input data classes are given as the results to Main FP Pipelined Unit.
    adatai (31:0)
    bdatai (31:0)
    Main FP Pipelined UnitIt performs floating point compare function. Gives the complex information about the results and makes final flags settings.
    eqo
    ifo
    gto
    lto
    FP output Output bus used for data transfer

    Units

    Arguments Checker
    It performs input data analyze against IEEE-754 number standard compliance. The appropriate numbers and information about the input data classes are given as the results to Main FP Pipelined Unit.
    Main FP Pipelined Unit
    It performs floating point compare function. Gives the complex information about the results and makes final flags settings.