External Memory Interface Handbook Volume 2: Design Guidelines

ID 683385
Date 5/08/2017
Document Table of Contents Determining the CQ/CQn Arrival Time Skew

Before compiling a design in the Quartus Prime software, you need to determine the CQ/CQn arrival time skew based on your board simulation. You then need to apply this skew in the report_timing.tcl file of your QDR II and QDR II+ SRAM interface in the Quartus Prime software.

The following figure shows an example of a board topology comparing an emulated case where CQ is double-loaded and a non-emulated case where CQ only has a single load.

Figure 10. Board Simulation Topology Example

Board Simulation Topology Example

Run the simulation and look at the signal at the FPGA pin. The following figure shows an example of the simulation results from the preceding figure. As expected, the double-loaded emulated signal, in pink, arrives at the FPGA pin later than the single-loaded signal, in red. You then need to calculate the difference of this arrival time at VREF level (0.75 V in this case). Record the skew and rerun the simulation in the other two cases (slow-weak and fast-strong). To pick the largest and smallest skew to be included in Quartus Prime timing analysis, follow these steps:

  1. Open the <variation_name>_report_timing.tcl and search for tmin_additional_dqs_variation.
  2. Set the minimum skew value from your board simulation to tmin_additional_dqs_variation.
  3. Set the maximum skew value from your board simulation to tmax_additional_dqs_variation.
  4. Save the .tcl file.
Figure 11. Board Simulation Results

Board Simulation Results

Did you find the information on this page useful?

Characters remaining:

Feedback Message