UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 37516

ChipScope - IBERT - How can I create a bathtub curve from my sweep test results?

Description

How can I create a bathtub curve from my sweep test results? Can ChipScope analyzer carry out this functionality?

Solution

This feature is not available in ChipScope analyzer. It will be added in a future release. You can use Microsoft Excel to manipulate the data in your <results>.csv file.

We can sweep across the RX Sampling point to create a bathtub plot with a single curve:

1. Select the Sweep Test Settings tab in the IBERT Console
2. In the sub-tabs, select the MGT you were operating on
3. Leave the parameters at their default settings
4. Sweep the entire UI by setting the Sampling Point Region from 0 to 127
5. Leave the Iteration Dwell Time at 1 second
6. Click on the Start button to start the sweep test

While running the sweep test over the entire horizontal sampling range, a comma-delimited file (CSV) is automatically created with this sweep test data. These instructions show you how to import that data into Microsoft Excel, format it, and create a bathtub-type plot.

1. Open Microsoft Excel
2. Open a file, choose CSV as the file type, and navigate to the directory where the sweep results file (for this example, "single_sweep_results.csv") can be created. You can change the log file name, etc., by clicking on the Log File Settings button before starting the sweep test. Here is the CSV file:
3. Select the BER column (column J)
4. On the Insert tab, select Line -> Line with Markers
6. Select the vertical axis labels in the chart, then right click on the line and select "Format Axis"
7. Put a check mark in the "Logarithmic scale" check box and leave "Base" as "10".
8. Click the "Close" button
9. Now select the horizontal axis in the chart, right click and select "Format Axis"
10. In the Axis Options category, change the "Axis labels" selection to "Low"
11. Click the "Close" button
12. Save the file as an Excel Workbook file called "single_sweep_test.xlsx"
14. IMPORTANT: Close Microsoft Excel before continuing on to the next step; otherwise, the ChipScope Pro Analyzer will not overwrite the CSV sweep results file correctly

Creating a Multi-Bathtub Plot from the Sweep Test CSV File:
Since we can sweep across parameters as well as the RX Sampling point, it is possible to create a bathtub plot with multiple curves so we can compare different settings.
1. Select the Sweep Test Settings tab in the IBERT Console
2. In the sub-tabs, select the MGT we were operating on
3. For RX Eq, sweep from values 0 to 3
4. Sweep the entire UI by setting the Sampling Point Region from 0 to 127
5. Leave the Iteration Dwell Time at 1 second
6. Click on the Start button to start the sweep test

Once the CSV file is created (which we called multiple_sweep_test.csv), open it in Microsoft Excel 2007.
1. Select cells J2 through J128 that represent the first sweep test results
2. On the Insert tab, select Line -> Line with Markers
3. Right-click on the chart and select "Select Data".
4. Click on the Add button to add a new series.
5. For the Series name, type RX_Eq_1
6. For the Series values, select J130 through J256 that represent the second sweep test results, then click OK
7. Repeat steps 4-6 for RX_Eq_1 (J257 through J384) and RX_Eq_3 (J385 through J512), the third and fourth sweep test results, respectively
8. Click on Series1, click on Edit, then change the name of the series to RX_Eq_0
9. Select the vertical axis labels in the chart, then right click on the line and select "Format Axis"
10. Put a check mark in the "Logarithmic scale" check box and leave "Base" as "10".
11. Click the "Close" button.
12. Now select the horizontal axis in the chart, right click and select "Format Axis"
13. In the Axis Options category, change the "Axis labels" selection to "Low"
14. Click the "Close" button
15. Your BER chart will look something like this:
16. Note that RX_Eq_1 and RX_Eq_3 have too many errors in the middle of the UI to be valid.
17. If you select and delete the RX_Eq_1 and RX_Eq_3 lines in the chart, you will see that RX_Eq_0 and RX_Eq_2 both have no errors in the middle of the UI. Also, notice that RX_Eq_2 has a wider opening, which could indicate that it is a better RX Eq setting than RX_Eq_0.
18. Save the file as an Excel Workbook file called "multi_sweep_test.xlsx"


AR# 37516
Date Created 08/18/2010
Last Updated 12/15/2012
Status Active
Type General Article
Devices
  • Spartan-6 LXT
  • Virtex-5 FXT
  • Virtex-5 LXT
  • More
  • Virtex-5 SXT
  • Virtex-5 TXT
  • Virtex-6 CXT
  • Virtex-6 HXT
  • Virtex-6 LXT
  • Virtex-6 SXT
  • Less
Tools
  • ChipScope Pro - 11.3
  • ChipScope Pro - 11.4
  • ChipScope Pro - 11.5
  • More
  • ChipScope Pro - 11.1
  • ChipScope Pro - 11.2
  • ChipScope Pro - 12.1
  • ChipScope Pro - 12.2
  • ChipScope Pro - 12.3
  • Less
IP
  • ChipScope Pro IBERT for Spartan-6 GTP
  • ChipScope Pro IBERT for Virtex-5 GTP
  • ChipScope Pro IBERT for Virtex-5 GTX
  • More
  • ChipScope Pro IBERT for Virtex-6 GTH
  • ChipScope Pro IBERT for Virtex-6 GTX
  • Less