You have to also include the following libraries in the vsim command
vsim -L cycloneiv_hssi -L cycloneiv_hssi_ver -L cycloneiv_pcie_hip -L cycloneiv_pcie_hip_ver - work.....
This will include all of the required device and IP libraries needed for simulation.
Yes, I am using Altera Modelsim.
I have added "-L cycloneiv_hssi -L cycloneiv_hssi_ver -L cycloneiv_pcie_hip -L cycloneiv_pcie_hip_ver" to vsim command:
But once I run the functional simulation in Simulation Waveform Editor, it will overwrite the 'do' file because this file is generated by Simulation Waveform Editor itself:
There is not setting tab in the Simulation Waveform Editor (open from Quartus Prime 15.1).
What can I do so that vsim command cannot be overwritten?
You need to edit the file from within the Waveform editor in Quartus. When you create the input waveforms for the design using the Simulation Waveform Editor, you have to do the following:
You have to open the Waveform that you created in the Waveform Editor. In this screen the Simulation Settings option will be there under the Simulation menu item.
Which version of Quatus are you using 18.0 / 18.1 Lite/Std?