Forum Discussion
Altera_Forum
Honored Contributor
14 years agoif Reset='0' then
level<="0000";else if PUSH'event and PUSH='1' then if X=8 then if (level < 10) then level <= level +1; else level <= "0000"; end if; end if; --can i do like this?if Reset='0' then
level<="0000";else if PUSH'event and PUSH='1' then if X=8 then if (level < 10) then level <= level +1; else level <= "0000"; end if; end if; --can i do like this?