Search code examples
vhdlmodelsim

Why does Modelsim 10 not compile older code?


I just recently upgraded to Modelsim 10 and when I recompiled all my code, only 30 out of 37 compiled. Those that wouldn't compile had a common error

No feasible entries for infix operator "&"

I simply included the packages for std_logic, change bits to std_logics, and it magically fixes the problem on the first recompiling (a rare sight for me). My question is what is why did the new compiler (if it even is new) not accept bit & unsigned(N downto 0). Is it some kind of new standard to force HDL coders to use more abstraction? I saw a similar question which solved my problem, but I want to know why the compilation is suddenly different.


Solution

  • Could it be that your new ModelSim uses different default settings (e.g. -2008 instead of -87)?