Due to a problem in the Quartus® Prime Pro Edition Software version 21.1 for Linux* or Windows* operating systems, you may see an error message similar to the following when generating the EMIF or PHYLite IP for the Stratix® 10 or the Agilex™ 7 devices:
Error: no such variable
(read trace on "::env(IP_ROOTDIR)")
invoked from within
"return "$::env(IP_ROOTDIR)/altera/emif/ip_arch_nd/fw_src""
(procedure "get_iossm_firmware_source_dir" line 3)
invoked from within"get_iossm_firmware_source_dir 1"
(procedure "get_sim_cal_code_hex_src_filename" line 2)
invoked from within "get_sim_cal_code_hex_src_filename $force_firmware"
(procedure "_generate_common_fileset" line 36) invoked from within
To work around this problem, ensure the Linux* or Windows* environment variable "IP_ROOTDIR" is set to the ip sub-directory in the Quartus® Prime Pro Edition Software installation.
An example for the Windows* version is: IP_ROOTDIR = C:\intelFPGApro\21.1\ip
This problem is fixed starting with the Quartus® Prime Pro Edition Software version 21.2.