Fixed-Point Designer

Bit-True Design Workflow

Fixed-Point Designer provides bit-true agreement across a workflow that uses Model-Based Design. The response of a fixed-point algorithm is bit-true for all forms of simulation and code generation, including acceleration and software-in-the-loop. Analysis and verification of a fixed-point algorithm are based on bit-true representations. Bit-true agreement maximizes the benefits of Model-Based Design, such as the ability to discover issues early in the workflow, when they are easier and less costly to fix.

Comparison of output with original baseline output using Fixed-Point Designer.
Comparison of output with data types using 16-bit word length and proposed fraction length with original floating-point baseline output. Both signals are shown overlapped (left), and differences are in the order of 10-6 (right).

For Simulink models, once a model has been configured with fixed-point data types, you can simulate its performance to explore implementation tradeoffs between limited range and precision for fixed-point embedded systems.

Using the tools in Fixed-Point Designer, you can access these values and change the data types of signals, optimizing precision while ensuring that their range is covered. You can specify data type ranges using design minimums and maximums, simulation results, or derived minimum and maximum results. You can lock output data types to prevent them from being changed.

Fixed-point simulation of a fuel rate control system designed using Simulink and Stateflow.
Fixed-point simulation of a fuel rate control system designed using Simulink and Stateflow. The Fixed-Point Tool lets you trade off range and precision for data in Simulink models (bottom).
Next: Floating-Point to Fixed-Point Conversion

Try Fixed-Point Designer

Get trial software

Generación de Código C para Producción con Simulink y Embedded Coder

View webinar