output data type of fix point Add/sub block
조회 수: 1 (최근 30일)
이전 댓글 표시
My SIMULINK Add/Sub block performing
c=a+b.
As shown below
Data type of "a" and "b" is sfi(25, 17) whereas
data type of output "c" is here sfi(32, 17).
My question is how "c" output data type is sfi(32, 17) ?
It should be sfi(26, 17) as per addition rule.
Note: output data type is set to : "Inherit: Same as accumulator".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/760821/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/760826/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/760831/image.jpeg)
Thanks........
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!