Standard ModelSim SE does not come with Altera library support, so you have to
install the Altera specific libraries like altera_mf
. There is an example
Tcl script for this at ModelSim Tcl Scripting
Examples under Library Setup Script (VHDL).
As an alternative you can consider using the ModelSim-Altera version, which
comes with pre-installed Altera libraries, like the altera_mf
. This ModelSim
version can be found at ModelSim-Altera
Software.
There is even a free version called "ModelSim-Altera Starter Edition".