From 6b38a0acba6b715a316345430002c19c510ca7ec Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 25 Oct 2008 20:11:03 +0000 Subject: [PATCH] - removed delay at color output. Fixes image problems. git-svn-id: http://moon:8086/svn/vhdl/trunk@123 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/VGA_ctrl/src/vga_backend.vhd | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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;