Erste Schritte mit Fixed-Point Designer
Fixed-Point Designer™ bietet Datentypen und Tools zur Optimierung und Implementierung von Festkomma- und Gleitkomma-Algorithmen auf eingebetteter Hardware. Dies umfasst Festkomma- und Gleitkomma-Datentypen und zielspezifische numerische Einstellungen. Mit Fixed-Point Designer können Sie eine zielbewusste Simulation ausführen, die für Festkommawerte bit-echt ist. Daraufhin können Sie Quantisierungseffekte wie Überschreitungen und Präzisionsverluste testen und debuggen, bevor Sie den Entwurf auf Hardware implementieren.
Fixed-Point Designer bietet Apps und Tools zur Analyse von Double-Precision-Algorithmen und zur Konvertierung dieser Algorithmen in Gleitkomma- oder Festkomma-Werte mit reduzierter Präzision. Mit Optimierungstools können Sie Datentypen auswählen, die Ihren Anforderungen an die numerische Präzision ebenso wie den Beschränkungen der Zielhardware entsprechen. Für eine effiziente Implementierung können Sie rechnerisch aufwändige Entwurfskonstrukte durch hardware-optimale Muster wie komprimierte Lookup-Tabellen ersetzen.
C und HDL-Produktionscode kann direkt aus Ihren optimierten Festkomma- und Gleitkomma-Modellen erstellt werden.
Tutorials
- Create Fixed-Point Data in MATLAB
Adjustfi
object properties to create fixed-point data types. - Performing Fixed-Point Arithmetic
Control bit growth and overflows using thefimath
object. - Generate Fixed-Point C Code
Generate fixed-point C code with MATLAB® Coder™ and Fixed-Point Designer. - Manually Convert a Floating-Point MATLAB Algorithm to Fixed Point
Explore best practices for manual fixed-point conversion. - Configure Blocks with Fixed-Point Output
Create fixed-point models by configuring Simulink® blocks to output fixed-point signals. - 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. - 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.
MATLAB-Workflow
Simulink-Workflow
Über Festkomma
- Benefits of Fixed-Point Hardware
Learn about the memory, speed, and cost benefits of using hardware with fixed-point data types.
- 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.
Enthaltene Beispiele
Videos
Was ist Fixed-Point Designer?
Entwickeln und Simulieren von Festkommasystemen mithilfe von Fixed-Point Designer.