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.
Tutorial
- Creazione di dati in virgola fissa in MATLAB
Nozioni di base sulla virgola fissa. - Esecuzione aritmetica in virgola fissa
Esecuzione aritmetica in virgola fissa. - Visualizzazione dati in virgola fissa
Impostazioni di visualizzazione dell’oggettofi
utilizzate negli esempi di codice. - Simulazione dell’accelerazione in virgola fissa
Questo esempio illustra come accelerare gli algoritmi in virgola fissa utilizzando la funzionefiaccel
. - 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. - Generazione di codice C in virgola fissa
Generazione di codice C standalone in virgola fissa. - Conversione manuale di un algoritmo MATLAB in virgola mobile in uno in virgola fissa
Conversione manuale di un algoritmo MATLAB in virgola mobile in uno in virgola fissa. - Developing and Testing Fixed-Point Systems
Overview of the development cycle for simulating dynamic systems. - Pass Fixed-Point Data Between Simulink Models and MATLAB
Import data from MATLAB into your Simulink® models and log fixed-point simulation data to the workspace. - Configure Blocks with Fixed-Point Output
Create fixed-point models by configuring Simulink blocks to output fixed-point signals. - Cast from Doubles to Fixed Point
Simulate a continuous signal with fixed-point data types using Fixed-Point Designer to adjust scaling, rounding, and overflow handling. - 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.
MATLAB Workflow
Simulink Workflow
About Fixed Point
- Vantaggi dell’hardware in virgola fissa
L’hardware in virgola fissa può comportare dei vantaggi in termini di dimensioni e consumo energetico, utilizzo della memoria, velocità e costi.
- Fixed-Point Data Types
Learn how fixed-point numbers are represented as binary words.
- Precision and Range
Learn how to choose rounding methods and handle overflows using Fixed-Point Designer.
- Scaling
Understand how fixed point numbers are represented using binary point-only and Slope Bias scaling.
- Arithmetic Operations
Choose data types and scaling for best results when performing fixed-point arithmetic.
- Physical Quantities and Measurement Scales
Select measurement scales to represent physical quantities with fixed-point data types.
- Selected Bibliography