beautypg.com

Latency, Pma latency, Pcs latency – Achronix Speedster22i SerDes User Manual

Page 42: Design flow: creating a serdes design, Design flow: creating a serdes, Design

background image

Latency

This section presents the worst case latency for PMA and PCS blocks.

PMA Latency

The following equation calculates the worst-case latency for the Tx-datapth assuming the

case of first word in and last bit out:
𝑇π‘₯

π‘€π‘œπ‘Ÿπ‘ π‘‘

= π΄π‘›π‘Žπ‘™π‘œπ‘”_π‘™π‘Žπ‘‘π‘’π‘›π‘π‘¦ + 2.5 βˆ— π‘‘π‘Žπ‘‘π‘Žπ‘π‘’π‘ _π‘€π‘–π‘‘π‘‘β„Ž βˆ— π‘ˆπΌ + (π‘‘π‘Žπ‘‘π‘Žπ‘π‘’π‘ _π‘€π‘–π‘‘π‘‘β„Ž βˆ’ 1) βˆ— π‘ˆπΌ + 500𝑝𝑠,

where analog latency is explained below and 500 ps accounts for internal analog delay and

digital clock newtowrk latency.
The worst-case latency for the Rx-datapath can be calculated by the following equation

considering the case of first bit in and first word out:
𝑅π‘₯

π‘€π‘œπ‘Ÿπ‘ π‘‘

= 5.5 π‘ˆπΌ + 2.5 βˆ— π‘‘π‘Žπ‘‘π‘Žπ‘π‘’π‘ _π‘€π‘–π‘‘π‘‘β„Ž βˆ— π‘ˆπΌ + (π‘‘π‘Žπ‘‘π‘Žπ‘π‘’π‘ _π‘€π‘–π‘‘π‘‘β„Ž βˆ’ 1) βˆ— π‘ˆπΌ + 500𝑝𝑠 ,

where 500 ps accounts for internal analog delay and digital clock newtowrk latency.
The analog latency is a function of the databus-width as well and can be estimated using

β€œTable 8: Analog latency as a function of databus width” below.

Table 8: Analog latency as a function of databus width

#

Databus Width

Analog Latency

1.

8-bit

28 UI

2.

10-bit

33 UI

3.

16-bit

36 UI

4.

20-bit

43 UI

As an example, for 20-bit databus width, the worst case latency for Tx and Rx datapath can

be estimated as follows:
𝑇π‘₯

π‘€π‘œπ‘Ÿπ‘ π‘‘

= 43π‘ˆπΌ + 50π‘ˆπΌ + 19π‘ˆπΌ + 500𝑝𝑠 = 112π‘ˆπΌ + 500𝑝𝑠, and

𝑅π‘₯

π‘€π‘œπ‘Ÿπ‘ π‘‘

= 5.5π‘ˆπΌ + 50π‘ˆπΌ + 19π‘ˆπΌ + 500𝑝𝑠 = 73.5π‘ˆπΌ + 500𝑝𝑠

Worst case values are presented in β€œFigure 20 Worst-case latency across PMA and PCS (in

terms of clock-cycles)”.

PCS Latency

There are two modes of using PCS in Achronix SerDes:
1. PCS Enabled: All or selected PCS blocks can be enabled. Each block will introduce it’s

own latency in datapath. Even when selected blocks are disabled in this mode, data

(transmit and receive) will travel through the PCS components while bypassing them, as

shown in β€œFigure 6: - PCS Transmitter Block Overview”.

2. PCS Disabled: In this case, all PCS blocks are disabled. This mode introduces a latency of

2 clock-cycles.

42

UG028, July 1, 2014