Convert floating-point code to fixed-point code, optimize fixed-point data types
Converting algorithms that use floating-point operations to fixed-point operations can improve the power, cost, and performance of the generated code. Before generating HDL code, translate your floating-point MATLAB design to a fixed-point design. You can use automated tools to simplify and accelerate the conversion process. For more information on the automated fixed-point process, see Automated Fixed-Point Conversion. To get started with an example, see Floating-Point to Fixed-Point Conversion.
- Fixed Point Conversion Basics and Type Specification
Introduction to floating point to fixed point conversion, fixed-point runtime function support for HDL code generation
- Fixed Point Function Replacement and Data Visualization
Replacement of fixed-point runtime library functions and using coder.approximate