From 2f1e2fe1d56117a72995d1f71e543f5b688a3f54 Mon Sep 17 00:00:00 2001 From: Ryan <> Date: Thu, 2 Oct 2025 19:57:02 -0500 Subject: [PATCH] Adjust VGA vert timing and change sync polarity --- libraries/vga/vga_counter.vhd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/vga/vga_counter.vhd b/libraries/vga/vga_counter.vhd index 8f3d400..b7ae868 100644 --- a/libraries/vga/vga_counter.vhd +++ b/libraries/vga/vga_counter.vhd @@ -22,7 +22,7 @@ entity vga_counter is V_DISPLAY: integer := 480; V_FRONT_PORCH: integer := 10; V_SYNC_WIDTH: integer := 2; - V_BACK_PORCH: integer := 29 + V_BACK_PORCH: integer := 33 ); port ( clk_50: in std_logic; @@ -114,9 +114,9 @@ begin begin if rising_edge(clk_50) then if h_sync_start = '1' then - h_sync_reg <= '1'; - elsif h_sync_end = '1' then h_sync_reg <= '0'; + elsif h_sync_end = '1' then + h_sync_reg <= '1'; end if; end if; end process; @@ -160,9 +160,9 @@ begin begin if rising_edge(clk_50) then if v_sync_start = '1' then - v_sync_reg <= '1'; - elsif v_sync_end = '1' then v_sync_reg <= '0'; + elsif v_sync_end = '1' then + v_sync_reg <= '1'; end if; end if; end process; -- 2.43.0