The model can successfully realize function after using fixed-point tool.Just can not generate HDL code.
When generate HDL codes, can not support fixed point division. My dividend has 40 bits of fraction, and the divisor has 20, the result have 20 fractional bits.
1 次查看(过去 30 天)
显示 更早的评论
Maybe the question is "En_35"? But I can not find more information in help center.Please help me.
采纳的回答
Walter Roberson
2023-5-16
ufix40 divided by ufix20 would give a result with (40-20)=20 bits, but you are requesting en35 which is 35 bits.
You can create a ufix20 result and potentially convert it to _en35 as a separate step, understanding that the bottom 15 bits will not contain useful information.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 FPGA, ASIC, and SoC Development 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!