sort() in HDL Coder
이전 댓글 표시
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
답변 (2개)
Bharath Venkataraman
2016년 9월 22일
1 개 추천
If you have the Vision HDL Toolbox, it has a Histogram block that is optimized for HDL.
댓글 수: 4
DN
2016년 9월 23일
Walter Roberson
2016년 9월 23일
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
2016년 9월 26일
DN
2016년 9월 26일
Bharath Venkataraman
2016년 7월 31일
0 개 추천
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
DN
2016년 7월 31일
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
2016년 7월 31일
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
2016년 8월 2일
카테고리
더 보기
도움말 센터 및 File Exchange에서 Video Formats and Interfaces에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!