Forum Discussion
Altera_Forum
Honored Contributor
12 years agohere:
process begin if reset = '1' then count <= 0; elsif rising_edge (clk) then if count < 255 then if input = '1' then count <= count + 1; end if; end if; end;here:
process begin if reset = '1' then count <= 0; elsif rising_edge (clk) then if count < 255 then if input = '1' then count <= count + 1; end if; end if; end;