mirror of
https://github.com/marqs85/ossc
synced 2025-04-09 22:56:34 +03:00
fix potential jumping issue with HV sync
This commit is contained in:
parent
353437ab87
commit
88026cafa2
@ -201,7 +201,7 @@ always @(posedge PCLK_i) begin
|
||||
|
||||
// vsync leading edge processing per quadrant
|
||||
if (VS_i_np_prev & ~VS_i_np) begin
|
||||
if (h_cnt_ref < even_min_thold) begin
|
||||
if ((HS_i_prev & ~HS_i) | (h_cnt_ref < even_min_thold)) begin
|
||||
fid_next <= FID_ODD;
|
||||
fid_next_ctr <= 2'h1;
|
||||
end else if ((h_cnt_ref > even_max_thold) | ~interlace_flag) begin
|
||||
|
Loading…
Reference in New Issue
Block a user