Getting error in HDL Optimized RS Encoder for ufix4 data type
显示 更早的评论
I am working with an example program using HDL optimized RS encoder/decoder. You can find the example here
It is working fine for N = 255, K = 239 and HDL files are being generated perfectly.
Then I tried N = 15, K = 9 by adjusting the paramters and encoder/decoder polynomial [1 0 0 1 1] according to that, I get correct simulations result and HDL file is also generated.
But when i put N=11, K=9 for the same polynomial, the simulation works fine and it gives thecorrect result but while generating the HDL file, I get this error

In case you need to adjust the model according to my paramters, I am attaching screenshots by which you make the alterations.




3 个评论
Bharath Venkataraman
2021-10-15
编辑:Bharath Venkataraman
2021-10-15
Can you try using fixdt(0,4,0) for the table data type?
Also, it would help if you are able to show a snapshot of the inputs and outputs of the RS block with datatypes shown.
Hassaan Saeed
2021-10-15
Hassaan Saeed
2021-10-15
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Speed Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

