For Quartus Prime Pro Modelsim Simulation, you may checkout the User Guide in the link below:
A design example is attached in the user guide as a tutorial for beginner. Search Quartus_Pro_PLL_RAM.zip.
https://www.intel.com/content/www/us/en/programmable/documentation/yur1496247032051.html
Here's are some brief steps:
1. After you finished the compilation for your project, go to Tools > Generate Simulator Setup Script for IP. A file will be generated at your <project directory>/../mentor/msim_setup.tcl
2. Create a new Modelsim project at your project directory.
3. In the Modelsim transcript window, source the msim_setup.tcl file which was generated in Step 1. Then insert the next two commands to compile the library and ip simulation files.
Modelsim> source msim_setup.tcl
Modelsim> dev_com
Modelsim> com
4. Next, compile your design and testbench files in Modelsim.
Modelsim> vlog -vlog01compat -work work design.v
Modelsim> vlog -vlog01compat -work work testbench.v
5. Lastly, specify the TOP_LEVEL_NAME variable to the design’s simulation top-level file. (The top-level entity of your simulation is often a testbench that instantiates your design) Elaborate the design and run the simulation.
Modelsim> set TOP_LEVEL_NAME testbench
Modelsim> elab
Modelsim> add wave *
Modelsim> view structure
Modelsim> view signals
Modelsim> run -all
All of this can be done easier and faster if you pre-write a mentor_example.do script template as shown in the user guide Figure 4. Good for repetitive.
Though, you might need to modify the TOP_LEVEL_NAME and compilation step appropriately as you continue with different design.