Intel: I am doing single port RAM generation and doing RTL simulation, but "altera_syncram" cannot find the module in "altera_mf.v", resulting in a simulation error. Please let me know the location of the library file where "altera_syncram" is defined.

simulation

Category: Simulation
Tools: various simulators
device:-

altera_syncram is included in the altera_lnsim library, so
<Quartus installation>/eda/sim_lib/altera_lnsim.sv
If you compile it, you can use it.

There is also a method of manually creating (compiling) a simulation library like this,
There are Nativelink simulations (Standard / Lite Edition compatible) and methods to generate simulation scripts for IP (Pro Edition compatible).
Please refer to the following content for how to use each function.

Let NativeLink solve your FPGA function simulation
https://www.macnica.co.jp/business/semiconductor/articles/intel/131009/
How to Functionally Simulate a Design with Quartus® Prime Pro Edition Generated IP in ModelSim
https://www.macnica.co.jp/business/semiconductor/articles/intel/133550/

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.