Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

task-to stop counter when it reaches "0000"

4 bit down counter ... ... architecture behavioral of dwncounter is signal counter<= std_logic_vector(3 downto 0); begin process(clk, rst) begin if (rst='1') then counter<="0000";...