Fixed-Point Designer 시작하기
Fixed-Point Designer™는 임베디드 하드웨어에서 고정소수점과 부동소수점 알고리즘을 최적화하고 구현하기 위한 데이터형과 툴을 제공합니다. 여기에는 고정소수점 및 부동소수점 데이터형과 타깃별 숫자형 설정도 포함되어 있습니다. Fixed-Point Designer를 사용하면 고정소수점에 대한 비트트루(bit-true) 타깃 인식 시뮬레이션을 수행할 수 있습니다. 그런 다음 하드웨어에 설계를 구현하기 전에 오버플로, 정밀도 손실과 같은 양자화 영향을 테스트하고 디버그할 수 있습니다.
Fixed-Point Designer는 배정밀도 알고리즘을 분석하고 이를 더 낮은 정밀도의 부동소수점 또는 고정소수점으로 변환하는 앱과 툴을 제공합니다. 최적화 툴을 사용하면 수치적 정확도 요구 사항과 타깃 하드웨어의 제약 조건을 충족하는 데이터형을 선택할 수 있습니다. 효율적인 구현을 위해, 계산량이 많은 설계 구문을 하드웨어에 최적화된 패턴(예: 압축된 룩업 테이블)으로 바꿀 수 있습니다.
최적화된 고정소수점 모델과 부동소수점 모델에서 프로덕션용 C 코드와 HDL 코드를 직접 생성할 수 있습니다.
튜토리얼
- MATLAB에서 고정소수점 데이터 만들기
fi
객체 속성을 조정하여 고정소수점 데이터형을 만듭니다. - 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 워크플로
Simulink 워크플로
고정소수점 정보
- Benefits of Fixed-Point Hardware
Learn about the memory, speed, and cost benefits of using hardware with fixed-point data types.
- 고정소수점 데이터형
고정소수점 숫자가 이진 워드로 표현되는 방식을 알아봅니다.
- 정밀도와 범위
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.