F-tile Architecture and PMA and FEC Direct PHY IP User Guide

ID 683872
Date 6/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.5.3. Script Execution

You can execute the scripts either by saving the script in your project directory or in the scripts folder under the System Explorer pane. The following steps describe on how you can execute the scripts to run the Transceiver Toolkit test:
  1. Click Tools > Programmer. Configure your device with the .sof file.
  2. Save the scripts that you modified in Modifying the Scripts section into your project directory or into the scripts folder under System Explorer pane. The path to save the scripts under the System Explorer pane in scripts folder is shown below.
    Windows: <drive>:\Users\<username>\system_console\scripts\
    Linux: <$HOME > system_console/scripts
  3. If you save the Tcl files into the scripts folder under System Explorer pane; to execute the script, click Tools > System Debugging Tools > System Console. In the System Explorer pane double click the scripts folder, then double click the script that you want to execute.
    Figure 134. System Explorer Pane
  4. If you save the Tcl files into your project directory, change directory to your project directory and source the script in the Tcl console pane. For example:
    cd <my_project_dir>
    source device_initialization.tcl
    
Note: You must modify the scripts first before you execute them to run the tests. The channel PMA settings, PRBS pattern, loopback mode must be set up in the scripts. Refer to Modifying the Scripts for more information.