Getting error in HDL Optimized RS Encoder for ufix4 data type
36 views (last 30 days)
Show older comments
Hassaan Saeed
on 15 Oct 2021
Commented: Hassaan Saeed
on 22 Oct 2021
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 Comments
Accepted Answer
Mounika Sheela
on 18 Oct 2021
Hi Hassaan,
This is a known issue for the Integer-Input RS Encoder HDL Optimized block from Comms Toolbox. The block doesn't support HDL code generation for RS Codes with parity length 2 (N=11 and K=9). This issue is fixed in RS Encoder block from WHDL Toolbox, you can use this one for your work.
More Answers (0)
See Also
Categories
Find more on Speed Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!