diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2023-02-23 16:11:29 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2023-02-23 16:11:29 +0100 |
commit | b2190241fccdfbf28d6068c9f0d2179aec285528 (patch) | |
tree | c0a2d7dbedb25ed3fefef4c6fa8131426bbd345b /basys3 | |
parent | 4764b5ef393d5e4c686817ba03b2f76d7f12bdae (diff) |
aanpassingen
was counter naar 0 vergeten
Diffstat (limited to 'basys3')
-rw-r--r-- | basys3/basys3.srcs/ppu_vga_tiny.vhd | 3 |
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; |