Forum Discussion
Altera_Forum
Honored Contributor
8 years agoFirst VHDL project and i am having plenty of problems.
I am trying to write a code that displays weight and height on a 7 segment display depending on the push button that is pressed. I am using clk and clk2 as the push button. F0 and F1 represe...
Altera_Forum
Honored Contributor
8 years agoYou could have used an if statemend and case statement inside the process:
process(weight, clk)
begin
if clk = '1' then
case weight is
when "00000" =>
when "00001" =>
.....
end case
end if;
end process;