sort() in HDL Coder
5 views (last 30 days)
Show older comments
Hi, there is no sort() block in HDL Coder, right? I see there is a Simulink sort block in DSP toolbox under Simulink but it falls away in HDL coder library and is not HDL code generation compatible. Has anyone come across having to sort() for HDL coder as I don't want to write it all from scratch? Thanks
0 Comments
Answers (2)
Bharath Venkataraman
on 22 Sep 2016
If you have the Vision HDL Toolbox, it has a Histogram block that is optimized for HDL.
4 Comments
Bharath Venkataraman
on 31 Jul 2016
There is no support for sort, but it may be useful to know why you would like to implement sort. Is it for a median filter, which is supported?
3 Comments
Walter Roberson
on 31 Jul 2016
You do not need sorted order to select the binning process. You need to know the range of values which you can get with max and min
See Also
Categories
Code Generation
HDL Coder
HDL Code Generation from Simulink
Speed and Area Optimization
Speed Optimization
Show more
Find more on Video Formats and Interfaces 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!