Forum Discussion

alex2021's avatar
alex2021
Icon for New Contributor rankNew Contributor
4 years ago

Problem running altera_pcie example designs simulation

Problem running Intel Quartus FPGA example test case in:

altera_pcie/altera_pcie_cv_hip_avmm/example_designs/ep_g2x4.qsys

I got this error message when running simv:

Warning-[STASKW_CO] Cannot open file
/nfs/tools/intel/intelFPGA/20.1/quartus//eda/sim_lib/altera_mf.v, 871
The file 'control_onchip_mem.hex' could not be opened. No such file or
directory.
Please ensure that the file exists with proper permissions.

ERROR: cannot read control_onchip_mem.hex.

where can I find control_onchip_mem.hex?

3 Replies

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Could you check if the path is correct? It seems like there is a double //. Is this a typo or it is the exact error message you see in the software. If yes, I suspect it is pointing to the wrong path.


    /nfs/tools/intel/intelFPGA/20.1/quartus//eda/sim_lib/altera_mf.v, 871


    Thanks

    Best regards,

    KhaiY


  • alex2021's avatar
    alex2021
    Icon for New Contributor rankNew Contributor

    The path works even with double //.

    I already found the cause. There was a mistake in Generate/Testbench for ep_g2x4. The top module used was "control", not "ep_g2x4_tb". The problem went away after I correct it to use ep_g2x4_tb.

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


    Best regards,

    KhaiY