Get Started with Fixed-Point Designer
Fixed-Point Designer™ provides data types and tools for optimizing and implementing fixed-point and floating-point algorithms on embedded hardware. It includes fixed-point and floating-point data types and target-specific numeric settings. With Fixed-Point Designer you can perform target-aware simulation that is bit-true for fixed point. You can then test and debug quantization effects such as overflows and precision loss before implementing the design on hardware.
Fixed-Point Designer provides apps and tools for analyzing double-precision algorithms and converting them to reduced-precision floating point or fixed point. Optimization tools enable you to select data types that meet your numerical accuracy requirements and target hardware constraints. For efficient implementation you can replace computationally expensive design constructs with hardware-optimal patterns such as compressed lookup tables.
Production C and HDL code can be generated directly from your fixed- and floating-point optimized models.
- Create Fixed-Point Data in MATLAB
Fixed point basics.
- Performing Fixed-Point Arithmetic
Performing fixed-point arithmetic.
- View Fixed-Point Data
fiobject display settings used in code examples.
- Accelerate Fixed-Point Simulation
This example shows how to accelerate fixed-point algorithms using
- Set Data Types Using Min/Max Instrumentation
This example shows how to set fixed-point data types by instrumenting MATLAB code for min/max logging and using the tools to propose data types.
- Generate Fixed-Point C Code
Generate standalone fixed-point C code.
- Manually Convert a Floating-Point MATLAB Algorithm to Fixed Point
Manual conversion of a floating-point MATLAB algorithm to fixed point.
- Developing and Testing Fixed-Point Systems
Overview of the development cycle for simulating dynamic systems.
- Pass Fixed-Point Data Between Simulink Models and MATLAB
Reading fixed-point data from MATLAB® into your Simulink® models, and logging fixed-point information from your models and simulations to the workspace.
- Configure Blocks with Fixed-Point Output
Fixed-point model creation by configuring Simulink blocks to output fixed-point signals.
- Cast from Doubles to Fixed Point
Example based on the
fxpdemo_dbl2fixmodel, which highlights many of the key features of the Fixed-Point Designer software.
- Convert Floating-Point Model to Fixed Point
Use the Fixed-Point Tool to convert a floating-point model to fixed point.
- Sharing Fixed-Point Models
Data type override settings for sharing and editing a model containing fixed-point blocks without the Fixed-Point Designer software.
About Fixed Point
- Benefits of Fixed-Point Hardware
Fixed-point hardware can provide benefits in size and power consumption, memory usage, speed, and cost.
- Fixed-Point Data Types
Fixed-point data types representation.
- Precision and Range
Discusses the concepts behind arithmetic operations in Fixed-Point Designer.
Discusses the types of scaling used in Fixed-Point Designer; binary point-only and [Slope Bias].
- Arithmetic Operations
Introduces the concepts behind arithmetic operations in Fixed-Point Designer.
- Physical Quantities and Measurement Scales
Overview of measurement scales and representing numbers.
- Selected Bibliography