Simulation Library
To perform functional simulations, you must use the altera_primitives.v library located in the <Intel® Quartus® Prime installation directory>\eda\sim_lib directory. For VHDL, you must use the altera_primitives.vhd library located in the <Intel® Quartus® Prime installation directory>\eda\sim_lib directory.