- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using Altera Modelsim? Only Altera Modelsim come with predefined library.
Otherwise you will have to compile the libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure if you still need help on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- After creating the waveform, Save the file and either rename it or leave the name as it is (Waveform.vwf).
- From the menu, click Simulation -> Simulation Settings.
- In the window that pops-up you have to modify the vwf name (if you have changed the name while saving it) in the "Testbench Generator Command" box. Scroll left and change all instances of the "Waveform.vfw" to the name you have specified earlier while saving it. You can also change the name of the generated .vwf.vt file.
- Under the Modelsim Script box make change the testbench name (*.vwf.vt) .
- In the next line you will see the vsim command. Here include the libraries mentioned earlier. "-L cycloneiv_hssi -L cycloneiv_hssi_ver -L cycloneiv_pcie_hip -L cycloneiv_pcie_hip_ver
- Click Save.
- Now, generate the testbench and the ModelSim simulation scripts.
- Now, everytime you simulate the design, it should include the necessary libs and compile/simulate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But I don't see any "setting" under simulation:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not seeing the simulation setting under simulation option.
I am using Quartus Prime Version 15.1.0 Build 185 10/21/2015 SJ Standard Edition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is present in the later versions.. 18 and 18.1 , am not sure about 15. Why don't you try upgrading to the latest 18.1 Lite version ? It would solve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
okay, thanks.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page