Altera_Forum
Honored Contributor
10 years agoQuartus does not support unresolved numbers from numeric_std!!!
I have just found that code using unresolved_unsigned is rejected by Quartus II (it is accepted by Modelsim).
I tried including numeric_std_vhdl2008.vhd in my project, which resulted in syntax errors parsing a standard file(!!) This is too bad. I learned the hard way how important it is to use always unresolved types, unless one really needs multiple drivers. I lost two days (and nights) debugging a case due to multiple signal drivers (sometimes, it is not obvious that a signal has several drivers, for instance when writting to arrays with a variable index from different places). Workaround: I add alias unresolved_unsigned is IEEE.numeric_std.unsigned; in several places in my design. So I can remove this line for testing under Modelsim, and then enable it for synthesis with Quartus. I hope this experience is useful for others.