Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCondition when in vhdl code
Sorry for my bad english, I have a problem in my code: i use the function case x is when y => but instead of a value i would like to have something (>= Y) i don't know if it's possible bu...
Altera_Forum
Honored Contributor
10 years agoSo it won't work if i do this:
case cnt => when (>= 80) => leds <= "0001"; if(cnt > 90) leds <= "0011"; end if; when(...) end case