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
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 thefxpdemo_dbl2fix
model, 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.
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
Fixed-point data types representation.
- Precision and Range
Discusses the concepts behind arithmetic operations in Fixed-Point Designer.
- Scaling
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