Unable To Gererate VHDL Test Bench

3 次查看(过去 30 天)
Hi,
I am unable to gernerate the VHDL test bench for the example code given On RGB to YUV convertion. Mtlab is running for long time but I am not getting the Output. I have got the VHDL code but unable to generate Test bench.Please help me with this...................

采纳的回答

Bharath Venkataraman
Are you using Filter Design HDL Coder for the HDL Code? Or HDL Coder? please first try reducing the testbench data and that should help the testbench generation get done.
  2 个评论
krishna amar
krishna amar 2015-2-5
I am just using the HDL coder. I have another question. 1.Is it possible to read .jpg Image in HDL coder. 2.In case of HDR Image Generation exmple I want to give pixer with 512*512 Pixels and number of bit is 32. Added extra Alpha chanel. It was not there in case of .jpg Image.
Image Analyst
Image Analyst 2015-2-13
krishna's flag moved here because it's a comment, not a reason that Bharath's answer should be flagged:
Hi Bharath, I am implementing HDR Image example on FPGA. I have got 14 bit out put from each chanel. 1. How can I Display the 14 bit Image on Computer Monitor with out using separate tone mapping algorithm. Is there any separate function for this? 2. In the HDR Image creation test bench they are using NTSC to RGB conversion. But in generated VHDL code I am not getting this colour space conversion. Please help me this.

请先登录,再进行评论。

更多回答(1 个)

krishna amar
krishna amar 2015-2-12
Hi Bharath,
I am implementing HDR Image example on FPGA. I have got 14 bit out put from each chanel. 1. How can I Display the 14 bit Image on Computer Monitor with out using separate tone mapping algorithm. Is there any separate function for this?
2. In the HDR Image creation test bench they are using NTSC to RGB conversion. But in generated VHDL code I am not getting this colour space conversion.
Please help me this.
  1 个评论
Bharath Venkataraman
Please look at imshow and imread to display and show images in MATLAB. You can also use the From Multimedia and Video Viewer blocks in Computer Vision System Toolbox for this purpose.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by