This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > FPGA Technical Tutorials > Design Recipes for FPGAs Using Verilog and VHDL > Fixed Point Arithmetic > Floating Point Types in Verilog

TABLE OF CONTENTS

Xilinx FPGA FPGA Forum

Floating Point Types in Verilog

FONT SIZE : AAA

As for VHDL, there are standard type definitions based on IEEE-754 or IEEE-854 for generic floating point (real) types; however, while Verilog supports the use of real types, synthesis is not possible directly. The user has two options in order to implement these types in Verilog: to define specific composite types (similar to fixed point) and associated functions. However, most of the FPGA vendors also offer “blocks” that can provide DSP functions based on floating point types, effectively as IP blocks.

The floating point types can be defined as single or double precision, where the single precision consists of a single sign bit, 8 bits for the exponent and the remaining 23 bits for the mantissa. Double precision also has a single sign bit, 11 bits for the exponent and 52 for the mantissa.

In addition to the basic number format, IEEE Std 754 also defines a number of rounding methods, and it is important to ensure that not only should the number types be defined, but also the rounding and arithmetic functions.

  • XC5VLX110T-1FFG1136C4031

    Manufacturer:Xilinx

  • Virtex-5 LX FPGA 640 I/O 1136FCBGA
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Any -

    RoHS:

  • XC5VLX110T-2FF1136I

    Manufacturer:Xilinx

  • FPGA Virtex-5 LXT Family 110592 Cells 65nm Technology 1V 1136-Pin FCBGA
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS: No RoHS

  • XCV300-4FG456I

    Manufacturer:Xilinx

  • FPGA Virtex Family 322.97K Gates 6912 Cells 250MHz 0.22um Technology 2.5V 456-Pin FBGA
  • Product Categories: Portes logiques

    Lifecycle:Obsolete -

    RoHS:

  • XCV300-5BG432I

    Manufacturer:Xilinx

  • FPGA Virtex Family 322.97K Gates 6912 Cells 294MHz 0.22um Technology 2.5V 432-Pin BGA
  • Product Categories: Semiconducteurs & Actifs

    Lifecycle:Obsolete -

    RoHS: No RoHS

  • XC2V2000-6FGG676C

    Manufacturer:Xilinx

  • FPGA Virtex-II Family 2M Gates 24192 Cells 820MHz 0.15um Technology 1.5V 676-Pin FBGA
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Obsolete -

    RoHS:

Need Help?

Support

If you have any questions about the product and related issues, Please contact us.