Article ID: 000085094 Content Type: Troubleshooting Last Reviewed: 12/14/2015

Possible Syntax Error When Running Abstract PHY Simulation with ModelSim and Tcl

Environment

  • Intel® Quartus® Prime Pro Edition
  • Simulation
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT

    Critical Issue

    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.

    Related Products

    This article applies to 1 products

    Intel® Arria® 10 FPGAs and SoC FPGAs

    Disclaimer

    1

    All postings and use of the content on this site are subject to Intel.com Terms of Use.