Problem running Intel Quartus FPGA example test case in:
I got this error message when running simv:
Warning-[STASKW_CO] Cannot open file
The file 'control_onchip_mem.hex' could not be opened. No such file or
Please ensure that the file exists with proper permissions.
ERROR: cannot read control_onchip_mem.hex.
where can I find control_onchip_mem.hex?
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.
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.
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.