Fixed-Point Designer

Fixed-Point Specification

Fixed-Point Designer enables you to specify all the fixed-point properties of your MATLAB code, Simulink models, and Stateflow charts. It provides full control of signedness, word length, and scaling. It supports application-specific word lengths from 1 bit to at least 128 bits. Binary-point scaling and arbitrary slope and bias scaling needed by sensors and actuators are also supported. You can control the details of the math, such as how to deal with rounding and overflow.

Simulink model demonstrating the effect of limited range and precision on a signal.
Simulink model demonstrating the effect of limited range and precision on a signal, as shown on the scope (top right). The parameter dialog box (top left) allows full control of block parameters, including all fixed-point attributes.

Fixed-Point Designer provides a large number of functions such as math and bitwise operations, array and matrix operators, CORDIC implementations, and trigonometric functions to support fixed-point computation.

The designer lets you control the fixed-point arithmetic. The fixed-point variables can either share a single set of arithmetic attributes or have their own attached arithmetic attributes.

A data-type-independent MATLAB algorithm that provides both a floating-point response and a fixed-point response.
A data-type-independent MATLAB algorithm that provides both a floating-point response and a fixed-point response. The plot shows algorithm output with data types specified as 16-bit fixed point and as double-precision floating point.
Next: Bit-True Design Workflow

Try Fixed-Point Designer

Get trial software

MATLAB per la generazione di codice C e HDL

View webinar