Main Content

Data Type Optimization in金宝app

Fixed-point data type optimization for an efficient design

Data type optimization automatically iterates through various fixed-point configurations to choose the optimal heterogeneous data types while meeting tolerance constraints on the numerical behavior of your system. The optimization seeks to minimize an objective function, such as total bit width or total operator counts, using fixed-point data types for an efficient design.

You can optimize data types using thefxpoptfunction at the command line, or by using theOptimized Fixed-Point Conversionworkflow in the Fixed-Point Tool.

Functions

fxpopt Optimize data types of a system

Classes

fxpOptimizationOptions Specify options for data type optimization
OptimizationSolution Optimized fixed-point implementation of system
OptimizationResult Result after optimizing fixed-point system

Topics

Data Type Conversion Overview

Convert data types in your model to fixed point in one of three ways.

Specify Behavioral Constraints

用信号误差和模型验证s to verify behavior of fixed-point implementation.

Optimize Fixed-Point Data Types for a System

Optimize data types in a system based on specified tolerances.

Optimize the Fixed-Point Data Types of a System Using the Fixed-Point Tool

Use the Fixed-Point Tool to optimize the data types of a system using multiple simulation scenarios.

Optimize Data Types Using Multiple Simulation Scenarios

Define multiple simulation scenarios for range collection and verification.

Troubleshooting

Blocks That Do Not Support Fixed-Point Data Types

Troubleshoot blocks that are not supported for fixed-point conversion.

Data Type Optimization Not Successful

Troubleshoot errors thrown during data type optimization using thefxpoptfunction.

Featured Examples