Success! Subscription added.
Success! Subscription removed.
Sorry, you must verify to complete this action. Please click the verification link in your email. You may re-send via your profile.
This documentation describes the basics of UniPHY External Memory Interface Debug Toolkit. It explains how to launch the Toolkit, link the Project to a device, create connections, generate reports and export the reports. This documentation also gives information about the reports generated.
This document shows how the reports will look when Calibration Failure occurs, provides ways to troubleshoot the causes of failure and outlines the features of the toolkit such as Calibration Mask, Re-index connections etc.
4/4d/Linking_Project_to_a_Device.png
What is a .jdi file? The JTAG Debugging Information File (.jdi) can be found in Quartus Project directory. It specifies the
name-to-node mappings for the JTAG chain elements and also gives more information about the debug nodes and hierarchy path names.
Make sure that the appropriate .jdi file is selected.
Note: If there is a mismatch between the .jdi file and the device connection, an error occurs. Else, Connections and Summary can be seen in the Reports window.
d/dc/Fig.2.Creating_a_Memory_Interface_Connection.PNG
We can generate individual reports or all the reports at once. To generate the reports individually, click on Report Summary, Report Calibration or Report Margining under the Reports section in the Tasks window. To generate all the reports at once, click on Generate All Reports under Macros in the Tasks window.
Note:If while generating all the reports, this error “The margin report could not be generated as the report was not enabled.” occurs, click on Generate Margining Report to initialize the reports.
This section gives information on the Toolkit features such as Re-index Connections, Calibration Mask, Resetting the External Memory Interface and Enable Calibration for all Groups on Failure.
Resetting the External Memory Interface
Resetting the External Memory Interface is used for resetting the interface connection.
1) Go to the Tasks Window. Double-click on Reset External Memory Interface under Commands section.
2) After resetting the external memory interface, if you need to generate Margining reports, double-click on Generate Margining Report.
Re-index Connections
The Re-index connections task allows for rescanning the connections and updating the status of the connections.
To Re-index connections, go to the Tasks Window and double-click on Re-index Connections found below Initialize Connections.
Enable Calibration for All Groups on Failure
If one or more DQS Groups fail calibration, this feature prevents the calibration routine from skipping the remaining groups. To use this feature, go to the Tasks Window and click on Enable Calibration for All Groups on Failure.
Calibration Mask
Calibration Mask is used to prevent a group from being calibrated. Calibration Mask can be done by masking Group(s) or by masking Rank(s).
9/9d/Calibration_Mask_by_Group.PNG
b/b8/Calibration_Mask_by_Rank.PNG
The toolkit generates three kinds of reports:
Summary Report
Calibration Report
Margin Report
Summary
Summary Report gives the details about the Connection, Target and Calibration. The details include Connection name, Memory Interface Protocol, Connection Target type, Connection Target Version, Calibration Status, Calibrated Read Latency and Calibrated Write Latency.
Interface Details
The interface Details provides details about the Memory Interface used such as Rank and Row Address Width, Read DQS, Write DQS Group Size.
DQS Groups Masked From Calibration
This report provides the details about the Groups Masked from Calibration. Masked Groups have the status Masked. All the other Groups have the status Active.
4/46/DQS_Groups_Masked_From_Calibration.PNG
Ranks Masked From Calibration
If any of the Ranks were masked from Calibration, then the Status is displayed as Masked. Else, it shows the status as active.
e/e4/Ranks_Masked_From_Calibration.PNG
Per DQS Group Calibration This report lists the Calibration results for each Group. If a Group is masked, Calibration Status shows Masked. If a group passes Calibration then it shows Pass and shows the values in Read Data Valid Window and Write Data Valid Window. When a group fails, Calibration Status shows Fail, the Read Data Valid Window and Write Data Valid Window show 0 and the Failing Stage shows the stage the failure has occurred.
8/81/Per_DQS_Group_Calibration.PNG
DQ Pin Margins Observed before Calibration
e/ef/DQ_Pin_Margins_Observed_Before_Calibration.PNG
As shown in Fig.11, this report lists the Read Margin, Write Margin and DM0 Margin for each DQ Pin observed before Calibration occurs. If the DQS Group is masked, then – lines get shown in the View window wherever DQ pins are present.DQS Group Margins Observed during Calibration
This report lists the Read Margin, Write Margin, Data Mask Margin, Write Leveling Range and DQS Enable Margin.
DQS Group Margins Observed during Calibration
This report lists the Read Margin, Write Margin, Data Mask Margin, Write Leveling Range and DQS Enable Margin.
e/ef/DQ_Pin_Margins_Observed_Before_Calibration.PNG
DQ Pin Settings after Calibration
This report lists D1 Delay chain, D5 Delay chain and D6 Delay chain values for all the DQ Pins as a result of Calibration. (Actual Value = D1 or D5 or D6 delay * Delay Chain Step Size found in Summary report.
DQS Group Settings after Calibration Lists D4, D5 and D6 delay chain delay values, DQ Output Phase and DQS Output Phase for DQS Groups after Calibration is performed.
9/9f/DQ_Pin_Settings_After_Calibration.PNG
DQ Pin post calibration margins
Lists the DQ Read Margin, DQ write Margin and DM0 Margin after Calibration was performed for all the DQ pins.
7/7f/DQS_Group_Settings_After_Calibration.PNG
Read Data Valid Windows
Fig.16 shows the read data valid window for all the DQS groups. If a DQS Group has been masked, then it is omitted. The green bars indicate the Data Valid Window. The step size for each block is 14ps.
Write Data Valid Windows
Fig.17. shows the graphical representation of the Write Data Valid Windows for all the DQ pins and also the DQS Group where the step size is 14ps.
a/ab/Read_Data_Valid_Window.PNG
0/0c/Write_Data_Valid_Window.PNG
When Calibration Failure occurs, the reports show the Calibration Status as Fail. It also shows the Initial failing group and Initial failing Calibration Stage. In the example below, it is shown that Calibration Failure is due to DQS Enable Phase not found during Read Calibration.
3/3d/Summary_showing_the_Calibration_Status%2C_Failing_Stage_and_Failing_Group.PNG
0/05/DQS_Group_8_with_no_Read_Data_Valid_Window.PNG
7/76/DQS_Group_8_with_no_Write_Data_Valid_Window.PNG
In the case of Calibration Failure, check the Flowchart shown in Fig. 24., to start the debug process and find the causes of Failure.
7/7f/Efficiency_monitor_connection.png
You can generate individual reports or all the reports at once. To generate the reports click on Generate All Reports under Macros or Report Summary under Reports in the Tasks window.
Reset efficiency monitor
To reset the efficiency monitor, click on Reset Efficiency Monitor in the Tasks window under Commands Section.
Summary shows about the status of Efficiency Monitor, Connection target type and Interface Hierarchy name.
8/83/Efficiency_Monitor_Reports.PNG
Interface Details shows the values of Address Width, Data Width, Byte enable width and Burst count width.
This shows the system efficiency, latency and information about read and write.
2/24/Efficiency_Monitor_Statistics.PNG
This shows the protocols and about the status of the protocols as to whether any violation was found.
b/b1/Protocol_Checker_Summary_Statistics.PNG
To export the reports,
Community support is provided Monday to Friday. Other contact methods are available here.
Intel does not verify all solutions, including but not limited to any file transfers that may appear in this community. Accordingly, Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.
For more complete information about compiler optimizations, see our Optimization Notice.