Possible Syntax Error When Running Abstract PHY Simulation with ModelSim and Tcl - Possible Syntax Error When Running Abstract PHY Simulation with ModelSim and Tcl Description If you run an abstract PHY simulation with ModelSim and certain versions of TCl, including version 8.4.11, a syntax error similar to the following may occur: # extra characters after close-brace # while compiling # "lappend files {*}[ findFiles ] # " # ("foreach" body line 2) # while compiling # "foreach dir { # lappend files {*}[ findFiles ] # }" # (compiling body of proc "findFiles", line 4) # invoked from within # "findFiles "../../../../." "altera_emif_nios_forces_abphy.sv" " # invoked from within # "join [ findFiles "../../../../." "altera_emif_nios_forces_abphy.sv" ] \n " # invoked from within # "set force_files [ join [ findFiles "../../../../." "altera_emif_nios_forces_abphy.sv" ] \n ]" # (file "altera_emif_check_abphy_nios_forces.tcl" line 34) Resolution The workaround for this problem is to do one of the following: Type source from within the ModelSim command prompt, which will use a different version of Tcl. Change the version of Tcl in use to a different version, such as 8.5.9. This problem is fixed in version 15.1.1. Custom Fields values: ['novalue'] Troubleshooting novalue True ['Simulation'] ['FPGA Dev Tools Quartus® Prime Software Pro'] 15.1.1 15.1 ['Arria® 10 FPGAs and SoCs'] ['novalue'] ['novalue'] ['novalue'] - 2021-08-25

external_document