Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

VGA port / VHLD

Altera_Forum
Colaborador honorário II
1.128 Visualizações

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
0 Kudos
1 Responder
Altera_Forum
Colaborador honorário II
447 Visualizações

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";
Responder