Main Content

CDR

Models a clock data recovery circuit

  • Library:
  • SerDes Toolbox / Datapath Blocks

  • CDR block

Description

TheCDRblock provides clock sampling times and estimates data symbols at the receiver using a first order phase tracking CDR model. For more information, seeClock and Data Recovery in SerDes System..

Ports

Input

expand all

Input baseband signal. The input to the CDR must be applied as one sample at a time and not as a vector.

Data Types:double

Parameters

expand all

Clock phase offset, specified as a real scalar in the range [0, 0.5] in fraction of symbol time.Phase offsetmanually shifts clock probability distribution function (PDF) for better bit error rate (BER).

Programmatic Use

  • Useget_param(gcb,'PhaseOffset')to view the current value ofPhase offset (symbol time).

  • Useset_param(gcb,'PhaseOffset',value)to set CDR to a specificPhase offset (symbol time).

Data Types:double

Reference clock offset impairment, specified as a real scalar in the range [0, 300] in parts per million (ppm).Reference offset (ppm)is the deviation between transmitter oscillator frequency and receiver oscillator frequency.

Programmatic Use

  • Useget_param(gcb,'ReferenceOffset')to view the current value ofReference offset (ppm).

  • Useset_param(gcb,'ReferenceOffset',value)to set CDR to a specificReference offset (ppm).

Data Types:double

Early or late CDR count threshold to trigger a phase update, specified as a unitless real positive integer ≥5. Increasing the value ofEarly/late count thresholdprovides a more stable output clock phase at the expense of convergence speed. Because the bit decisions are made at the clock phase output, a more stable clock phase has a better bit error rate (BER).

Early/late count thresholdalso controls the bandwidth of the CDR which is approximately calculated by using the equation:

Bandwidth = 1 Symbol time · Early/late threshold count · Step

Programmatic Use

  • Useget_param(gcb,'Count')to view the current value ofEarly/late count threshold.

  • Useset_param(gcb,'Count',value)to set CDR to a specificEarly/late count threshold.

Data Types:double

Clock phase resolution, specified as a real scalar in fraction of symbol time.Step (symbol time)is the inverse of the number of phase adjustments in CDR.

Programmatic Use

  • Useget_param(gcb,'Step')to view the current value ofSensitivity.

  • Useset_param(gcb,'Step',value)to set CDR to a specificSensitivity.

Data Types:double

抽样门闩亚稳态电压,指定为a real scalar in volts. If the data sample voltage lies within the region (±Sensitivity (V)), there is a 50% probability of bit error.

Programmatic Use

  • Useget_param(gcb,'Sensitivity')to view the current value ofSensitivity (V).

  • Useset_param(gcb,'Sensitivity',value)to set CDR to a specificSensitivity (V).

Data Types:double

IBIS-AMI parameters

Select to includePhase Offsetas a parameter in the IBIS-AMI file. If you deselectPhase Offset, it is removed from the AMI files, effectively hard-codingPhase Offsetto its current value.

Select to includeReference offsetas a parameter in the IBIS-AMI file. If you deselectReference offset, it is removed from the AMI files, effectively hard-codingReference offsetto its current value.

Version History

Introduced in R2019a