Illegal Fixed-Point Data Type: the number of bits exceeded the supported maximum?

조회 수: 29 (최근 30일)
I am having a successive FIR filters in chaine, After I added the filter shown on the pic for 80KHz , I got this errors. actually ,I don't understand what it means by the supported maximum? and how I fix this. Also, I tried to google Sfix128_En96 to find its meaning but no sucess.
Simulation 2 Clear
09:43 AM Elapsed: 1 sec
Illegal Fixed-Point Data Type: the number of bits exceeded the supported maximum. This originated from 'HVX_1_Discrete FIR Filter4'.
Component:Simulink | Category:Model error
An error occurred while propagating data type 'sfix128_En96' from 'HVX_1_/ Filter /Unit Delay3', output port 1.

채택된 답변

stozaki
stozaki 2020년 1월 14일
Hello TarikTech,
The maximum 'word length' supported by Fixed-Point Designer is 128. It looks like the word length has exceeded 128 inside the FIR.
To avoid this error, reduce the input word length of the FIR or set the output of the FIR to a word length less than 128.
Please refer following link.
Word length
Fixed-point word sizes up to 128 bits are supported for simulation.
  댓글 수: 2
SimTec
SimTec 2020년 1월 14일
Hello Stozaki, Thanks for the answer.
so I am not wrong. the FIR support maximum word length of 128 inside. so the FIR putput cannot exceed 128,right?
could you please export the version of the model you sent me into 2018, I could not open it since it is 2019
stozaki
stozaki 2020년 1월 14일
Hello,
I attached the model made by R2018a. Correctly, I think the multiplication output is over 128bit.
Regards,
stozaki

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Floating-Point to Fixed-Point Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by