Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Color Space Converter

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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