Forum Discussion
Modelsim error on altera_onchip_flash_block - Error: (vsim-3033): Instantiation of 'altera_onchip_flash_block' failed. The design unit was not found.
- 6 years ago
You make the AC_meas_tb as the testbench. Can you check inside the AC_meas_tb.v files, what is your module name there? currently, the tools are complaining the testbench issue.
This seems to be the setting of the modelsim got some problem. The modelsim of the setting is modelsim.ini, what you can do is try to backup this file and let the modelsim recreate it from scratch.
- AVovk6 years ago
New Contributor
Hello KennyT_Intel.
I deleted the modelsim.ini file, ModelSim recreated it exactly the same and this did not solve the problem.
After a little thought, I decided to add lines to the "alias com" section with modules on which the ModelSim gives errors:
eval vlog $USER_DEFINED_VERILOG_COMPILE_OPTIONS $USER_DEFINED_COMPILE_OPTIONS "$QSYS_SIMDIR/../../receiving_from_PC.v"
etc.
This solve the problem.
Thanks!