CPRI Intel® FPGA IP User Guide

ID 683595
Date 5/17/2024
Public
Document Table of Contents

3.5.1. AUX Interface Signals

Table 24.  AUX Interface SignalsIf you turn on Enable auxiliary interface in the CPRI parameter editor, the AUX interface is available. This interface allows access to the entire CPRI frame and has the highest priority among the L1 interfaces.

You can alter the transmit write latency with the Auxiliary and direct interfaces write latency cycle(s) parameter. The default transmit latency, when Auxiliary and direct interfaces write latency cycle(s) has the value of zero, is one cpri_clkout cycle. You can specify additional latency cycles.

The Data path width parameter determines the interface type and width, where N= 32 or 64, C= 3 or 7, and D= 31 or 63.

All interface signals are clocked by the cpri_clkout clock.

AUX RX Interface Status Signals

Signal Name

Direction

Description

auxN_rx_rfp Output Synchronization pulse for start of 10 ms radio frame. The pulse occurs at the start of the radio frame on the AUX RX interface.
auxN_rx_hfp Output Synchronization pulse for start of hyperframe. The pulse occurs at the start of the hyperframe on the AUX RX interface.
auxN_rx_bfn[11:0] Output Current radio frame number on the AUX RX interface.
auxN_rx_z[7:0] Output Current hyperframe number on the AUX RX interface. Value is in the range 0–149.
auxN_rx_x[7:0] Output Index number of the current basic frame in the current hyperframe on the AUX RX interface. Value is in the range 0–255.
auxN_rx_seq[6:0] Output Index number of the current 32-bit word in the current basic frame on the AUX RX interface. The value range depends on the current CPRI line bit rate:
  • 0.6144 Gbps: range is 0–3
  • 1.2288 Gbps: range is 0–7
  • 2.4576 Gbps: range is 0–15
  • 3.0720 Gbps: range is 0–19
  • 4.9152 Gbps: range is 0–31
  • 6.1440 Gbps: range is 0–39
  • 8.11008 Gbps: range is 0–63
  • 9.8304 Gbps: range is 0–63
  • 10.1376 Gbps: range is 0–79
For 64-bit word, the index number value range is generally half of the value range for 32-bit word:
  • 8.11008 Gbps: range is 0–31
  • 10.1376 Gbps: range is 0–39
  • 12.16512 Gbps: range is 0–47
  • 24.33024 Gbps: range is 0–95

12.16512 and 24.33024 Gbps CPRI line rates uses 64-bit interface. 8.11008 and 10.1376 Gbps CPRI line rates uses 64-bit interface when aut-rate negotiated from 12.16512/24.33024 Gbps

AUX RX Interface Data Signals

Signal Name

Direction

Description

auxN_rx_data[D:0] Output Data the IP core presents on the AUX link. Data is transmitted in 32-bit words. Byte [31:24] is transmitted first and byte [7:0] is transmitted last.
auxN_rx_ctrl[C:0] Output Control slots indicator. Each asserted bit indicates that the corresponding byte position in aux_rx_data holds a byte from a CPRI control word.
AUX TX Interface Control and Status Signals

Signal Name

Direction

Description

auxN_tx_sync_rfp Input Synchronization input used in REC master to control the start of a new 10 ms radio frame. Asserting this signal resets the frame synchronization machine. The CPRI IP uses the rising edge of the pulse for synchronization. Rising edge of this signal is synchronous to the rising edge of cpri_clkout.
aux_bfn_resync_value [11:0] Input Enables the resynchronization of CPRI radio frame number to a desired value. It is for resynchronization of outgoing CPRI radio frame number with nodeB Frame Number(BFN). This signal takes effect on next clock cycle after positive edge of auxN_tx_sync_rfp.
auxN_tx_err[C:0] Output Indicates that in the previous cpri_clkout cycle, aux_tx_mask bits masked one or more control words in the target CPRI frame. Each bit in aux_tx_err indicates whether the corresponding byte in the 32-bit value on aux_tx_data overwrites a control word in the target CPRI frame.
auxN_tx_rfp Output Synchronization pulse for start of 10 ms radio frame. The pulse occurs at the start of the radio frame on the AUX TX interface.
auxN_tx_hfp Output Synchronization pulse for start of hyperframe. The pulse occurs at the start of the hyperframe on the AUX TX interface.
auxN_tx_bfn[11:0] Output Current radio frame number on the AUX TX interface.
auxN_tx_z[7:0] Output Current hyperframe number on the AUX TX interface. Value is in the range 0–149.
auxN_tx_x[7:0] Output Index number of the current basic frame in the current hyperframe on the AUX TX interface. Value is in the range 0–255. The number transitions to 0 after 1 clock of the aux_tx_sync_rfp rising edge.
auxN_tx_seq[6:0] Output Index number of the current 32-bit word in the current basic frame on the AUX TX interface.

