Hi Gayathri,
Modelsim transcript has been attached for simulation follow the steps in it.
For more information check the script generated and follow the steps given msim_setup.tcl file OR refer previous threads in the forum and link below.
https://www.altera.com/en_us/pdfs/literature/ug/ug_gs_msa_qii.pdf https://www.altera.com/en_us/pdfs/literature/hb/qts/qts-qps-5v3.pdf Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards,
Anand Raj Shankar
(This message was posted on behalf of Intel Corporation)