hdl code generation for function block
5 次查看(过去 30 天)
显示 更早的评论
I am using MATLAB function block for doing bit reversal in simulink model,I want to convert this simulink model into HDL code,then it is showing error that.. "Matlab function block is unsupported for hdl code generation while using native floating point" how to resolve this error.
0 个评论
回答(1 个)
Tim McBrayer
2018-3-15
Are you attempting to process single data types with your MATLAB Function block? This isn't supported by HDL Coder. In addition, as a single is a number and not a bit pattern to Simulink, it won't even have bits to reverse.
6 个评论
Bharath Venkataraman
2018-3-20
Just to check - can you stream the samples into the FFT one at a time? What is prompting the move to send in multiple samples into the FFT at a time?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!