Forum Discussion

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

VGA port / VHLD

Hi

i am working on video and image processing project.

i have tvp5146 daughter-card and cyclone II device. i have 4bit Y component available with me now.(i set Cb and Cr set to zero in YCbCr (8bits) to set black and white image at VGA port)

i have to put this Y component at R,G and B pins simultaneously to get black and white image at VGA port.

is there any body who guide me how i can do this?

Thank You

Rizwan

1 Reply

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

    Like I said before.

    You can make it 8 bits by taking the 4 Y bits and setting them to the MSBs of R G and B, and set the LSBs to 0.

    In VHDL:

    R <= Y & "0000";

    G <= Y & "0000";

    B <= Y & "0000";