MODELSIM: Error: (vsim-13) Recompile work
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