Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHi,
I successed to solve this issue. When you run the Modelsim Simulation Tool from the Quartus software, it automatically creates a compile files *.do with all the modules available into your design. For the altera_on_chip_flash, Quartus points to the following files: vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/synthesis/submodules/altera_onchip_flash_util.v} vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/synthesis/submodules/altera_onchip_flash.v} vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/synthesis/submodules/altera_onchip_flash_avmm_data_controller.v} vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/synthesis/submodules/altera_onchip_flash_avmm_csr_controller.v} In order to have the simulation working, you have to replace the synthesis folder with the simulation in the following way vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/simulation/submodules/altera_onchip_flash_util.v} vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/simulation/submodules/altera_onchip_flash.v} vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/simulation/submodules/altera_onchip_flash_avmm_data_controller.v} vlog -vlog01compat -work e_OnChipFlash +incdir+./qsys/e_OnChipFlash/synthesis/submodules{./qsys/e_OnChipFlash/simulation/submodules/altera_onchip_flash_avmm_csr_controller.v} Best Regards, Daniel