Main Content

Fixed Point Conversion Basics and Type Specification

Introduction to floating point to fixed point conversion, fixed-point runtime function support for HDL code generation

Learn about fixed-point conversion basics, the automated fixed-point conversion process, fixed-point function support for HDL code generation, and data type specification. For an overview on the fixed-point conversion process, see Automated Fixed-Point Conversion. To get started with an example, see Floating-Point to Fixed-Point Conversion.


codegenGenerate HDL or High-Level Synthesis (HLS) code from MATLAB code
coder.configCreate HDL Coder code generation configuration objects
coder.approximationCreate function replacement configuration object


coder.FixPtConfigFloating-point to fixed-point conversion configuration object