8.1. Transmitter Registers
TX Register Map and Definition
Address | Description |
---|---|
0x0 | Link Lane Control (Common) |
0x4 | Link Lane Control 0 |
0x8 | Link Lane Control 1 |
0xC | Link Lane Control 2 |
0x10 | Link Lane Control 3 |
0x14 | Link Lane Control 4 |
0x18 | Link Lane Control 5 |
0x1C | Link Lane Control 6 |
0x20 | Link Lane Control 7 |
0x24 | Link Lane Control 8 |
0x28 | Link Lane Control 9 |
0x2C | Link Lane Control 10 |
0x30 | Link Lane Control 11 |
0x34 | Link Lane Control 12 |
0x38 | Link Lane Control 13 |
0x3C | Link Lane Control 14 |
0x40 | Link Lane Control 15 |
0x44–0x4F | N/A |
0x50 | Transport Layer (TL) Control |
0x54 | SYSREF Control |
0x58–0x5F | N/A |
0x60 | JESD204 TX Error Status |
0x64 | JESD204 TX Error Interrupt Enable |
0x68 | JESD204 TX Error Link Reinit Enable |
0x6C–0x7F | N/A |
0x80 | JESD204 TX Status 0 |
0x84–0xBF | N/A |
0xC0 | JESD204 TX Converter Parameter 1 |
0xC4 | JESD204 TX Converter Parameter 2 |
0xC8–0x3F8 | N/A |
0x3FC | Unused |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:1 | Reserved | Reserved | RV | 0x0 |
0 | bit_reversal | This is a compile-time option that you need to set before IP generation. 0 = LSB-first serialization. 1 = MSB-first serialization.
Note: The F-Tile JESD204C converter device may support either MSB-first serialization or LSB-first serialization.
When bit_reversal = 1, the word aligner reverses TX parallel data bits before transmitting it to the PMA for serialization. For example; in 64-bit mode => D[63:0] is rewired to D[0:63]. |
RO | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:0 | Reserved | Reserved | RV | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:3 | Reserved | Reserved | RV | 0x0 |
2:1 | width_mult | This is a compile-time option which needs to be set before IP generation. Total Sample width multiplier 2’b00: Width equals to M*N*S 2’b01: Width equals to 2*M*N*S 2’b10: Width equals to 4*M*N*S 2’b11: Width equals to 8*M*N*S |
RO | Compile-time specific |
0 | fclk_mult | This is a compile-time option which needs to be set before IP generation. Frame clock multiplier 0: Frame clock frequency is the same as link clock frequency. 1: Frame clock frequency is two times the link clock frequency. |
RO | Compile-time specific |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:16 | Reserved | Reserved | RV | 0x0 |
15:8 | lemc_offset | Upon the detection of the rising edge of SYSREF in continuous mode or single detect mode, the LEMC counter will be reset to the value set in lemc_offset.
LEMC counter operates in link clock domain, therefore the legal value for the counter is from 0 to (E*32)-1.
Note: By default, the rising edge of SYSREF resets the LEMC counter to 0. However, if the system design has a large phase offset between the SYSREF sampled by the converter device and the FPGA, you can virtually shift the SYSREF edges by changing the LEMC offset reset value using this register.
|
RW | Compile-time specific |
7:3 | Reserved | Reserved | RV | 0x0 |
2 | sysref_singledet | This register enables LEMC realignment with a single sample of the rising edge of SYSREF. The bit is auto-cleared by the hardware once SYSREF is sampled. If you require SYSREF to be sampled again (due to link reset or reinitialization), you must set this bit again. This register also has another critical function. The F-Tile JESD204C IP will never send EoEMB unless at least a SYSREF edge is sampled. This is to prevent race condition between SYSREF being sampled at RX (converter device) and the deterministic timing of EoEMB transmission.
Note:
Intel recommends that you use sysref_singledet with sysref_alwayson even if you want to do SYSREF continuous detection mode. This is because this register is able to indicate whether SYSREF was ever sampled. This register also prevents race condition as mentioned above. Using only SYSREF single detect mode will not be able to detect incorrect SYSREF period.
If you turn on Enable CSR optimization, this bit cannot be cleared by hardware. Hence the LEMC counter always resets to the new SYSREF edge. |
RW1S | 0x1 |
1 | sysref_alwayson | This register enables LEMC realignment at every rising edge of SYSREF. LEMC counter resets when every SYSREF transition from 0 to 1 is detected.
Note: When this bit is set, the SYSREF period will be checked that it never violates internal extended multiblock period and this period can only be n-integer multiplied of (E*32). If the SYSREF period is different from the local extended multiblock period, the IP asserts the sysref_lemc_err (0x60) register and triggers an interrupt.
If you want to change the SYSREF period, this bit should be set to 0 first. After SYSREF clock has stabilized, this bit is set to 1 to sample the rising edges of the new SYSREF. |
RW | 0x0 |
0 | link_reinit | The F-Tile JESD204C IP reinitializes the TX link by resetting all internal pipestages and status, but not including SYSREF detection information. This bit automatically clears once link reinitialization is entered by hardware.
|
RW1S | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:11 | Reserved | Reserved | RV | 0x0 |
10 | efifo_overflow_err | Assert when overflow happens on any of the lane’s TX EFIFO. | RW1C | 0x0 |
9 | Reserved | Reserved | RV | RV |
8 | tx_gb_overflow_err | Assert when overflow happens on any of the lane’s TX gearbox. | RW1C | 0x0 |
7 | tx_gb_underflow_err | Assert when underflow happens on any of the lane’s TX gearbox. | RW1C | 0x0 |
6 | src_tx_alarm | Detected tx_alarm signal assertion from the F-tile SRC. This event overlaps with pll_lock_err but the soft reset controller may add new events to the tx_alarm list. | RW1C | 0x0 |
5 | syspll_lock_err | Detected system PLL unlock when the F-Tile JESD204C link is running. | RW1C | 0x0 |
4 | txpll_lock_err | Detected 1 or more lanes of TX PLL lost lock when the F-Tile JESD204C link is running. | RW1C | 0x0 |
3 | cmd_invalid_err | This error bit is applicable only if the Command Channel is used in the F-Tile JESD204C link. This error bit asserts if the upstream component deasserts the j204c_tx_cmd_valid signal while the Link Layer is requesting for command (via j204c_tx_cmd_ready). | RW1C | 0x0 |
2 | frame_data_invalid_err | This error bit is applicable only if you use Intel FPGA transport layer in your design. This error bit asserts if the upstream component deasserts j204c_tx_avst_valid signal at the Intel FPGA transport layer Avalon® streaming bus. The transport layer expects the upstream device in the system will always send the valid data with zero latency when j204c_tx_avst_ready is asserted by the transport layer. |
RW1C | 0x0 |
1 | dll_data_invalid_err | This error bit asserts if the link layer TX detects data invalid on the Avalon® streaming bus when data is requested. By design, the F-Tile JESD204C TX link layer expects the upstream device (F-Tile JESD204C transport layer) will always send the valid data with zero latency when ready is asserted. |
RW1C | 0x0 |
0 | sysref_lemc_err | When the sysref_ctrl (0x54) sysref_alwayson register is set to 1, the LEMC counter will check whether SYSREF period matches the LEMC counter where it is n-integer multiplier of the (E*32). If SYSREF period does not match the LEMC period, the IP asserts this bit. |
RW1C | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:9 | Reserved | Reserved | RV | 0x0 |
10 | efifo_overflow_err_en | Custom cadence controller overflow error interrupt enable. | RW | 0x1 |
9 | Reserved | Reserved | RV | 0x0 |
8 | tx_gb_overflow_err_en | TX gearbox overflow error interrupt enable | RW | 0x1 |
7 | tx_gb_underflow_err_en | TX gearbox underflow error interrupt enable | RW | 0x1 |
6 | src_tx_alarm_en | SRC TX alarm interrupt enable | RW | 0x1 |
5 | syspll_lock_err_en | System PLL lock error interrupt enable | RW | 0x1 |
4 | txpll_lock_err_en | TX transceiver PLL lock error interrupt enable | RW | 0x1 |
3 | cmd_invalid_err_en | Command invalid error interrupt enable | RW | 0x0 |
2 | frame_data_invalid_err_en | Frame data invalid error interrupt enable | RW | 0x0 |
1 | dll_data_invalid_err_en | Link data invalid error interrupt enable | RW | 0x0 |
0 | sysref_lemc_err_en | SYSREF LEMC error interrupt enable | RW | 0x1 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:4 | Reserved | Reserved | RV | 0x0 |
3 | cmd_invalid_err_en_reinit | Command invalid error reinitialization enable | RW | 0x0 |
2 | frame_data_invalid_err_en_reinit | Frame data invalid error reinitialization enable | RW | 0x0 |
1 | dll_data_invalid_err_en_reinit | Link data invalid error reinitialization enable | RW | 0x0 |
0 | sysref_lemc_err_en_reinit | SYSREFFrame data invalid error interrupt LEMC error reinitialization enable | RW | 0x0 |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:4 | Reserved | Reserved | RV | 0x0 |
3 | sysref_det_pending | Indicates that sysref is yet to be detected. sysref_ctrl.sysref_singledet needs to be set to enable link initialization. | ROV | 0x0 |
2 | reinit_in_prog | Indicates that auto or manual link reinitialization is in progress. | ROV | 0x0 |
1:0 | sh_config | Sync header encoding configuration b00: CRC-12 b01: Standalone command channel b10: Reserved (CRC-3) |
RO | Compile-time specific |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:30 | CS | Number of control bits per converter sample. 1-based value. For example, 0=0 bit, 1=1 bit. | RO | Compile-time specific |
29 | HD | High Density format. | RO | Compile-time specific |
28:24 | N | Number of data bits per converter sample. 0-based value. For example, 0=1 bit, 1=2 bits. Note that CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7. |
RO | Compile-time specific |
23:16 | M | Number of converter per device. 0-based value. For example, 0=1 converter, 1=2 converters.
Note: CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7.
|
RO | Compile-time specific |
15:8 | F |
Note: CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7.Number of octets per frame. 0-based value. For example, 0=1 octet, 1=2 octets.
|
RO | Compile-time specific |
7:4 | Reserved | Reserved | RV | 0x0 |
3:0 | L | Number of lanes per link. 0-based value. For example, 0=1 lane, 1=2 lanes.
Note: CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7.
|
RO | Compile-time specific |
Bit | Name | Description | Attribute | Reset |
---|---|---|---|---|
31:24 | E | Number of multiblock within an extended multiblock. 0-based value. For example, 0=1 multiblock to form extended multiblock, 1=2 multiblock to form an extended multiblock. If (256 Mod F)=1, E must be greater than 1. (The register value should be greater than 0).
Note: CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7.
|
RO | Compile-time specific |
23:21 | Reserved | Reserved | RV | 0x0 |
20:16 | CF | Number of control words per frame clock per link. 1-based value. I.e 0=0 word, 1=1 word. | RO | Compile-time specific |
15:13 | Reserved | Reserved | RV | 0x0 |
12:8 | S | Number of samples per converter frame cycle. 0-based value. For example, 0=1 sample, 1=2 samples.
Note: CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7.
|
RO | Compile-time specific |
7:5 | subclass_ver | Device Subclass Version
|
RO | Compile-time specific |
4:0 | NP | Number of data bits+control bits+tail bits per converter sample. 0-based value. For example, 0=1 bit, 1=2 bits.
Note: CSR indexing is different from the parameter indexing. If parameter=`d8, this register field will be `d7.
|
RO | Compile-time specific |