This Figure shows the delay model used for the CPRI core in a master configuration. As illustrated, there are contributions to the end-to-end delay from the FPGA logic portion of the core, the clock domain crossing FIFO in the receive path, the transceiver, and the cable itself. In cores supporting 10,137.6 Mb/s or 12,165.12 Mb/s on 7 series devices, a clock domain crossing FIFO is also present in the transmit path. Cable delay can be inferred from the R21 coarse timer measurement, the FIFO transit time measurement and the transceiver delay, through the use of the T 14 delay value shown in the This Figure . The slave configuration is similar but the T 14 value becomes T offset , as shown in This Figure .
The next sections expand upon each of the contributions to the delay model and demonstrate how to determine the cable delay (CPRI Requirement 21) from the R21 coarse timer measurement, the FIFO transit time measurement, and the transceiver delay.
Note: For the following transceiver delay sections, there is also a variable component to the delay.
In UltraScale and 7 series-based cores with 8b10b line rates, the variable component is represented by the position of the RX comma alignment barrel shifter. This value, measured in UI, is continually monitored by the core and is presented through the management interface, address 0x9 and on the barrel_shift_value[6:0] output port in the control and status interface. For 64b66b line rates on 7 series-based cores, the barrel shift value should be ignored.
In UltraScale architecture-based cores using 64b66b line rates, the transceiver is used in asynchronous gearbox mode. In this mode the variable component is represented by the delay across the transmit and receive gearboxes, tx_gb_latency and rx_gb_latency . These values, measured in 1/8 UI, are continually monitored by the core and presented through the management interface, address 0x16 and on the tx_gb_latency_value [15:0] and rx_gb_latency_value [15:0] output ports in the control and status interface. For 8b10b line rates on UltraScale architecture-based cores, the barrel shift value should be used instead of the TX and RX gearbox latencies.
In UltraScale architecture-based cores running at 64b66b line rates, the delay across the transmit gearbox effectively replaces the delay across the transmit CDC FIFO present in 7 series-based cores.
In UltraScale architecture-based cores running at 64b66b line rates, the delay across the receive gearbox effectively replaces the delay across the RX comma alignment barrel shifter present in 8b10b line rates.
In Versal ACAP cores using 64b66b line rates, the transceiver is used in asynchronous gearbox mode. In this mode, the variable component is represented by the delay across the transmit and receive gearboxes, tx_gb_latency and rx_gb_latency . These values measured in 1/8 UI must be read from the Versal GT Quad through an AXI interface. See Versal ACAP Transceivers Wizard LogiCORE IP Product Guide (PG331) [Ref 21] for details.
For 8b10b line rates, the barrel shift value should be used instead of the TX and RX gearbox latencies. Again, this can be read from the Versal GT Quad through an AXI interface.