Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
15799 Discussions

# ** Error: invalid command name "top_system_tb::get_env_variables"

dsun01
New Contributor III
244 Views

Dear Intel Support/FPGA Expert

 

I opened AN812 top_system.qsys with Quartus pro 21.3, using Platform Designer Generate Testbench, then I use Questa, change directory to top_system_tb/sim/mentor. do msim_setup.tcl. I will get the following error. 

 

can someone explain what this error means and how to fix this problem?

 

thank you, 

 

David 

-----------------------------------------------------------------------------------------------

cd C:/FPGA/arria10devkit/AN812_sim/complete/top_system_tb/top_system_tb/sim/mentor
# reading C:/intelFPGA_pro/21.3/questa_fse/win64/../modelsim.ini
do msim_setup.tcl
# bit_64
# ** Error: invalid command name "top_system_tb::get_env_variables"
# Error in macro ./msim_setup.tcl line 158
# invalid command name "top_system_tb::get_env_variables"
# while executing
# "top_system_tb::get_env_variables $SIMULATOR_TOOL_BITNESS"
# invoked from within
# "dict get [top_system_tb::get_env_variables $SIMULATOR_TOOL_BITNESS] "LD_LIBRARY_PATH""
# invoked from within
# "dict merge $LD_LIBRARY_PATH [dict get [top_system_tb::get_env_variables $SIMULATOR_TOOL_BITNESS] "LD_LIBRARY_PATH"]"
# invoked from within
# "set LD_LIBRARY_PATH [dict merge $LD_LIBRARY_PATH [dict get [top_system_tb::get_env_variables $SIMULATOR_TOOL_BITNESS] "LD_LIBRARY_PATH"]]"

0 Kudos
1 Reply
YEan
Employee
233 Views

Hi David,

 

 Do you mind to share the file for me to check it? By reading the error message, it seems like the command in msim_setup.tcl is invalid. You may try to change this  command "top_system_tb::get_env_variables" in your script.

 

Thanks,

Ean

Reply