Since altera_syncram is included in the altera_lnsim library, you can use it by compiling
<Quartus installation>/eda/sim_lib/altera_lnsim.sv
.
You can also create (compile) the simulation library manually,
Nativelink simulation (for Standard / Lite Edition) or generate simulation scripts for the IP (for Pro Edition). For more information on how to use these features, please see the following content.
Please refer to the following contents for details on how to use each function.
FPGA Functional Simulation with NativeLink
https://www.macnica.co.jp/business/semiconductor/articles/intel/131009/
Quartus® Prime Pro How to functionally simulate a design with IP generated by Quartus® Prime Pro Edition in ModelSim
https://www.macnica.co.jp/business/semiconductor/articles/intel/133550/
--------------------
Category: Simulation
Tools: Various Simulators
Devices: -