4.2.1. Deterministic Latency
Deterministic Latency (DL) is the ability to precisely determine the delay between the FPGA core and the PMA pins. Such delay varies from reset to reset and device to device. In most applications, the variability is acceptable to determine the actual delay within a given reset session. This section provides an example that shows the calculation delay between pins and FPGA core for the GTS CPRI PHY Intel® FPGA IP core.
Factor | Description |
---|---|
TxDL | Transmitter delay in sampling clock cycle. To calculate the TxDL value, read the CPRI PHY register 0xC bit[20:0]. The register provides the value in fixed point format. Bit[20:8] represents an integer, and bit[7:0] represents a fractional number.
For example:
Note: These values are available in simulation output.
|
RxDL | Receiver delay in sampling clock cycle. To calculate the RxDL value, read the CPRI PHY register 0x10 bit [20:0]. The register provides a value in fixed point format. Bit[20:8] represents an integer, and bit[7:0] represents a fractional number.
For example:
Note: These values are available in simulation output.
|
sampling_clock_period | For GTS CPRI PHY Intel FPGA IP core:
|
wa | Word Aligner bit slip value (5 bit) obtained from GTS CPRI PHY register 0x4[9:5]. |
eth_wa | Word Aligner bit slip value (7 bit) obtained from the Datapath and PMA Avalon Memory-Mapped Interface register 0x60110[6:0]. |
dlpulse | Obtained from the Datapath and PMA Avalon Memory-Mapped Interface register (pcs_bitslip_cnt) at 0x60110 [7]. |
System Clock Frequency | system_clk_div2 period |
---|---|
491.52MHz | 4.06901ns |
Delay Equations | For 1.2G/2.4G/3G/4.9G Variants | |
---|---|---|
Regular Simulation | TX Delay (ns) | TxDL * 4ns + 6 * system_clk_div2 period + 229 * UI |
RX Delay (ns) | RxDL * 4ns - 6 * system_clk_div2 period + (347.5 + wa) * UI |
Delay Equations | For 10G without RS-FEC Variants | |
---|---|---|
Regular Simulation | TX Delay (ns) | TxDL * 4ns + 6 * system_clk_div2 period + 211 * UI |
RX Delay (ns) | RxDL * 4ns - 6 * system_clk_div2 period + (53.5 - eth_wa - 33 * dlpulse) * UI |