I am using 18.1 free version of Quartus Prime. My design uses the Cyclone V hard controller. I was able to simulate the example design, then changed the MPFE port numbers and type to suit my design. I tried to create a test bench to simulate and was successfully adding required libraries until loading
"altera_mem_if_hard_memory_controller_top_cyclonev.sv"
when I received the error:
Instantiation of 'cyclonev_hmc' failed. The design unit was not found.
I cannot find this file on my system, nor have I found any simulation options in the IP Editor that might account for it being missing.
Has anyone had similar experience? Am I doing something wrong?
Link Copied
I eventually found the module. It was located in an encrypted file, which is why I did not see it. FYI the Cyclone V msim_setup.tcl setup script for the hard memory controller was missing 3 files:
"$QUARTUS_INSTALL_DIR../modelsim_ase/altera/verilog/src/cyclonev_atoms.v"
"$QUARTUS_INSTALL_DIR../modelsim_ase/altera/verilog/src/cyclonev_atoms_ncrypt.v"
"$QUARTUS_INSTALL_DIR../modelsim_ase/altera/verilog/src/cyclonev_hmi_atoms_ncrypt.v"
Ultimately got things working as described.
Thanks, Craig
I eventually found the module. It was located in an encrypted file, which is why I did not see it. FYI the Cyclone V msim_setup.tcl setup script for the hard memory controller was missing 3 files:
"$QUARTUS_INSTALL_DIR../modelsim_ase/altera/verilog/src/cyclonev_atoms.v"
"$QUARTUS_INSTALL_DIR../modelsim_ase/altera/verilog/src/cyclonev_atoms_ncrypt.v"
"$QUARTUS_INSTALL_DIR../modelsim_ase/altera/verilog/src/cyclonev_hmi_atoms_ncrypt.v"
Ultimately got things working as described.
Thanks, Craig
For more complete information about compiler optimizations, see our Optimization Notice.