Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15469 Discussions

MODELSIM: Error: (vsim-13) Recompile work

BDarji
New Contributor I
2,195 Views

I am having certain System Verilog files. Some of them contain packages. Those are included in other files. I was trying to simulate them using Modelsim - INTEL FPGA Started Edition. Although compilation was successful, while trying to start simulation, I was getting following error messages:

 

# vsim work.tb_tx_phy

# Start time: 12:29:30 on Apr 09,2020

# ** Error: (vsim-13) Recompile work.tb_tx_phy_sv_unit because work.u11h_reg_pkg, work.u11h_usb_pkg have changed.

# ** Error (suppressible): (vsim-12) Recompile work.tb_tx_phy after work.tb_tx_phy_sv_unit is recompiled.

# ** Error: (vsim-13) Recompile work.tb_tx_phy because work.u11h_reg_pkg, work.u11h_usb_pkg have changed.

# Error loading design

# End time: 12:29:31 on Apr 09,2020, Elapsed time: 0:00:01

# Errors: 3, Warnings: 0

 

 

3 Replies
BDarji
New Contributor I
2,138 Views

With the help of my colleague, I was able to solve this problem in following way:

 

  1. First compile all files.
  2. From Library tab, right click on 'work' and select refresh. (See the attached image.)
  3. Now, start simulation.

 

While searching for this, I spent couple of hours. But didn't get succeed until got work-around or solution from my colleague.

 

Anyway, I hope this would be useful to someone in future.

 

Cheers,

Bhaumik

Sergeybond
Beginner
1,843 Views

Thank you! Thing with Refresh button actually worked

Kenny_Tan
Moderator
2,138 Views

Thanks, this will be very useful especially using the refresh button.

 

Reply