The value range depends on the current CPRI line bit rate:

  • 0.6144 Gbps: range is 0–3
  • 1.2288 Gbps: range is 0–7
  • 2.4576 Gbps: range is 0–15
  • 3.0720 Gbps: range is 0–19
  • 4.9152 Gbps: range is 0–31
  • 6.1440 Gbps: range is 0–39
  • 8.11008 Gbps: range is 0–63
  • 9.8304 Gbps: range is 0–63
  • 10.1376 Gbps: range is 0–79
For 64-bit word, the index number value range is generally half of the value range for 32-bit word:
  • 8.11008 Gbps: range is 0–31
  • 10.1376 Gbps: range is 0–39
  • 12.16512 Gbps: range is 0–47
  • 24.33024 Gbps: range is 0–95

12.16512 and 24.33024 Gbps CPRI line rates uses 64-bit interface. 8.11008 and 10.1376 Gbps CPRI line rates uses 64-bit interface when aut-rate negotiated from 12.16512/24.33024 Gbps

AUX TX Interface Data Signals

Signal Name

Direction

Description

auxN_tx_data[D:0] Input Data the IP core receives on the AUX TX interface. The data is aligned with aux_tx_seq with a write delay of one cpri_clkout cycle plus the number of additional cpri_clkout cycles you specify as the value of the Auxiliary and direct interfaces write latency cycle(s) parameter.

User logic is responsible to ensure that the write data in aux_tx_data is aligned with the write latency value of the Auxiliary and direct interfaces write latency cycle(s) parameter.

Data is received in 32-bit words. For correct transmission in the CPRI frame, you must send byte [31:24] first and byte [7:0] last.

auxN_tx_mask[D:0] Input Bit mask for insertion of data from aux_tx_data in the target CPRI frame.

This signal aligns with aux_tx_data and therefore, aligns with aux_tx_seq with a delay of one cpri_clkout cycle plus the number of additional cpri_clkout cycles you specify as the value of the Auxiliary and direct interfaces write latency cycle(s) parameter.

Assertion of a bit in this mask overrides insertion of data to the corresponding bit in the target CPRI frame from any other source. Therefore, you must deassert the mask bits during K28.5 character or /S/ /T/ insertion in the outgoing CPRI frame, which occurs when Z=X=0. If you do not deassert the mask bits during K28.5 or /S/ /T/ character insertion in the outgoing CPRI frame, the aux_tx_err output signal is asserted in the following cpri_clkout cycle.

auxN_tx_ctrl[C:0] Output Control slots indicator. Each asserted bit indicates that the corresponding byte position, as indicated by aux_tx_seq, should hold a CPRI control word in the target CPRI frame.
Figure 28. AUX RX Interface Timing DiagramAUX RX interface behavior in a CPRI IP core running at 0.6144 Gbps.


Figure 29. CPRI REC Master Response to aux_tx_sync_rfp Resynchronization PulseAsserting aux_tx_sync_rfp resets the hyperframe and basic frame numbers in an REC master CPRI IP. Shown for a CPRI IP core running at 0.6144 Gbps.


Figure 30. CPRI REC Master Response When Enable Resynchronization of CPRI Radio Frame Number to Desired Value
Figure 31. AUX TX Interface Timing Diagram with One Auxiliary Latency CycleExpected behavior on the AUX TX interface of a CPRI IP running at 0.6144 Gbps. Illustrates the effect of setting the Auxiliary and direct interfaces write latency cycle(s) parameter to a a non-zero value. Shown for a CPRI IP with Auxiliary and direct interfaces write latency cycle(s) set to the value of 1.


Figure 32. AUX TX Interface Timing Diagram with Four Auxiliary Latency CyclesExpected behavior on the AUX TX interface of a CPRI IP running at 0.6144 Gbps. Illustrates the effect of setting the Auxiliary and direct interfaces write latency cycle(s) parameter to the value of four.


Figure 33. AUX TX Timing Diagram with Error

Illustrates the behavior of the aux_tx_err signal on the AUX TX interface of a CPRI IP core running at 0.6144 Gbps. The aux_tx_ctrl signal shows that when aux_tx_seq has the value of zero, the first byte at the corresponding position in the target CPRI frame is a control byte. The value of the Auxiliary and direct interfaces write latency cycle(s) parameter is zero. Therefore, the data on aux_tx_data is delayed by one clock cycle from the value on aux_tx_seq. The data that appears on aux_tx_data when aux_tx_seq has the value of 1 is the data that targets position X.Y.Z.0 in the target CPRI frame.

The value of Mask #1 is presumably 0xFFXXXXXX, indicating that the incoming data on aux_tx_data is intended to overwrite this control byte in the target CPRI frame. Therefore, in the following cpri_clkout cycle, the IP core asserts the aux_tx_err signal.