Visible to Intel only — GUID: nik1411442140749
Ixiasoft
2.1. Installation and Licensing
2.2. Generating CPRI Intel® FPGA IP Core
2.3. CPRI Intel® FPGA IP File Structure
2.4. CPRI Intel® FPGA IP Core Parameters
2.5. Integrating Your Intel® FPGA IP Core in Your Design: Required External Blocks
2.6. Simulating Intel FPGA IP Cores
2.7. Understanding the Testbench
2.8. Running the Design Example
2.9. Compiling the Full Design and Programming the FPGA
2.5.1. Adding the Transceiver TX PLL IP Core
2.5.2. Adding the Reset Controller
2.5.3. Adding the Transceiver Reconfiguration Controller
2.5.4. Adding the Off-Chip Clean-Up PLL
2.5.5. Adding and Connecting the Single-Trip Delay Calibration Blocks
2.5.6. Transceiver PLL Calibration
2.5.7. Reference and System PLL Clock for your IP Design
3.1. Interfaces Overview
3.2. CPRI Intel® FPGA IP Core Clocking Structure
3.3. CPRI Intel® FPGA IP Core Reset Requirements
3.4. Start-Up Sequence Following Reset
3.5. AUX Interface
3.6. Direct IQ Interface
3.7. Ctrl_AxC Interface
3.8. Direct Vendor Specific Access Interface
3.9. Real-Time Vendor Specific Interface
3.10. Direct HDLC Serial Interface
3.11. Direct L1 Control and Status Interface
3.12. L1 Debug Interface
3.13. Media Independent Interface (MII) to External Ethernet Block
3.14. Gigabit Media Independent Interface (GMII) to External Ethernet Block
3.15. CPU Interface to CPRI Intel® FPGA IP Registers
3.16. Auto-Rate Negotiation
3.17. Extended Delay Measurement
3.18. Deterministic Latency and Delay Measurement and Calibration
3.19. CPRI Intel® FPGA IP Transceiver and Transceiver Management Interfaces
3.20. Testing Features
3.19.1. CPRI Link
3.19.2. Main Transceiver Clock and Reset Signals
3.19.3. Arria V, Arria V GZ, Cyclone V, and Stratix V Transceiver Reconfiguration Interface
3.19.4. Intel® Arria® 10, Intel® Stratix® 10, and Intel® Agilex™ Transceiver Reconfiguration Interface
3.19.5. RS-FEC Interface
3.19.6. Interface to the External Reset Controller
3.19.7. Interface to the External PLL
3.19.8. Transceiver Debug Interface
5.1. INTR Register
5.2. L1_STATUS Register
5.3. L1_CONFIG Register
5.4. BIT_RATE_CONFIG Register
5.5. PROT_VER Register
5.6. TX_SCR Register
5.7. RX_SCR Register
5.8. CM_CONFIG Register
5.9. CM_STATUS Register
5.10. START_UP_SEQ Register
5.11. START_UP_TIMER Register
5.12. FLSAR Register
5.13. CTRL_INDEX Register
5.14. TX_CTRL Register
5.15. RX_CTRL Register
5.16. RX_ERR Register
5.17. RX_BFN Register
5.18. LOOPBACK Register
5.19. TX_DELAY Register
5.20. RX_DELAY Register
5.21. TX_EX_DELAY Register
5.22. RX_EX_DELAY Register
5.23. ROUND_TRIP_DELAY Register
5.24. XCVR_BITSLIP Register
5.25. DELAY_CAL_STD_CTRL1 Register
5.26. DELAY_CAL_STD_CTRL2 Register
5.27. DELAY_CAL_STD_CTRL3 Register
5.28. DELAY_CAL_STD_CTRL4 Register
5.29. DELAY_CAL_STD_CTRL5 Register
5.30. DELAY_CAL_STD_STATUS Register
5.31. DELAY_CAL_RTD Register
5.32. XCVR_TX_FIFO_DELAY Register
5.33. XCVR_RX_FIFO_DELAY Register
5.34. IP_INFO Register
5.35. DEBUG_STATUS Register
Visible to Intel only — GUID: nik1411442140749
Ixiasoft
2.7. Understanding the Testbench
Intel® provides a demonstration testbench with the CPRI Intel® FPGA IP.
If you click Generate Example Design in the CPRI parameter editor, the Quartus® Prime software generates the demonstration testbench. The parameter editor prompts you for the desired location of the testbench.
The testbench performs the following sequence of actions with the static DUT
- Start up CPRI rate.
- Enables transmission on the CPRI link by setting the tx_enable bit (bit [0]) of the CPRI IP core L1_CONFIG register at offset 0x8 (and resetting all other fields of the register)>
- Configures the DUT at the highest possible HDLC bit rate for the CPRI line bit rate, by setting the tx_slow_cm_rate field of the CPRI CM_CONFIG register at offset 0x1C to the appropriate value.
- Reads the CM_CONFIG register to confirm settings.
- BFN number resynchronization if the resynchronization of CPRI radio frame number to a desired value is enabled.
- After the DUT and the testbench achieve frame synchronization, executes the following transactions (Only when you turn on corresponding interface in IP parameter editor):
- Startup Sequence Finite-State Machine (FSM) with Protocol Version and C&M Auto-Negotiation.
- Performs several write transactions to the IQ interface and confirms the testbench receives them on the CPRI link.
- Performs several write transactions to the AUX interface and confirms the testbench receives them on the CPRI link.
- Performs several write transactions to the Ctrl_AxC interface and confirms the testbench receives them from the DUT on the CPRI link.
- Performs several write transactions to the VS interface and confirms the testbench receives them from the DUT on the CPRI link.
- Performs several write transactions to the RTVS interface for the 10G variant, and confirms the testbench receives them form the DUT on the CPRI link.
- Performs several HDLC transactions and confirms the testbench receives them from the DUT on the CPRI link.
- Performs several write transactions to the MI or GMI interface and confirms the testbench receives them from the DUT on the CPRI link.
- Rate negotiation to new CPRI rate (Switches to the next lower bit rate if available, otherwise test ends at the lowest bit rate).
- Repeat steps b to i.
Signal Name | Direction | Type | Description |
---|---|---|---|
clk_100 | Input | 1-Bit Logic | 100MHz used for clocking test components, CSR and reset controls. |
sampling_refclk | Input | 1-Bit Logic | Reference clock for Intel® Agilex™ F-Tile IOPLL (Only for Intel® Agilex™ F-Tile devices). |
cdr_refclk | Input | 1-Bit Logic | Reference clock for Core IOPLL, Extended Delay Measurement PLL, and Transceiver. |
cdr_refclk1 | Input | 1-Bit Logic | Secondary reference clock for Core IOPLL, Extended Delay Measurement PLL, and Transceiver when rate negotiation is enabled (Only for Intel® Stratix® 10 H-Tile or Intel® Arria® 10 Devices). |
ehip_ref_clk | Input | 1-Bit Logic | Reference clock used to generate high speed serial clocks and data path parallel clocks in CPRI IP (Only for F-Tile and E-Tile devices). |
ehip_ref_clk1 | Input | 1-Bit Logic | Secondary reference clock used to generate high speed serial clocks and data path parallel clocks in CPRI IP when rate negotiation is enabled (Only for F-Tile / E-Tile devices). |
aib_pll_refclk | Input | 1-Bit Logic | Reference clock for Intel® Agilex™ F-tile and E-Tile or Intel® Stratix® 10 E-Tile AIB PLL (Only for F-Tile and E-Tile devices). |
reset_n | Input | 1-Bit Logic | Global active-low reset. |
rx_serial | Input | 1-Bit Logic | Receiver serial port. |
tx_serial | Output | 1-Bit Logic | Transmitter serial port. |