--- Quote Start ---
You can precompile most libraries in Modelsim.
Usually altera_modelsim will have these lpm/altera_mf libraries ready from installation.
Otherwise you can precompile as follows:
go to modelsim => compile => set library name to lpm => navigate to altera folders that contain 220pack.vhd/220model.vhd. select them and compile.
--- Quote End ---
Thank Kaz
I had done that a lot of time but it still error (Modelsim said, they do not found lpm library). I will make it step by step and send it to you, i hope you check it for me. Thanks again