Chapter 11: Transceiver Link Debugging Using the System Console 11–13
Using Tcl in System Console
November 2011 Altera Corporation Quartus II Handbook Version 11.1
Volume 3: Verification
7. Click Run. The EyeQ Feature gathers the current settings of the channel and uses
those settings to start a sweep to create the eye. As the run is active you can view
the status through the progress bar. Depending on the mode you chose, you will
see a bathtub curve or eye contour. The width and height (if applicable) of the eye
is displayed once the run is completed. If the eye is un-centered or falls off the
edge and wraps around the other side, click Center Eye to center the data for
easier viewing.
8. You can change run options such as BER target, vertical phase step, or intervals,
and run again to collect more data. Switching between these options can show
previously run data so you can easily compare. If you click Create Report, all data
collected so far is shown in table format. If you change PMA settings, you must
click Reset to clear all data and take in the new PMA settings to be used for
testing. You can also click Reset to clear the data and collect a new set of data due
to changing conditions or circumstances.
If you want to change PMA settings and re-run the EyeQ feature, make sure you
first stop and reset the EyeQ feature. If you do not reset, the EyeQ feature
continues testing based on the original PMA settings of the current test and
overwrites any setting you may have changed through the control panel.
After you stop and reset the EyeQ feature, change settings in the link or receiver
channel control panel. Then click Start on the EyeQ feature to start a new set of
tests.
When you can see that you are running good PMA settings, the bathtub curve is wide,
with sharp slopes near the edges. The curve may be up to 30 units wide. If the bathtub
is narrow, maybe as small as two units wide, then the signal quality may be poor. The
wider the bathtub curve, the wider the eye you have. Conversely, the smaller the
bathtub curve, the smaller the eye.
h For more information about how to use the EyeQ feature, including the differences
between Stratix IV and Stratix V devices, refer to Working with the Transceiver Toolkit in
Quartus II Help.
Using Tcl in System Console
System Console is the framework in the Quartus II software that supports the
Transceiver Toolkit. System Console provides a number of Tcl commands that you can
use to build a custom test routine script to test the transceiver link using the data
generator and checker. System Console allows you to tune PMA parameter, such as
those for changing DC gain. To get help on the Tcl commands available, type
help
in
the Tcl console in System Console. To run a transceiver link test flow, perform the
following.You can perform all the tasks with Tcl commands in System Console.
1. Load the Quartus II project.
2. Find and link the design and service path.
3. Find and open links to transmitter channels and receiver channels.
4. Set up PRBS patterns to run on the link.
5. Set up PMA settings on transmitter and receiver channels.
6. Use PIO logic to generate a rising edge to enable the word aligner.