Re: Sidequest: VGA scan doubler
Posted: 11 Mar 2024 05:17
OK so I got this version 0.7 board stuck together now, in exciting purple this time.
It basically works when I first power it up, but then gets more glitchy over time as it warms up.
That is exactly the same as the previous board, which I assumed was because it had marginal timing. But this one using a much faster chip isn't marginal - the timing analysis says it should be good to go up to at least 120MHz. So I dunno what the reason is. It could be the open-source software. I tried to get the official Lattice software (iCEcube2) to run, but it's pure garbage and just segfaults which is no help.
Checked the signals on my scope and they are solid going into the chip.
The actual scandoubler part works great. It falls apart when it comes to keeping track of wlthe scanline number, and how many pixels are on each line. Those numbers seem to get noisy or they don't work at all.
So this is kind of in that twilight zone now of me just "trying stuff" but not having a solid plan.
Ignore the blue line in the videos - that's just for debugging the line number.
In colour, probably flicking because of wrong BLANK generation.
In mono, not generating any BLANK and basically stable but you can see that line jumping around indicating that it's lost track of where the frame started.
Very annoying.
It basically works when I first power it up, but then gets more glitchy over time as it warms up.
That is exactly the same as the previous board, which I assumed was because it had marginal timing. But this one using a much faster chip isn't marginal - the timing analysis says it should be good to go up to at least 120MHz. So I dunno what the reason is. It could be the open-source software. I tried to get the official Lattice software (iCEcube2) to run, but it's pure garbage and just segfaults which is no help.
Checked the signals on my scope and they are solid going into the chip.
The actual scandoubler part works great. It falls apart when it comes to keeping track of wlthe scanline number, and how many pixels are on each line. Those numbers seem to get noisy or they don't work at all.
So this is kind of in that twilight zone now of me just "trying stuff" but not having a solid plan.
Ignore the blue line in the videos - that's just for debugging the line number.
In colour, probably flicking because of wrong BLANK generation.
In mono, not generating any BLANK and basically stable but you can see that line jumping around indicating that it's lost track of where the frame started.
Very annoying.