1.1. Hardware and Software Requirements 1.2. Generating the Design 1.3. Directory Structure 1.4. Simulating the Design Example Testbench 1.5. Compiling the Compilation-Only Project 1.6. Compiling and Configuring the Design Example in Hardware 1.7. Testing the Hardware Design Example 1.8. Transceiver Toolkit
2.3. Simulation Design Example
The F-Tile CPRI PHY Intel® FPGA IP design example generates a simulation testbench and simulation files that instantiate the F-Tile CPRI PHY Intel® FPGA IP core when you select the Simulation option.
Figure 4. Block Diagram
In this design example, the simulation testbench provides basic functionality such as startup and wait for lock, transmit, and receive packets.
The successful test run displays output confirming the following behavior:
- The client logic resets the IP core.
- The client logic waits for the RX datapath alignment.
- The client logic transmits hyperframes on the TX MII interface and waits for five hyperframes to be received on the RX MII interface. Hyperframes are transmitted and received on the MII interfaces, per the CPRI v7.0 specifications.
Note: The CPRI designs that target 1.2, 2.4, 3, 4.9, 6.1, and 9.8 Gbps line rates use 8b/10b interface and the designs that target 10.1, 12.1, and 24.3 Gbps (with and without RS-FEC) use MII interface.Note: This design example includes a round trip counter to count the round trip latency from TX to RX.
- The client logic reads the round trip latency value and checks for the content and correctness of the hyperframes data on the RX MII side once the counter completes the round trip latency count.