Forum Discussion
Altera_Forum
Honored Contributor
15 years agohelp in for loop
sir,here is my small code library IEEE; use IEEE.STD_LOGIC_1164.ALL; use ieee.std_logic_unsigned.all; use ieee.std_logic_arith.all; -- Uncomment the following library declaration if usin...
Altera_Forum
Honored Contributor
15 years agoIn that case at least you need input clock. Then run a counter from 0 to 4 (as integer) and multiply by your internal constant.
However, this will do as a crude exercise since you might just precompute result on paper and then don't need the design.