Get Started withFixed-Point Designer
定点Designer™提供了用于优化和实现嵌入式硬件上的定点和浮点算法的数据类型和工具。它包括定点和浮点数据类型以及特定于目标的数字设置。使用定点设计器,您可以执行目标感知的模拟,这是固定点的位真实。然后,您可以在实施硬件设计之前测试和调试量化效果,例如溢出和精确损失。
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.
Tutorials
MATLAB工作流程
Create Fixed-Point Data in MATLAB
Fixed point basics.
Perform Fixed-Point Arithmetic
Performing fixed-point arithmetic.
fi
object display settings used in code examples.
Accelerate Fixed-Point Simulation
This example shows how to accelerate fixed-point algorithms usingfiaccel
function.
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.
Generate standalone fixed-point C code.
Manually Convert a Floating-Point MATLAB Algorithm to Fixed Point
Manual conversion of a floating-point MATLAB algorithm to fixed point.
Simulink Workflow
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.
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
使用固定点工具将浮点模型转换为固定点。
Data type override settings for sharing and editing a model containing fixed-point blocks without the Fixed-Point Designer software.
关于固定点
- Benefits of Fixed-Point Hardware
Fixed-point hardware can provide benefits in size and power consumption, memory usage, speed, and cost.
- 定点数据类型
Fixed-point data types representation.
- Precision and Range
Discusses the concepts behind arithmetic operations in Fixed-Point Designer.
- Scaling
讨论定点设计师中使用的缩放类型。仅二进制点和[斜率偏置]。
- 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