Forum Discussion
Altera_Forum
Honored Contributor
12 years agoDigitize RGB video using DE0-Nano
Hi all, I'm building a 15Khz RGB to VGA converter using the DE0-Nano, to be used with old computers from the 80's. I know there are some boards in the market like GBS8200 but I'm not happy with...
Altera_Forum
Honored Contributor
12 years agoYour code is re-syncing the outgoing HSYNC with every incoming HSYNC pulse. So, you are seeing inter-row jitter - i.e. the entire row is moving with respect to an adjacent row. This you can see in the video you posted.
You must re-sync your counters once and only once per VSYNC cycle only. Having done this you must play the data out of your buffer using your internal timers only. This is the 'free running' that Tricky refers to. Don't reset them until the next VSYNC pulse. Any difference in the clock rate will be hidden in the VSYNC dead time, where it doesn't matter. Cheers, Alex