6. IP Registers
You can access the CPRI registers for the F-Tile CPRI PHY Intel® FPGA IP core using the Avalon memory-mapped interface on each channel.
Register Type | Address Range |
---|---|
CPRI PHY Registers | 0x0-0x3C |
Address (Byte) | Bit | Name | Description | Access | Reset |
---|---|---|---|---|---|
0x0 | 4 | tx_cpri_fec_en | Indicates whether the TX RSFEC block is enabled:
The TX datapath must be reset after changing this setting. |
RW | Power up value 2 |
3:0 | tx_cpri_rate_sel | Select the TX CPRI speed:
The TX datapath must be reset after changing this setting. |
RW | Power up value 3 | |
0x4 | 9:5 | rx_bitslipboundary_sel | Indicates number of bits that the 8b/10b RX PCS block slipped to achieve a deterministic latency. | RO | 0x0 |
4 | rx_cpri_fec_en | Indicates whether the RX RSFEC block is enabled:
The RX datapath must be reset after changing this setting. |
RW | Power up value2 | |
3:0 | rx_cpri_rate_sel | Select the RX CPRI speed:
The RX datapath must be reset after changing this setting. |
RW | Power up value3 | |
0x8 | 31 | tx_dl_restart | Indicates the reset to allow TX deterministic latency (DL) measurements to be retaken:
|
RW | 0x0 |
30 | rx_dl_restart | Indicates the reset to allow RX deterministic latency (DL) measurements to be retaken:
|
RW | 0x0 | |
1 | tx_measure_valid | Indicates whether the TX deterministic latency (DL) measurement values are valid:
|
RO | 0x0 | |
0 | rx_measure_valid | Indicates whether the RX deterministic latency (DL) measurement values are valid:
Note: If block_lock is deasserted, this register is deasserted.
|
RO | 0x0 | |
0xC | 20:0 | tx_delay | Indicates DL measurement values in fixed point format (Q13.8). TX datapath latency (in sampling_clk cycle). Must be qualified with measure_valid. |
RO | 0x0 |
0x10 | 20:0 | rx_delay | Indicates DL measurement values in fixed point format (Q13.8). RX datapath latency (in sampling_clk cycle). Must be qualified with measure_valid. |
RO | 0x0 |
0x14 | 3 | tx_sync_valid | Indicates whether TX synchronous counter values are valid:
|
RO | 0x0 |
2 | tx_async_valid | Indicates whether TX asynchronous counter values are valid:
|
RO | 0x0 | |
1 | rx_sync_valid | Indicates whether RX synchronous counter values are valid:
|
RO | 0x0 | |
0 | rx_async_valid | Indicates whether RX asynchronous counter values are valid:
|
RO | 0x0 | |
0x18 | 19:0 | tx_sync_counter | TX sync counter value. Must be qualified with tx_sync_valid. | RO | 0x0 |
0x1C | 19:0 | tx_async_counter | TX async counter value. Must be qualified with tx_async_valid. | RO | 0x0 |
0x20 | 19:0 | rx_sync_counter | RX sync counter value. Must be qualified with rx_sync_valid. | RO | 0x0 |
0x24 | 19:0 | rx_async_counter | RX async counter value. Must be qualified with rx_async_valid. | RO | 0x0 |
0x28 - 0x3C | 31:0 | Reserved. | RO | 0x0 |
2 For example, if power up is 24G with RSFEC, then reset value is 1.
3 For example, if power up is 24G with RSFEC, then reset value is 11 (0xb).