Altera_Forum
Honored Contributor
7 years agoError: (vsim-3033) Instantiation of 'alt_dual_boot_avmm' failed.
Hi there
I am have a severe and persistent problem with an attempt to simulate a MAX10 Qsys (platform designer) system in Modelsim. Everytime I try to run an RTL simulation from the synthesized Qsys block, I get two errors: --- Quote Start --- # Loading basic_spi_to_flash.altera_dual_boot# ** Error: (vsim-3033) Instantiation of 'alt_dual_boot_avmm' failed. The design unit was not found.# Time: 0 ps Iteration: 0 Instance: /testbench_spi/dut/dual_boot_0 File: e:/projects/trunk/max10/db/ip/basic_spi_to_flash/submodules/altera_dual_boot.v Line: 41# Searched libraries:# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/altera# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/lpm# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/sgate# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/altera_mf# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/altera_lnsim# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/fiftyfivenm# E:/Projects/trunk/MAX10/simulation/modelsim/rtl_work# E:/Projects/trunk/MAX10/simulation/modelsim/basic_spi_to_flash# E:/Projects/trunk/MAX10/simulation/modelsim/basic_spi_to_flash# Loading basic_spi_to_flash.altera_onchip_flash# Loading basic_spi_to_flash.altera_onchip_flash_avmm_data_controller# Loading basic_spi_to_flash.altera_onchip_flash_address_range_check# Loading basic_spi_to_flash.altera_onchip_flash_convert_address# ** Error: (vsim-3033) Instantiation of 'altera_onchip_flash_block' failed. The design unit was not found.# Time: 0 ps Iteration: 0 Instance: /testbench_spi/dut/onchip_flash_0 File: e:/projects/trunk/max10/db/ip/basic_spi_to_flash/submodules/altera_onchip_flash.v Line: 305# Searched libraries:# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/altera# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/lpm# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/sgate# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/altera_mf# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/altera_lnsim# E:/Projects/trunk/MAX10/simulation/modelsim/vhdl_libs/fiftyfivenm# E:/Projects/trunk/MAX10/simulation/modelsim/rtl_work# E:/Projects/trunk/MAX10/simulation/modelsim/basic_spi_to_flash# E:/Projects/trunk/MAX10/simulation/modelsim/basic_spi_to_flash --- Quote End --- This is from a Qsys project containing a Clock Source, On--chip Flash (with dual boot setup), SPI to Avalon Master Bridge and 4 Pipeline Bridges. It is not a very complex system. I have tried to manually locate the missing libraries, but including them in the .do file simply creates a different error. For some reason, Quartus is simply not generating the files that it needs to for Modelsim's use. Loading of the other libraries in the project seems to be succesful and Modelsim does not complain. Note that I have tried this using Quartus 13.1, 16.0 and 17.1. I have attempted the simulations with Modelsim 10.2 and 10.7a (the most recent version). I have also tried this in Questa Prime. For these reasons I don't think this is a version issue. Please help, I am desperate. Thank you in advance.