- reverted buggy blanking modification
git-svn-id: http://moon:8086/svn/vhdl/trunk@1604 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -137,11 +137,12 @@ inst_vga_timing: entity work.vga_timing
|
|||||||
variable color : color_t;
|
variable color : color_t;
|
||||||
begin
|
begin
|
||||||
if rising_edge(vga_clk) then
|
if rising_edge(vga_clk) then
|
||||||
if vga_rst = '1' then
|
-- Blanking
|
||||||
vga_red <= X"00";
|
vga_red <= X"00";
|
||||||
vga_green <= X"00";
|
vga_green <= X"00";
|
||||||
vga_blue <= X"00";
|
vga_blue <= X"00";
|
||||||
elsif is_scan = '1' then
|
-- Scanning
|
||||||
|
if is_scan = '1' then
|
||||||
for i in 0 to VGA_NUM_CH-1 loop
|
for i in 0 to VGA_NUM_CH-1 loop
|
||||||
color := color_in(i);
|
color := color_in(i);
|
||||||
if color_en(i) = '1' then
|
if color_en(i) = '1' then
|
||||||
|
|||||||
Reference in New Issue
Block a user