Question : if statement vdhl
Answered by : elegant-eagle-3m3n7kdetigu
process(CLK, RESET)
begin if RESET = '1' then COUNT <= 0; elseif CLK'event and CLK='1' then if (COUNT >= 9) then COUNT <= 0; else COUNT <= COUNT + 1; end if; end if
end process;
Source : https://www.ics.uci.edu/~jmoorkan/vhdlref/ifs.html | Last Update : Fri, 01 May 20