Article ID: 000086760 Content Type: Error Messages Last Reviewed: 06/05/2024

Error: no such variable (read trace on "::env(IP_ROOTDIR)") invoked from within "return "$::env(IP_ROOTDIR)/altera/emif/ip_arch_nd/fw_src""

Environment

    Intel® Quartus® Prime Pro Edition
    External Memory Interfaces Intel® Stratix® 10 FPGA IP
    Memory Interfaces and Controllers
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

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

Resolution

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.

Related Products

This article applies to 2 products

Intel® Stratix® 10 FPGAs and SoC FPGAs
Intel Agilex® 7 FPGAs and SoC FPGAs

1