Skip to content

Commit

Permalink
Tighten timings slightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Mar 31, 2011
1 parent c5c5f6f commit a6f829e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clock_1hz.vhd
Expand Up @@ -24,7 +24,7 @@ begin
count <= 0;
clk_cnt <= "0000001";
elsif rising_edge(clk) then
if (count = 10) then
if (count = 8) then
clk_cnt <= clk_cnt(5 downto 0) & clk_cnt(6); -- rotate the clk bits
count <= 0;
else
Expand Down

0 comments on commit a6f829e

Please sign in to comment.