Good Morning,
I created a system by means of the Quartus Qsys composed by a SoC (hard processor system - hps) and an Avalon Slave.
The Qsys generated all the files for synthesis and simulation, together with the compilation script for Modelsim.
However, I had an error in Modelsim after launching the script (after the vsim):
Error: (vsim-3193) Load of "C:\altera\14.0\ip\altera\mentor_vip_ae\common_win dows_10_1/questa_mvc_core/win32_gcc-4.2.1/libaxi_IN_SystemVerilog_MTI_full.dll" failed: DLL dependent library not found.
#
# ** Error: (vsim-8649) Initialization function 'axi_IN_SystemVerilog_load' not found.
So, I downloaded the UVM libraries from the accellera website and I compiled them using the command
vlog +incdir+C:/modeltech_pe_10.4a/uvm-1.1a/src C:/modeltech_pe_10.4a/uvm-1.1a/src/uvm_pkg.sv C:/modeltech_pe_10.4a/uvm-1.1a/src/dpi/uvm_dpi.cc
After relaunching the script, I got a fatal error:
# Compiling C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\exportwrapper.c
# ** Fatal: ** Error: (vsim-3828) Could not link 'vsim_auto_compile.dll': cmd = 'C:/modeltech_pe_10.4a\gcc-4.2.1-mingw32vc9\bin\gcc.exe -shared -o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\vsim_auto_compile.dll" C:/DESIGNES/SMH_FLASH_PROGRAMMER/PROJECT/FR2_FPGA/soc_system3/soc_system_simple/testbench/mentor/libraries/work\_dpi\auto_compile@\win32pe_gcc-4.2.1\*.o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\exportwrapper.o" -L"C:/modeltech_pe_10.4a/win32pe" -lmtipli'
#
# (vsim-50) A call to system(C:/modeltech_pe_10.4a\gcc-4.2.1-mingw32vc9\bin\gcc.exe -shared -o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\vsim_auto_compile.dll" C:/DESIGNES/SMH_FLASH_PROGRAMMER/PROJECT/FR2_FPGA/soc_system3/soc_system_simple/testbench/mentor/libraries/work\_dpi\auto_compile@\win32pe_gcc-4.2.1\*.o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\exportwrapper.o" -L"C:/modeltech_pe_10.4a/win32pe" -lmtipli) returned error code '1'.
#
# The logfile contains the following messages:
#
# C:/DESIGNES/SMH_FLASH_PROGRAMMER/PROJECT/FR2_FPGA/soc_system3/soc_system_simple/testbench/mentor/libraries/work\_dpi\auto_compile@\win32pe_gcc-4.2.1\uvm_dpi.o:uvm_dpi.cc:(.eh_frame+0x11) : undefined reference to `__gxx_personality_v0'
# collect2: ld returned 1 exit status
#
#
# Result too large. (errno = ERANGE)
#
#
#
# FATAL ERROR while loading design
# Error loading design
Anyone knows how to solve this?
Thanks,
Guido
I created a system by means of the Quartus Qsys composed by a SoC (hard processor system - hps) and an Avalon Slave.
The Qsys generated all the files for synthesis and simulation, together with the compilation script for Modelsim.
However, I had an error in Modelsim after launching the script (after the vsim):
Error: (vsim-3193) Load of "C:\altera\14.0\ip\altera\mentor_vip_ae\common_win dows_10_1/questa_mvc_core/win32_gcc-4.2.1/libaxi_IN_SystemVerilog_MTI_full.dll" failed: DLL dependent library not found.
#
# ** Error: (vsim-8649) Initialization function 'axi_IN_SystemVerilog_load' not found.
So, I downloaded the UVM libraries from the accellera website and I compiled them using the command
vlog +incdir+C:/modeltech_pe_10.4a/uvm-1.1a/src C:/modeltech_pe_10.4a/uvm-1.1a/src/uvm_pkg.sv C:/modeltech_pe_10.4a/uvm-1.1a/src/dpi/uvm_dpi.cc
After relaunching the script, I got a fatal error:
# Compiling C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\exportwrapper.c
# ** Fatal: ** Error: (vsim-3828) Could not link 'vsim_auto_compile.dll': cmd = 'C:/modeltech_pe_10.4a\gcc-4.2.1-mingw32vc9\bin\gcc.exe -shared -o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\vsim_auto_compile.dll" C:/DESIGNES/SMH_FLASH_PROGRAMMER/PROJECT/FR2_FPGA/soc_system3/soc_system_simple/testbench/mentor/libraries/work\_dpi\auto_compile@\win32pe_gcc-4.2.1\*.o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\exportwrapper.o" -L"C:/modeltech_pe_10.4a/win32pe" -lmtipli'
#
# (vsim-50) A call to system(C:/modeltech_pe_10.4a\gcc-4.2.1-mingw32vc9\bin\gcc.exe -shared -o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\vsim_auto_compile.dll" C:/DESIGNES/SMH_FLASH_PROGRAMMER/PROJECT/FR2_FPGA/soc_system3/soc_system_simple/testbench/mentor/libraries/work\_dpi\auto_compile@\win32pe_gcc-4.2.1\*.o "C:/Users/GBORRI~1/AppData/Local/Temp\gborriello@L-IT-08277_dpi_7312\win32pe_gcc-4.2.1\exportwrapper.o" -L"C:/modeltech_pe_10.4a/win32pe" -lmtipli) returned error code '1'.
#
# The logfile contains the following messages:
#
# C:/DESIGNES/SMH_FLASH_PROGRAMMER/PROJECT/FR2_FPGA/soc_system3/soc_system_simple/testbench/mentor/libraries/work\_dpi\auto_compile@\win32pe_gcc-4.2.1\uvm_dpi.o:uvm_dpi.cc:(.eh_frame+0x11) : undefined reference to `__gxx_personality_v0'
# collect2: ld returned 1 exit status
#
#
# Result too large. (errno = ERANGE)
#
#
#
# FATAL ERROR while loading design
# Error loading design
Anyone knows how to solve this?
Thanks,
Guido