Forum Discussion
Altera_Forum
Honored Contributor
13 years agovhdl code for state machine
Hai, Can anyone justify what the different between two line codes below: 1) case cycle is when 0l1l7 =>cp<=SXT(bm,11)+b3; end case 2) if cycle=2 or cycle=3 then ...
Altera_Forum
Honored Contributor
13 years agoIIRC, | can only be used in case statements or in with..select statements. It is not an "or" operator.