1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-06 08:04:41 +00:00

align vsync and hsync for better composite video

This commit is contained in:
nino-porcino
2019-04-08 18:19:53 +02:00
parent fecb0c4471
commit 3727dcf90e

View File

@@ -1164,7 +1164,7 @@ assign VBLANK_STOP = pal?9'd269:9'd244; // Screen blanking stop// Composite Syn
always @(posedge clk) // composite synchron is either hsync or equalization+vsync
begin
csyncreg<=(equalization)?(eq1&eq2)^vsync:hsync;
csyncreg<=(equalization)?~((eq1&eq2)|~vsync):hsync;
end
always @(posedge clk) // vsync signal inverts equalization signal