aboutsummaryrefslogtreecommitdiff
path: root/src/main-bouncing-ball.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-bouncing-ball.vhd')
-rw-r--r--src/main-bouncing-ball.vhd3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main-bouncing-ball.vhd b/src/main-bouncing-ball.vhd
index 521a0c0..83b60f7 100644
--- a/src/main-bouncing-ball.vhd
+++ b/src/main-bouncing-ball.vhd
@@ -19,7 +19,7 @@ architecture Behavioral of main is
hsync, vsync: out std_logic);
end component;
component pixeldata port (
- pixel_clk, bounce_clk, reset: in std_logic;
+ sys_clk, pixel_clk, bounce_clk, reset: in std_logic;
x, y: in std_logic_vector(9 downto 0);
rgb: out std_logic_vector(11 downto 0));
end component;
@@ -40,6 +40,7 @@ begin
-- get current pixel color
pixel: component pixeldata
port map (
+ sys_clk => clk,
pixel_clk => clk25(1),
bounce_clk => vsync_inv,
reset => reset,