Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VHDL 0.23 KB | None | 0 0
  1. if  flag_half_sec = '0' then
  2.     time_counter <= time_counter + "1";
  3.                  
  4. if time_counter(21 downto 0) = "1111111111111111111111" then
  5.       flag_half_sec <= '1';
  6. else
  7.       flag_half_sec <= '0';
  8. end if;
  9. end if;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement