Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

TCL Script

Hi

I am trying to observe the change after modifying the TCL script.

I have tried in the following way:

Using my design I generated the TCL file under the Project options in QUARTUS 11.0. I modified the generated TCL file by adding an extra commands get_user_options and set_user_options and saved it. Then again I synthesized my design using cyclone ii device after saving the modified TCL file but I am not observing any change.

Can anyone please tell me what is the problem.

Ptangella

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Can anyone please tell me what is the problem.

    --- Quote End ---

    Tcl scripts are not automatically 'sourced' when you click the play button on the GUI.

    I typically source Tcl scripts from the Tcl console. You can make the Tcl console visible using View->Utility Windows->Tcl Console.

    Once you have sourced your edited Tcl script, Quartus will update the .qsf file with any new assignments your Tcl script has implemented. At that point, you can press play on the GUI and your new assignments will be used. Alternatively, the Tcl script can also 'press the play button' automatically.

    There are Quartus variables that can be set to get Tcl scripts automatically run for your project. However, I haven't used that feature. Now that you know what you are looking for, you can probably find the answer in the Quartus help.

    Cheers,

    Dave