Chapter 23

Fixed Point Arithmetic


In digital systems and HDLS such as VHDL or Verilog we have access to a range of types from bits and Booleans (which consist of two states 1 and 0, or true and false, respectively) which are effectively enumerated types, through integer numbers (including positive and natural subtypes) and eventually we can use real numbers (floating point). Unfortunately, the big drawback is not necessarily what we can use in a particular HDL, but rather what we can synthesize in hardware. In most cases it is still not possible to directly synthesize real numbers directly. Despite recent research efforts and standardization efforts, there is still a limited availability of packages and libraries that support both ...

Get Design Recipes for FPGAs, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.