beautiful
![Clapping :clap:](https://www.eevblog.com/forum/Smileys/default/clap.gif.pagespeed.ce.LImJbaO0yv.gif)
.
Time to start coding...
Let's start by dismantling everything but the sync generator & driving the existing VGA output on that PCB with 3bit color pattern.
Then, we will need 2 pieces for the HDMI. (I still need to check something...)
Module #1: Clk, clk_ena, 24bit RGB +HS+VS+DE input, 4x10 bit parallel output.
This module takes in the VGA parallel interface and outputs 3x10bit parallel data which contains the 3x RGB channels with the embedded/encoded sync information. Channel #4 is actually a fixed # "10'b1111100000" as it generates the pixel clock out.
Module #2: This will be an Intel megafunction which takes in the pixel Clk, Clk_10x which will be the serial output clock, and the 4x channels from module #1. It will output 4 parallel serial streams which will feed the LVDS output butters.
That should make a DVI picture.
Then we will advance module #1 to add embedding audio packets during the horizontal blanking interval.
(Need to double check how this works.)
There are also concerns about HDMI being forced into YUV color mode instead of RGB, though RGB supposed to be supported. I have numerous RGB to YUV color space converters, though I would like to avoid this step. (You would get brightness, contrast, saturation and hue controls on your video card if you added the color-space-converter...)