diff --git a/lib/VGA_ctrl/src/vga_backend.vhd b/lib/VGA_ctrl/src/vga_backend.vhd index 8cf10a1..e9ebc99 100644 --- a/lib/VGA_ctrl/src/vga_backend.vhd +++ b/lib/VGA_ctrl/src/vga_backend.vhd @@ -152,17 +152,15 @@ inst_vga_timing: entity work.vga_timing end process; proc_vga_color_out: - process (rst, vga_clk) + process (vga_clk) variable do_scan : std_logic; variable color : color_t; begin - if rst = '1' then - do_scan := '0'; - elsif rising_edge(vga_clk) then + if rising_edge(vga_clk) then vga_red <= X"00"; vga_green <= X"00"; vga_blue <= X"00"; - if do_scan = '1' then + if is_scan = '1' then for i in 0 to VGA_NUM_CH-1 loop color := color_in(i); if color_en(i) = '1' then @@ -172,7 +170,6 @@ inst_vga_timing: entity work.vga_timing end if; end loop; end if; - do_scan := is_scan; end if; end process;