Visible to Intel only — GUID: tvq1554097947066
Ixiasoft
1.1. Features
1.2. Hardware and Software Requirements
1.3. Design System Architecture Overview
1.4. Dynamic Reconfiguration Overview
1.5. PHY Lite Per-Bit Overview
1.6. Compiling the Reference Design
1.7. Hardware Testing
1.8. Document Revision History for AN 888: PHY Lite for Parallel Interfaces Reference Design with Dynamic Reconfiguration for Intel® Stratix® 10 Devices
1.9. Appendix A: HiLo Loopback Card Pin Connections
1.10. Appendix B: Retrieving Lane and Pin Information
1.11. Appendix C: Decoding Parameter Table
Visible to Intel only — GUID: tvq1554097947066
Ixiasoft
1.5.2. Read Deskew Algorithm
The PHY Lite for Parallel Interfaces IP core does not come with any calibration engine or calibration algorithm.
The read deskew algorithm gives an idea how you can write any calibration algorithm to get an optimal margin of capturing data by center aligning DQS to all DQ. This algorithm calibrates the following knobs on input PHY Lite for Parallel Interfaces side.
Knob | Unit Per Step |
---|---|
DQSen delay | 1 external interface clock cycle. |
DQSen phase | 1/128th VCO clock cycle. |
Input DQS | 1/256th VCO clock cycle. |
Input per-bit DQ | 1/256th VCO clock cycle. |
This algorithm consists of three steps:
- DQSen Calibration
- Sweep through DQSen (delay + phase) settings from min to max
for (cur_delay = PIN_DQS_EN_DLY_DLY_VAL_MIN; cur_dly <= PIN_DQS_EN_DLY_DLY_VAL_MAX; cur_dly++) { for (cur_phase = PIN_DQS_EN_PHASE_DLY_VAL_MIN; cur_phase <= PIN_DQS_EN_PHASE_DLY_VAL_MAX; cur_phase++) { //More code goes here } }
- For each iteration, send 5 separate patterns on each pin to compare.
- Find passing window width.
- Set DQSen delay and DQSen phase of passing window to center.
- Sweep through DQSen (delay + phase) settings from min to max
- Per-bit DQ Deskew
- Sweep individual dq_input_delay to find both right and left edge.
- Set per-bit DQ to its center ((left edge + right edge)/2).
- DQS Deskew
- Sweep dqs_input_delay from high to low.
- Find passing window width and set DQS to center.