FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP

Color Space Converter

Altera_Forum
Honored Contributor II
1,073 Views

Hello! 

 

I have a problem with csc (Color Space Converter). 

I use this IP to convert Y'CbCr SDTV to computer RGB. I wrote in vhdl a vertical line generator that sends in parallel 24 bit ([7..0] Y, [15..8] Cb and [23..16] Cr) 640x480, with the correct synchronisms. 

My trouble is the following: 

Only in the first line, about at the end, there are 10 "extra" pixels that I don't generate!! And for this reason the second line don't start at the begin of the screen but 10 pixels later. 

I think that the problem is caused by csc, because if I use a RGB generator without to use csc the image on the screen is perfect! 

 

Best reguards! 

Luca
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
361 Views

I am using the Color Space Converter to convert Y'CbCr HDTV to computer RGB without any issues. Are you sure you are using the dout_valid and dout_ready signals appropriately. Remember the Altera Video IP Avalon Streaming interfaces have a ready latency of 1. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
361 Views

Thanks for your reply! 

I think that the code is correct because if I use the same code with RGB and without CSC it works correctly! 

Can you give me csc's setting that you use in SOPC Builder? 

 

Thanks! 

 

Luca
0 Kudos
Reply