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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user