Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17256 Discussions

Errors linking Modelsim BFM models

Altera_Forum
Honored Contributor II
2,581 Views

Hi, 

 

 

I am trying to run a Verilog simulation of a test bench generated by Qsys 14.0 of a system that includes an ARM SoC HPS block.  

The originally generated test bench from ip-make-simscript --spd=...../soc_system_tb.spd 

did not include what I believe is a required element on the sim command line =  

-mvchome $QUARTUS_ROOTDIR/../ip/altera/mentor_vip_ae/common +define+MODEL_TECH 

 

After point that to the Altera mentor_vip_ae/common dir I then get the following errors from vsim. 

 

I am using the latest Questa 10.3c 

 

Any suggestions? 

 

Thanks Martin 

 

 

Loading fpga_interfaces.mgc_common_axi_sv_unit(fast)# Loading fpga_interfaces.mgc_common_axi(fast__3)# ** Error: (vsim-8388) Could not find the MVC shared library : MvcHome directory '/net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0//../ip/altera/mentor_vip_ae/common' is not a valid MVC installation for an available linux_x86_64 GCC version in /net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/mentor/modeltech/10.3c/questasim (available versions: 4.3.3 4.5.0 ). Please check MvcHome setting in modelsim.ini or on command line (-mvchome).# Loading fpga_interfaces.mgc_common_axi(fast__4)# ** Error: (vsim-8388) Could not find the MVC shared library : MvcHome directory '/net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0//../ip/altera/mentor_vip_ae/common' is not a valid MVC installation for an available linux_x86_64 GCC version in /net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/mentor/modeltech/10.3c/questasim (available versions: 4.3.3 4.5.0 ). Please check MvcHome setting in modelsim.ini or on command line (-mvchome).# Loading fpga_interfaces.altera_avalon_interrupt_sink(fast)# Loading fpga_interfaces.mgc_common_axi(fast__5)# ** Error: (vsim-8388) Could not find the MVC shared library : MvcHome directory '/net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0//../ip/altera/mentor_vip_ae/common' is not a valid MVC installation for an available linux_x86_64 GCC version in /net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/mentor/modeltech/10.3c/questasim (available versions: 4.3.3 4.5.0 ). Please check MvcHome setting in modelsim.ini or on command line (-mvchome).# Loading arriav_ver.arriav_hps_interface_fpga2sdram(fast)# Loading fpga_interfaces.altera_avalon_clock_source(fast)
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,493 Views

SO I fixed the link to find the MVC library. 

 

But now I get many errors like this one: 

 

# Loading /net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0/quartus/../ip/altera/mentor_vip_ae/common/questa_mvc_core/linux_x86_64_gcc-4.5.0/libaxi_IN_SystemVerilog_MTI_full.so 

# ** Error: (vsim-3197) Load of "/net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0/quartus/../ip/altera/mentor_vip_ae/common/questa_mvc_core/linux_x86_64_gcc-4.5.0/libaxi_IN_SystemVerilog_MTI_full.so" failed: libaxi_IN_SystemVerilog_MTI.so: cannot open shared object file: No such file or directory. 

 

Martin
0 Kudos
Altera_Forum
Honored Contributor II
1,493 Views

 

--- Quote Start ---  

SO I fixed the link to find the MVC library. 

 

But now I get many errors like this one: 

# Loading /net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0/quartus/../ip/altera/mentor_vip_ae/common/questa_mvc_core/linux_x86_64_gcc-4.5.0/libaxi_IN_SystemVerilog_MTI_full.so# ** Error: (vsim-3197) Load of "/net/tcfiler2.scs.agilent.com/vol/v51/rpdhw/tools/altera/14.0/quartus/../ip/altera/mentor_vip_ae/common/questa_mvc_core/linux_x86_64_gcc-4.5.0/libaxi_IN_SystemVerilog_MTI_full.so" failed: libaxi_IN_SystemVerilog_MTI.so: cannot open shared object file: No such file or directory. 

 

Martin 

--- Quote End ---  

 

 

Hi, 

 

I am facing same issues i.e. getting errors related to mvchome. 

How were you able to fix the errors? 

 

Kind Regards, 

 

-- 

 

Kamran Babar
0 Kudos
Altera_Forum
Honored Contributor II
1,493 Views

The “Bad library format” errors usually occur if the simulation libraries were compiled with a different simulator version other than version you are running now. 

Try remove the entire compiled database and recompile with your Questa 10.3c. 

 

.
0 Kudos
Reply