aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basys3/basys3.srcs/ppu_vga_tiny.vhd3
1 files changed, 2 insertions, 1 deletions
diff --git a/basys3/basys3.srcs/ppu_vga_tiny.vhd b/basys3/basys3.srcs/ppu_vga_tiny.vhd
index 7b1703e..f47df48 100644
--- a/basys3/basys3.srcs/ppu_vga_tiny.vhd
+++ b/basys3/basys3.srcs/ppu_vga_tiny.vhd
@@ -54,6 +54,7 @@ begin
if rising_edge(CLK) then
CLKcounter <= CLKcounter + 1;
if(CLKcounter > 15) then
+ clkCounter <= (others => '0');
-- x,y data uit
X <= hcount;
Y <= vcount;
@@ -91,7 +92,7 @@ begin
vcount <= vcount + 1;
hcount <= (others => '0');
end if;
-
+
if vcount = 255 then
vcount <= (others => '0');
end if;