Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNeed help creating a simple 32bit counter
I'm trying to learn VHDL so I thought I'd try converting the "my_first_fpga" example from verilog to VHDL (how complicated can adding one to a number be?), three hours later, lots of googling and sea...
Altera_Forum
Honored Contributor
16 years agoYes, I mixed up with the way I usually do a clock, which is either
Clockgen: process
begin
wait for 10ns;
clock <= not clock;
end process;orClockgen: process
begin
clock <= '0';
wait for 10ns;
clock <= '1';
wait for 10ns;
end process;The latter is longer but doesn't require to initialize the clock value