Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI don't quite get the point. You certainly need to add to your existing code and redownload it to fpga.
all you need is this:
signal count : unsigned(26 downto 0);
.....
process
begin
if rising_edge(clk) then
count <= count + 1;
end if;
end process;
led_sw = count(26); -- or 25 etc