Forum Discussion
Altera_Forum
Honored Contributor
16 years agoproblem
hello i do a clock to 24 hours in vhdl. i am using cyclone 2. I do vhdl files, test them with model sim, after that the comipations goes on with warnings, but it do not work on the fpga ? why...
Altera_Forum
Honored Contributor
16 years ago
process(clk_50MHz, reset)
begin
if reset = '1' then
--reset D
elsif rising_edge(clk_50MHz) then
if enable = '1' then --this can be things like "enable minute" or something
q <= q + 1;
end if;
end if;
end process;