CDR
Models a clock data recovery circuit
- Library:
SerDes Toolbox / Datapath Blocks
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
WaveIn
——输入baseband signal
scalar
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
Phase offset (symbol time)
— Clock phase offset
0
(default) | real scalar in the range [0, 0.5]
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
Use
get_param(gcb,'PhaseOffset')
to view the current value ofPhase offset (symbol time).Use
set_param(gcb,'PhaseOffset',value)
to set CDR to a specificPhase offset (symbol time).
Data Types:double
Reference offset (ppm)
— Reference clock offset impairment
0
(default) | real scalar in the range [0, 300]
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
Use
get_param(gcb,'ReferenceOffset')
to view the current value ofReference offset (ppm).Use
set_param(gcb,'ReferenceOffset',value)
to set CDR to a specificReference offset (ppm).
Data Types:double
Early/late count threshold
— Early or late CDR count threshold to trigger phase update
16
(默认)|真正正整数≥5
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:
Programmatic Use
Use
get_param(gcb,'Count')
to view the current value ofEarly/late count threshold.Use
set_param(gcb,'Count',value)
to set CDR to a specificEarly/late count threshold.
Data Types:double
Step (symbol time)
— Clock phase resolution
0.0078
(default) | real scalar
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
Use
get_param(gcb,'Step')
to view the current value ofSensitivity.Use
set_param(gcb,'Step',value)
to set CDR to a specificSensitivity.
Data Types:double
Sensitivity (V)
— Sampling latch metastability voltage
0
(default) | real scalar
抽样门闩亚稳态电压,指定为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
Use
get_param(gcb,'Sensitivity')
to view the current value ofSensitivity (V).Use
set_param(gcb,'Sensitivity',value)
to set CDR to a specificSensitivity (V).
Data Types:double
Phase Offset
— Include Phase Offset parameter in IBIS-AMI model
on (default) | off
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.
Reference offset
— Include Reference offset parameter in IBIS-AMI model
on (default) | off
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
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina(Español)
- Canada(English)
- United States(English)
Europe
- Belgium(English)
- Denmark(English)
- Deutschland(Deutsch)
- España(Español)
- Finland(English)
- France(Français)
- Ireland(English)
- Italia(Italiano)
- Luxembourg(English)
- Netherlands(English)
- Norway(English)
- Österreich(Deutsch)
- Portugal(English)
- Sweden(English)
- Switzerland
- United Kingdom(English)