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

ID 683872
Date 4/07/2025
Public
Document Table of Contents

A.5.7.2. F-Tile FGT Tuning Script

The example design includes an FGT tuning script, written in Tcl, that you can use in the System Console framework. In the Quartus® Prime Pro Edition software, go to Tools → System Debugging Tools → System Console to launch System Console and run the script. You can also use Python, C, or any programming language to achieve your debugging and evaluation goals.

For TX equalization tuning, RX equalization readout, the script uses registers documented in FGT tab in F-Tile PMA and FEC Direct PHY IP Register Map and are also referenced in F-Tile FGT Transmitter Equalization Parameters and F-Tile FGT RX Receiver Equalization Parameters of this document. For RX reset, CDR lock status, PLL lock status, PMA type, and modulation type the script uses registers documented in Soft CSR tab of the F-Tile PMA and FEC Direct PHY IP Register Map. There are features such as enable and disable of serial internal loopback, BER measurement, eye height measurement, FOM measurement which require you to use FGT attribute access method.

The tcl script uses more than the FGT attribute access data values in FGT Attribute Access Method tables. FOM, BER measurement, and eye height measurements also require sequences of FGT attribute access. The sequences are detailed in F-Tile FGT Attribute Access Sequence and are for physical lane 0. For all logical lanes (lane 0 to lane 15), refer to FGT Attribute Access Addresses for JTAG Master that Controls 16 channels table and FGT Attribute Access Data Value 1 and FGT Attribute Access Data Value 2 tables for the lane number field in FGT Attribute Access Method section.