Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- I Think the reason is that I use a "generic expression" in the case-statement. --- Quote End --- Right. The solution is to avoid them for designs intended for ModelSim simulation. There are also some other cases where some expressions are tolerated with Quartus integrated synthesis but complained by ModelSim. According to the VHDL standard, only simple expressions are allowed in a case choices term. A shift operation isn't a simple expression. I guess, the best readable replacement is a chain of if then elsif.