sort() in HDL Coder
Mostrar comentarios más antiguos
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
Respuestas (2)
Bharath Venkataraman
el 22 de Sept. de 2016
1 voto
If you have the Vision HDL Toolbox, it has a Histogram block that is optimized for HDL.
4 comentarios
DN
el 23 de Sept. de 2016
Walter Roberson
el 23 de Sept. de 2016
Frame to Pixel Block can be fed with any 2D array, no actual video format required. The pixelcontrol bus signal will be created from the array.
DN
el 26 de Sept. de 2016
DN
el 26 de Sept. de 2016
Bharath Venkataraman
el 31 de Jul. de 2016
0 votos
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 comentarios
DN
el 31 de Jul. de 2016
Ok thanks Bharath. No I wanted to write a histogram block in Simulink (I don't have the image processing toolbox), basically a histc() function is what I wanted to replicate within Simulink but also in the future be HDL compatible (although histc is being replaced I see by hiscount I saw), but anyway the main point being that in the way I wanted to write a HDL histogram block in my user defined fu block I need to order it in ascending order before I can select the binning process - hence I need sort(). How does the median filter block look like and how can I use this for sorting in my case?
Walter Roberson
el 31 de Jul. de 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
DN
el 2 de Ag. de 2016
Categorías
Mostrar más
Más información sobre Video Formats and Interfaces en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!