eCPRI Intel FPGA IP Design User Guide
- June 16, 2024
- Intel
Table of Contents
- Quick Start Guide
- Waiting for RX alignment
- RX deskew locked
- RX lane aligmnent locked
- Waiting for link fault clear
- Link fault clear
- MAC Source Address 0_0 Channel 0: 33445566
- MAC Source Address 0_1 Channel 0: 00007788
- MAC Destination Address 0_0 Channel 0: 33445566
- MAC Destination Address 0_1 Channel 0: 00007788
- MAC Destination Address 1_0 Channel 0: 11223344
- MAC Destination Address 1_1 Channel 0: 00005566
- MAC Destination Address 2_0 Channel 0: 22334455
- MAC Destination Address 2_1 Channel 0: 00006677
- MAC Destination Address 3_0 Channel 0: 44556677
- MAC Destination Address 3_1 Channel 0: 00008899
- MAC Destination Address 4_0 Channel 0: 66778899
- MAC Destination Address 4_1 Channel 0: 0000aabb
- MAC Destination Address 5_0 Channel 0: 778899aa
- MAC Destination Address 5_1 Channel 0: 0000bbcc
- MAC Destination Address 6_0 Channel 0: 8899aabb
- MAC Destination Address 6_1 Channel 0: 0000ccdd
- MAC Destination Address 7_0 Channel 0: 99aabbcc
- MAC Destination Address 7_1 Channel 0: 0000ddee
- eCPRI Common Control Channel 0: 00000041
- Enable interrupt eCPRI Common Control Channel 0: 00000241
- eCPRI version Channel 0: 2
- MAC Source Address 0_0 Channel 1: 33445566
- MAC Source Address 0_1 Channel 1: 00007788
- MAC Destination Address 0_0 Channel 1: 33445566
- MAC Destination Address 0_1 Channel 1: 00007788
- MAC Destination Address 1_0 Channel 1: 11223344
- MAC Destination Address 1_1 Channel 1: 00005566
- MAC Destination Address 2_0 Channel 1: 22334455
- MAC Destination Address 2_1 Channel 1: 00006677
- MAC Destination Address 3_0 Channel 1: 44556677
- MAC Destination Address 3_1 Channel 1: 00008899
- MAC Destination Address 4_0 Channel 1: 66778899
- MAC Destination Address 4_1 Channel 1: 0000aabb
- MAC Destination Address 5_0 Channel 1: 778899aa
- MAC Destination Address 5_1 Channel 1: 0000bbcc
- MAC Destination Address 6_0 Channel 1: 8899aabb
- MAC Destination Address 6_1 Channel 1: 0000ccdd
- MAC Destination Address 7_0 Channel 1: 99aabbcc
- MAC Destination Address 7_1 Channel 1: 0000ddee
- eCPRI Common Control Channel 1: 00000041
- Enable interrupt eCPRI Common Control Channel 1: 00000241
- eCPRI version Channel 1: 2
- MAC Source Address 0_0 Channel 2: 33445566
- MAC Source Address 0_1 Channel 2: 00007788
- MAC Destination Address 0_0 Channel 2: 33445566
- MAC Destination Address 0_1 Channel 2: 00007788
- MAC Destination Address 1_0 Channel 2: 11223344
- MAC Destination Address 1_1 Channel 2: 00005566
- MAC Destination Address 2_0 Channel 2: 22334455
- MAC Destination Address 2_1 Channel 2: 00006677
- MAC Destination Address 3_0 Channel 2: 44556677
- MAC Destination Address 3_1 Channel 2: 00008899
- MAC Destination Address 4_0 Channel 2: 66778899
- MAC Destination Address 4_1 Channel 2: 0000aabb
- MAC Destination Address 5_0 Channel 2: 778899aa
- MAC Destination Address 5_1 Channel 2: 0000bbcc
- MAC Destination Address 6_0 Channel 2: 8899aabb
- MAC Destination Address 6_1 Channel 2: 0000ccdd
- MAC Destination Address 7_0 Channel 2: 99aabbcc
- MAC Destination Address 7_1 Channel 2: 0000ddee
- eCPRI Common Control Channel 2: 00000041
- Enable interrupt eCPRI Common Control Channel 2: 00000241
- eCPRI version Channel 2: 2
- MAC Source Address 0_0 Channel 3: 33445566
- MAC Source Address 0_1 Channel 3: 00007788
- MAC Destination Address 0_0 Channel 3: 33445566
- MAC Destination Address 0_1 Channel 3: 00007788
- MAC Destination Address 1_0 Channel 3: 11223344
- MAC Destination Address 1_1 Channel 3: 00005566
- MAC Destination Address 2_0 Channel 3: 22334455
- MAC Destination Address 2_1 Channel 3: 00006677
- MAC Destination Address 3_0 Channel 3: 44556677
- MAC Destination Address 3_1 Channel 3: 00008899
- MAC Destination Address 4_0 Channel 3: 66778899
- MAC Destination Address 4_1 Channel 3: 0000aabb
- MAC Destination Address 5_0 Channel 3: 778899aa
- MAC Destination Address 5_1 Channel 3: 0000bbcc
- MAC Destination Address 6_0 Channel 3: 8899aabb
- MAC Destination Address 6_1 Channel 3: 0000ccdd
- MAC Destination Address 7_0 Channel 3: 99aabbcc
- MAC Destination Address 7_1 Channel 3: 0000ddee
- eCPRI Common Control Channel 3: 00000041
- Enable interrupt eCPRI Common Control Channel 3: 00000241
- eCPRI version Channel 3: 2
- __
- INFO: Out of reset status
- __
- Channel 0 eCPRI TX SOPs count : 0
- Channel 0 eCPRI TX EOPs count : 0
- Channel 0 eCPRI RX SOPs count : 0
- Channel 0 eCPRI RX EOPs count : 0
- Channel 0 External PTP TX SOPs count : 0
- Channel 0 External PTP TX EOPs count : 0
- Channel 0 External MISC TX SOPs count : 0
- Channel 0 External MISC TX EOPs count : 0
- Channel 0 External RX SOPs count : 0
- Channel 0 External RX EOPs count : 0
- Channel 1 eCPRI TX SOPs count : 0
- Channel 1 eCPRI TX EOPs count : 0
- Channel 1 eCPRI RX SOPs count : 0
- Channel 1 eCPRI RX EOPs count : 0
- Channel 1 External PTP TX SOPs count : 0
- Channel 1 External PTP TX EOPs count : 0
- Channel 1 External MISC TX SOPs count : 0
- Channel 1 External MISC TX EOPs count : 0
- Channel 1 External RX SOPs count : 0
- Channel 1 External RX EOPs count : 0
- Channel 2 eCPRI TX SOPs count : 0
- Channel 2 eCPRI TX EOPs count : 0
- Channel 2 eCPRI RX SOPs count : 0
- Channel 2 eCPRI RX EOPs count : 0
- Channel 2 External PTP TX SOPs count : 0
- Channel 2 External PTP TX EOPs count : 0
- Channel 2 External MISC TX SOPs count : 0
- Channel 2 External MISC TX EOPs count : 0
- Channel 2 External RX SOPs count : 0
- Channel 2 External RX EOPs count : 0
- Channel 3 eCPRI TX SOPs count : 0
- Channel 3 eCPRI TX EOPs count : 0
- Channel 3 eCPRI RX SOPs count : 0
- Channel 3 eCPRI RX EOPs count : 0
- Channel 3 External PTP TX SOPs count : 0
- Channel 3 External PTP TX EOPs count : 0
- Channel 3 External MISC TX SOPs count : 0
- Channel 3 External MISC TX EOPs count : 0
- Channel 3 External RX SOPs count : 0
- Channel 3 External RX EOPs count : 0
- __
- INFO: Start transmitting packets
- __
- INFO: Waiting for the Channel 0 eCPRI TX traffic transfer to complete
- INFO: Channel 0 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 0 eCPRI External TX PTP traffic transfer to
- INFO: Channel 0 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 0 eCPRI External TX Misc traffic transfer to
- INFO: Channel 0 eCPRI External TX Misc traffic transfer completed
- INFO: Waiting for the Channel 1 eCPRI TX traffic transfer to complete
- INFO: Channel 1 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 1 eCPRI External TX PTP traffic transfer to
- INFO: Channel 1 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 1 eCPRI External TX Misc traffic transfer to
- INFO: Channel 1 eCPRI External TX Misc traffic transfer completed
- INFO: Waiting for the Channel 2 eCPRI TX traffic transfer to complete
- INFO: Channel 2 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 2 eCPRI External TX PTP traffic transfer to
- INFO: Channel 2 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 2 eCPRI External TX Misc traffic transfer to
- INFO: Channel 2 eCPRI External TX Misc traffic transfer completed
- INFO: Waiting for the Channel 3 eCPRI TX traffic transfer to complete
- INFO: Channel 3 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 3 eCPRI External TX PTP traffic transfer to
- INFO: Channel 3 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 3 eCPRI External TX Misc traffic transfer to
- INFO: Channel 3 eCPRI External TX Misc traffic transfer completed
- __
- INFO: Stop transmitting packets
- __
- __
- INFO: Checking packets statistics
- __
- Channel 0 eCPRI SOPs transmitted: 300
- Channel 0 eCPRI EOPs transmitted: 300
- Channel 0 eCPRI SOPs received: 300
- Channel 0 eCPRI EOPs received: 300
- Channel 0 eCPRI Error reported: 0
- Channel 0 External PTP SOPs transmitted: 4
- Channel 0 External PTP EOPs transmitted: 4
- Channel 0 External MISC SOPs transmitted: 128
- Channel 0 External MISC EOPs transmitted: 128
- Channel 0 External SOPs received: 132
- Channel 0 External EOPs received: 132
- Channel 0 External PTP SOPs received: 4
- Channel 0 External PTP EOPs received: 4
- Channel 0 External MISC SOPs received: 128
- Channel 0 External MISC EOPs received: 128
- Channel 0 External Error reported: 0
- Channel 0 External Timestamp Fingerprint Error reported: 0
- Channel 1 eCPRI SOPs transmitted: 300
- Channel 1 eCPRI EOPs transmitted: 300
- Channel 1 eCPRI SOPs received: 300
- Channel 1 eCPRI EOPs received: 300
- Channel 1 eCPRI Error reported: 0
- Channel 1 External PTP SOPs transmitted: 4
- Channel 1 External PTP EOPs transmitted: 4
- Channel 1 External MISC SOPs transmitted: 128
- Channel 1 External MISC EOPs transmitted: 128
- Channel 1 External SOPs received: 132
- Channel 1 External EOPs received: 132
- Channel 1 External PTP SOPs received: 4
- Channel 1 External PTP EOPs received: 4
- Channel 1 External MISC SOPs received: 128
- Channel 1 External MISC EOPs received: 128
- Channel 1 External Error reported: 0
- Channel 1 External Timestamp Fingerprint Error reported: 0
- Channel 2 eCPRI SOPs transmitted: 300
- Channel 2 eCPRI EOPs transmitted: 300
- Channel 2 eCPRI SOPs received: 300
- Channel 2 eCPRI EOPs received: 300
- Channel 2 eCPRI Error reported: 0
- Channel 2 External PTP SOPs transmitted: 4
- Channel 2 External PTP EOPs transmitted: 4
- Channel 2 External MISC SOPs transmitted: 128
- Channel 2 External MISC EOPs transmitted: 128
- Channel 2 External SOPs received: 132
- Channel 2 External EOPs received: 132
- Channel 2 External PTP SOPs received: 4
- Channel 2 External PTP EOPs received: 4
- Channel 2 External MISC SOPs received: 128
- Channel 2 External MISC EOPs received: 128
- Channel 2 External Error reported: 0
- Channel 2 External Timestamp Fingerprint Error reported: 0
- Channel 3 eCPRI SOPs transmitted: 300
- Channel 3 eCPRI EOPs transmitted: 300
- Channel 3 eCPRI SOPs received: 300
- Channel 3 eCPRI EOPs received: 300
- Channel 3 eCPRI Error reported: 0
- Channel 3 External PTP SOPs transmitted: 4
- Channel 3 External PTP EOPs transmitted: 4
- Channel 3 External MISC SOPs transmitted: 128
- Channel 3 External MISC EOPs transmitted: 128
- Channel 3 External SOPs received: 132
- Channel 3 External EOPs received: 132
- Channel 3 External PTP SOPs received: 4
- Channel 3 External PTP EOPs received: 4
- Channel 3 External MISC SOPs received: 128
- Channel 3 External MISC EOPs received: 128
- Channel 3 External Error reported: 0
- Channel 3 External Timestamp Fingerprint Error reported: 0
- __
- INFO: Test PASSED
- __
- Enable CPRI TX
- CPRI Channel 0 L1_CONFIG : 00000001
- CPRI Channel 0 CPRI_CORE_CM_CONFIG : 00001ed4
- CPRI Channel 1 L1_CONFIG : 00000001
- CPRI Channel 1 CPRI_CORE_CM_CONFIG : 00001ed4
- CPRI Channel 2 L1_CONFIG : 00000001
- CPRI Channel 2 CPRI_CORE_CM_CONFIG : 00001ed4
- CPRI Channel 3 L1_CONFIG : 00000001
- CPRI Channel 3 CPRI_CORE_CM_CONFIG : 00001ed4
- Waiting for RX alignment
- RX deskew locked
- RX lane aligmnent locked
- Waiting for link fault clear
- Link fault clear
- MAC Source Address 0_0 Channel 0: 33445566
- MAC Source Address 0_1 Channel 0: 00007788
- MAC Destination Address 0_0 Channel 0: 33445566
- MAC Destination Address 0_1 Channel 0: 00007788
- MAC Destination Address 1_0 Channel 0: 11223344
- MAC Destination Address 1_1 Channel 0: 00005566
- MAC Destination Address 2_0 Channel 0: 22334455
- MAC Destination Address 2_1 Channel 0: 00006677
- MAC Destination Address 3_0 Channel 0: 44556677
- MAC Destination Address 3_1 Channel 0: 00008899
- MAC Destination Address 4_0 Channel 0: 66778899
- MAC Destination Address 4_1 Channel 0: 0000aabb
- MAC Destination Address 5_0 Channel 0: 778899aa
- MAC Destination Address 5_1 Channel 0: 0000bbcc
- MAC Destination Address 6_0 Channel 0: 8899aabb
- MAC Destination Address 6_1 Channel 0: 0000ccdd
- MAC Destination Address 7_0 Channel 0: 99aabbcc
- MAC Destination Address 7_1 Channel 0: 0000ddee
- eCPRI Common Control Channel 0: 00000041
- Enable interrupt eCPRI Common Control Channel 0: 00000241
- eCPRI version Channel 0: 2
- MAC Source Address 0_0 Channel 1: 33445566
- MAC Source Address 0_1 Channel 1: 00007788
- MAC Destination Address 0_0 Channel 1: 33445566
- MAC Destination Address 0_1 Channel 1: 00007788
- MAC Destination Address 1_0 Channel 1: 11223344
- MAC Destination Address 1_1 Channel 1: 00005566
- MAC Destination Address 2_0 Channel 1: 22334455
- MAC Destination Address 2_1 Channel 1: 00006677
- MAC Destination Address 3_0 Channel 1: 44556677
- MAC Destination Address 3_1 Channel 1: 00008899
- MAC Destination Address 4_0 Channel 1: 66778899
- MAC Destination Address 4_1 Channel 1: 0000aabb
- MAC Destination Address 5_0 Channel 1: 778899aa
- MAC Destination Address 5_1 Channel 1: 0000bbcc
- MAC Destination Address 6_0 Channel 1: 8899aabb
- MAC Destination Address 6_1 Channel 1: 0000ccdd
- MAC Destination Address 7_0 Channel 1: 99aabbcc
- MAC Destination Address 7_1 Channel 1: 0000ddee
- eCPRI Common Control Channel 1: 00000041
- Enable interrupt eCPRI Common Control Channel 1: 00000241
- eCPRI version Channel 1: 2
- MAC Source Address 0_0 Channel 2: 33445566
- MAC Source Address 0_1 Channel 2: 00007788
- MAC Destination Address 0_0 Channel 2: 33445566
- MAC Destination Address 0_1 Channel 2: 00007788
- MAC Destination Address 1_0 Channel 2: 11223344
- MAC Destination Address 1_1 Channel 2: 00005566
- MAC Destination Address 2_0 Channel 2: 22334455
- MAC Destination Address 2_1 Channel 2: 00006677
- MAC Destination Address 3_0 Channel 2: 44556677
- MAC Destination Address 3_1 Channel 2: 00008899
- MAC Destination Address 4_0 Channel 2: 66778899
- MAC Destination Address 4_1 Channel 2: 0000aabb
- MAC Destination Address 5_0 Channel 2: 778899aa
- MAC Destination Address 5_1 Channel 2: 0000bbcc
- MAC Destination Address 6_0 Channel 2: 8899aabb
- MAC Destination Address 6_1 Channel 2: 0000ccdd
- MAC Destination Address 7_0 Channel 2: 99aabbcc
- MAC Destination Address 7_1 Channel 2: 0000ddee
- eCPRI Common Control Channel 2: 00000041
- Enable interrupt eCPRI Common Control Channel 2: 00000241
- eCPRI version Channel 2: 2
- MAC Source Address 0_0 Channel 3: 33445566
- MAC Source Address 0_1 Channel 3: 00007788
- MAC Destination Address 0_0 Channel 3: 33445566
- MAC Destination Address 0_1 Channel 3: 00007788
- MAC Destination Address 1_0 Channel 3: 11223344
- MAC Destination Address 1_1 Channel 3: 00005566
- MAC Destination Address 2_0 Channel 3: 22334455
- MAC Destination Address 2_1 Channel 3: 00006677
- MAC Destination Address 3_0 Channel 3: 44556677
- MAC Destination Address 3_1 Channel 3: 00008899
- MAC Destination Address 4_0 Channel 3: 66778899
- MAC Destination Address 4_1 Channel 3: 0000aabb
- MAC Destination Address 5_0 Channel 3: 778899aa
- MAC Destination Address 5_1 Channel 3: 0000bbcc
- MAC Destination Address 6_0 Channel 3: 8899aabb
- MAC Destination Address 6_1 Channel 3: 0000ccdd
- MAC Destination Address 7_0 Channel 3: 99aabbcc
- MAC Destination Address 7_1 Channel 3: 0000ddee
- eCPRI Common Control Channel 3: 00000041
- Enable interrupt eCPRI Common Control Channel 3: 00000241
- eCPRI version Channel 3: 2
- Waiting for CPRI achieve HSYNC link up state
- CPRI Channel 0 HSYNC state achieved
- CPRI Channel 1 HSYNC state achieved
- CPRI Channel 2 HSYNC state achieved
- CPRI Channel 3 HSYNC state achieved
- 11100250000 Write 1 to nego_bitrate_complete
- 11100650000 Polling PROT_VER Channel 0
- __
- 11100850000 Polling register: a0000010
- __
- 13105050000 Polling PROT_VER Channel 1
- __
- 13105250000 Polling register: a0800010
- __
- 13105950000 Polling PROT_VER Channel 2
- __
- 13106150000 Polling register: a1000010
- __
- 13106850000 Polling PROT_VER Channel 3
- __
- 13107050000 Polling register: a1800010
- __
- 13107750000 Write 1 to nego_protol_complete
- 13108150000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 0
- __
- 13108350000 Polling register: a0000020
- __
- 14272050000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 1
- __
- 14272250000 Polling register: a0800020
- __
- 14272950000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 2
- __
- 14273150000 Polling register: a1000020
- __
- 14273850000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 3
- __
- 14274050000 Polling register: a1800020
- __
- 14274750000 Write 1 to nego_cm_complete
- 14275150000 Write 1 to nego_vss_complete
- Waiting for CPRI Channel 0 achieve HSYNC & startup sequence FSM STATE_F
- CPRI Channel 0 HSYNC & startup sequence FSM STATE_F achieved
- Waiting for CPRI Channel 1 achieve HSYNC & startup sequence FSM STATE_F
- CPRI Channel 1 HSYNC & startup sequence FSM STATE_F achieved
- Waiting for CPRI Channel 2 achieve HSYNC & startup sequence FSM STATE_F
- CPRI Channel 2 HSYNC & startup sequence FSM STATE_F achieved
- Waiting for CPRI Channel 3 achieve HSYNC & startup sequence FSM STATE_F
- CPRI Channel 3 HSYNC & startup sequence FSM STATE_F achieved
- __
- INFO: Out of reset status
- __
- Channel 0 eCPRI TX SOPs count : 0
- Channel 0 eCPRI TX EOPs count : 0
- Channel 0 eCPRI RX SOPs count : 0
- Channel 0 eCPRI RX EOPs count : 0
- Channel 0 External PTP TX SOPs count : 0
- Channel 0 External PTP TX EOPs count : 0
- Channel 0 External MISC TX SOPs count : 0
- Channel 0 External MISC TX EOPs count : 0
- Channel 0 External RX SOPs count : 0
- Channel 0 External RX EOPs count : 0
- Channel 1 eCPRI TX SOPs count : 0
- Channel 1 eCPRI TX EOPs count : 0
- Channel 1 eCPRI RX SOPs count : 0
- Channel 1 eCPRI RX EOPs count : 0
- Channel 1 External PTP TX SOPs count : 0
- Channel 1 External PTP TX EOPs count : 0
- Channel 1 External MISC TX SOPs count : 0
- Channel 1 External MISC TX EOPs count : 0
- Channel 1 External RX SOPs count : 0
- Channel 1 External RX EOPs count : 0
- Channel 2 eCPRI TX SOPs count : 0
- Channel 2 eCPRI TX EOPs count : 0
- Channel 2 eCPRI RX SOPs count : 0
- Channel 2 eCPRI RX EOPs count : 0
- Channel 2 External PTP TX SOPs count : 0
- Channel 2 External PTP TX EOPs count : 0
- Channel 2 External MISC TX SOPs count : 0
- Channel 2 External MISC TX EOPs count : 0
- Channel 2 External RX SOPs count : 0
- Channel 2 External RX EOPs count : 0
- Channel 3 eCPRI TX SOPs count : 0
- Channel 3 eCPRI TX EOPs count : 0
- Channel 3 eCPRI RX SOPs count : 0
- Channel 3 eCPRI RX EOPs count : 0
- Channel 3 External PTP TX SOPs count : 0
- Channel 3 External PTP TX EOPs count : 0
- Channel 3 External MISC TX SOPs count : 0
- Channel 3 External MISC TX EOPs count : 0
- Channel 3 External RX SOPs count : 0
- Channel 3 External RX EOPs count : 0
- __
- INFO: Start transmitting packets
- __
- INFO: Waiting for the Channel 0 eCPRI TX traffic transfer to complete
- INFO: Channel 0 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 0 eCPRI External TX PTP traffic transfer to
- INFO: Channel 0 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 0 eCPRI External TX Misc traffic transfer to
- INFO: Channel 0 eCPRI External TX Misc traffic transfer completed
- INFO: Waiting for the Channel 1 eCPRI TX traffic transfer to complete
- INFO: Channel 1 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 1 eCPRI External TX PTP traffic transfer to
- INFO: Channel 1 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 1 eCPRI External TX Misc traffic transfer to
- INFO: Channel 1 eCPRI External TX Misc traffic transfer completed
- INFO: Waiting for the Channel 2 eCPRI TX traffic transfer to complete
- INFO: Channel 2 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 2 eCPRI External TX PTP traffic transfer to
- INFO: Channel 2 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 2 eCPRI External TX Misc traffic transfer to
- INFO: Channel 2 eCPRI External TX Misc traffic transfer completed
- INFO: Waiting for the Channel 3 eCPRI TX traffic transfer to complete
- INFO: Channel 3 eCPRI TX traffic transfer completed
- INFO: Waiting for the Channel 3 eCPRI External TX PTP traffic transfer to
- INFO: Channel 3 eCPRI External TX PTP traffic transfer completed
- INFO: Waiting for the Channel 3 eCPRI External TX Misc traffic transfer to
- INFO: Channel 3 eCPRI External TX Misc traffic transfer completed
- __
- INFO: Stop transmitting packets
- __
- __
- INFO: Checking packets statistics
- __
- Channel 0 eCPRI SOPs transmitted: 50
- Channel 0 eCPRI EOPs transmitted: 50
- Channel 0 eCPRI SOPs received: 50
- Channel 0 eCPRI EOPs received: 50
- Channel 0 eCPRI Error reported: 0
- Channel 0 External PTP SOPs transmitted: 4
- Channel 0 External PTP EOPs transmitted: 4
- Channel 0 External MISC SOPs transmitted: 128
- Channel 0 External MISC EOPs transmitted: 128
- Channel 0 External SOPs received: 132
- Channel 0 External EOPs received: 132
- Channel 0 External PTP SOPs received: 4
- Channel 0 External PTP EOPs received: 4
- Channel 0 External MISC SOPs received: 128
- Channel 0 External MISC EOPs received: 128
- Channel 0 External Error reported: 0
- Channel 0 External Timestamp Fingerprint Error reported: 0
- Channel 1 eCPRI SOPs transmitted: 50
- Channel 1 eCPRI EOPs transmitted: 50
- Channel 1 eCPRI SOPs received: 50
- Channel 1 eCPRI EOPs received: 50
- Channel 1 eCPRI Error reported: 0
- Channel 1 External PTP SOPs transmitted: 4
- Channel 1 External PTP EOPs transmitted: 4
- Channel 1 External MISC SOPs transmitted: 128
- Channel 1 External MISC EOPs transmitted: 128
- Channel 1 External SOPs received: 132
- Channel 1 External EOPs received: 132
- Channel 1 External PTP SOPs received: 4
- Channel 1 External PTP EOPs received: 4
- Channel 1 External MISC SOPs received: 128
- Channel 1 External MISC EOPs received: 128
- Channel 1 External Error reported: 0
- Channel 1 External Timestamp Fingerprint Error reported: 0
- Channel 2 eCPRI SOPs transmitted: 50
- Channel 2 eCPRI EOPs transmitted: 50
- Channel 2 eCPRI SOPs received: 50
- Channel 2 eCPRI EOPs received: 50
- Channel 2 eCPRI Error reported: 0
- Channel 2 External PTP SOPs transmitted: 4
- Channel 2 External PTP EOPs transmitted: 4
- Channel 2 External MISC SOPs transmitted: 128
- Channel 2 External MISC EOPs transmitted: 128
- Channel 2 External SOPs received: 132
- Channel 2 External EOPs received: 132
- Channel 2 External PTP SOPs received: 4
- Channel 2 External PTP EOPs received: 4
- Channel 2 External MISC SOPs received: 128
- Channel 2 External MISC EOPs received: 128
- Channel 2 External Error reported: 0
- Channel 2 External Timestamp Fingerprint Error reported: 0
- Channel 3 eCPRI SOPs transmitted: 50
- Channel 3 eCPRI EOPs transmitted: 50
- Channel 3 eCPRI SOPs received: 50
- Channel 3 eCPRI EOPs received: 50
- Channel 3 eCPRI Error reported: 0
- Channel 3 External PTP SOPs transmitted: 4
- Channel 3 External PTP EOPs transmitted: 4
- Channel 3 External MISC SOPs transmitted: 128
- Channel 3 External MISC EOPs transmitted: 128
- Channel 3 External SOPs received: 132
- Channel 3 External EOPs received: 132
- Channel 3 External PTP SOPs received: 4
- Channel 3 External PTP EOPs received: 4
- Channel 3 External MISC SOPs received: 128
- Channel 3 External MISC EOPs received: 128
- Channel 3 External Error reported: 0
- Channel 3 External Timestamp Fingerprint Error reported: 0
- __
- INFO: Test PASSED
- __
- Design Example Description
- eCPRI Intel FPGA IP Design Example User Guide Archives
- Document Revision History for eCPRI Intel FPGA IP Design Example User
- A. Generating and Downloading the Executable and Linking Format (.elf)
- Read User Manual Online (PDF format)
- Download This Manual (PDF format)
eCPRI Intel® FPGA IP Design
Example User Guide
Updated for Intel®
Quartus®
Prime Design Suite: 23.1
IP Version: 2.0.3
Quick Start Guide
The enhanced Common Public Radio Interface (eCPRI) Intel® FPGA IP core
implements the eCPRI specification version 2.0. The eCPRI Intel FPGA IP
provides a simulation testbench and a hardware design example that supports
compilation and hardware testing. When you generate the design example, the
parameter editor automatically creates the files necessary to simulate,
compile, and test the design example in hardware.
The compiled hardware design example runs on:
- Intel Agilex™ 7 I-Series FPGA Development Kit
- Intel Agilex 7 I-Series Transceiver-SoC Development Kit
- Intel Agilex 7 F-Series Transceiver-SoC Development Kit
- Intel Stratix® 10 GX Transceiver Signal Integrity Development Kit for the H-tile design examples
- Intel Stratix 10 TX Transceiver Signal Integrity Development Kit for the E-tile design examples
- Intel Arria® 10 GX Transceiver Signal Integrity Development Kit
Intel provides a compilation-only example project that you can use to quickly
estimate IP core area and timing.
The testbench and design example supports 25G and 10G data rates for Intel
Stratix 10 H-tile or E-tile and Intel Agilex 7 E-tile or F-tile device
variations of the eCPRI IP.
Note: The eCPRI IP design example with interworking function (IWF) is
only available for 9.8 Gbps CPRI line bit rate in the current release.
Note: The eCPRI IP design example does not support dynamic
reconfiguration for 10G data rate in Intel Arria 10 designs.
The eCPRI Intel FPGA IP core design example supports the following features:
- Internal TX to RX serial loopback mode
- Traffic generator and checker
- Basic packet checking capabilities
- Ability to use System Console to run the design and reset the design for re-testing purpose
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel’s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. *Other names and brands may be claimed as the property of others.
ISO 9001:2015 Registered
Figure 1. Development Steps for the Design Example
Related Information
- eCPRI Intel FPGA IP User Guide
- eCPRI Intel FPGA IP Release Notes
1.1. Hardware and Software Requirements
To test the example design, use the following hardware and software:
-
Intel Quartus® Prime Pro Edition software version 23.1
-
System Console
-
Supported Simulators:
— Siemens EDA QuestaSim
— Synopsys VCS
— Synopsys VCS MX
— Aldec Riviera-PRO
— Cadence Xcelium -
Development Kit:
— Intel Agilex 7 I-Series FPGA Development Kit
— Intel Agilex 7 I-Series Transceiver-SoC Development Kit
— Intel Agilex 7 F-Series Transceiver-SoC Development Kit
— Intel Stratix 10 GX Transceiver Signal Integrity Development Kit for the H-tile device variation design example
— Intel Stratix 10 TX Transceiver Signal Integrity Development for the E-tile device variation design example
— Intel Arria 10 GX Transceiver Signal Integrity Development Kit
Related Information
- Intel Agilex 7 I-Series FPGA Development Kit User Guide
- Intel Agilex 7 I-Series Transceiver-SoC Development Kit User Guide
- Intel Agilex 7 F-Series Transceiver-SoC Development Kit User Guide
- Intel Stratix 10 GX Transceiver Signal Integrity Development Kit User Guide
- Intel Stratix 10 TX Transceiver Signal Integrity Development Kit User Guide
- Intel Arria 10 GX Transceiver Signal Integrity Development Kit User Guide
1.2. Generating the Design
Prerequisite: Once you receive the eCPRI web-core IP, save the web-core
installer to the local area. Run the installer with Windows/Linux. When
prompted, install the webcore to the same location as Intel Quartus Prime
folder.
The eCPRI Intel FPGA IP now appears in the IP Catalog.
If you do not already have an Intel Quartus Prime Pro Edition project in which
to integrate your eCPRI Intel FPGA IP core, you must create one.
- In the Intel Quartus Prime Pro Edition software, click File ➤ New Project Wizard to create a new Intel Quartus Prime project, or click File ➤ Open Project to open an existing Intel Quartus Prime project. The wizard prompts you to specify a device.
- Specify the device family and a device that meets the speed grade requirements.
- Click Finish.
- In the IP Catalog, locate and double-click eCPRI Intel FPGA IP. The New IP Variant window appears.
Follow these steps to generate the eCPRI IP hardware design example and testbench:
-
In the IP Catalog, locate and double-click eCPRI Intel FPGA IP. The New IP Variant window appears.
-
Click OK. The parameter editor appears.
Figure 2. Example Design Tab in the eCPRI Intel FPGA IP Parameter Editor -
Specify a top-level name
for your custom IP variation. The parameter editor saves the IP variation settings in a file named .ip. -
Click OK. The parameter editor appears.
-
On the General tab, specify the parameters for your IP core variation.
Note: • You must turn on Streaming parameter in the eCPRI IP parameter editor when you generate the design example with Interworking Function (IWF) Support parameter enabled,
• You must set the CPRI Line Bit Rate (Gbit/s) to Others when generating the design example with Interworking Function (IWF) Support parameter enabled. -
On the Example Design tab, select the simulation option to generate the testbench, select the synthesis option to generate the hardware example design, and select synthesis and simulation option to generate both the testbench and the hardware design example.
-
For Language for top level simulation file, select Verilog or VHDL.
Note: This option is available only when you select Simulation option for your example design. -
For Language for top level synthesis file, select Verilog or VHDL.
Note: This option is available only when you select Synthesis option for your example design. -
For Number of Channels, you can enter the number of channels (1 to 4) intended for your design. Default value is 1.
-
Click Generate Example Design. The Select Example Design Directory window appears.
-
If you want to modify the design example directory path or name from the defaults displayed (ecpri_0_testbench), browse to the new path and type the new design example directory name.
-
Click OK.
Related Information
eCPRI Intel FPGA IP User Guide
1.3. Directory Structure
The eCPRI IP core design example file directories contain the following
generated files for the design example.
Figure 3. Directory Structure of the Generated Example Design
Note:
- Only present in Intel Arria 10 IP design example variation .
- Only present in Intel Stratix 10 (H-tile or E-tile) IP design example variation .
- Only present in Intel Agilex E-tile IP design example variation .
Table 1. eCPRI Intel FPGA IP Core Testbench File Descriptions
File Names | Description |
---|
Key Testbench and Simulation Files
Table 2. eCPRI Intel FPGA IP Core Hardware Design Example File Descriptions
File Names | Descriptions |
---|---|
Intel Quartus Prime |
project file.
1.4. Simulating the Design Example Testbench
Figure 4. Procedure
Follow these steps to simulate the testbench:
-
At the command prompt, change to the testbench simulation directory
/simulation/setup_scripts. -
For Intel Agilex F-tile device variations, follow these steps:
a. Navigate to the/simulation/quartus directory and run these two commands below: quartus_ipgenerate –run_default_mode_op ecpri_ed -c ecpri_ed quartus_tlg ecpri_ed
Alternately, you may open the ecpri_ed.qpf project in Intel Quartus Prime Pro Edition and perform the compilation until Support Logic Generation stage.
b. Navigate to the/simulation/setup_scripts directory.
c. Run the following command: ip-setup-simulation -–quartus- project=../quartus/ecpri_ed.qpf -
Run the simulation script for the supported simulator of your choice. The script compiles and runs the testbench in the simulator. Refer to the table Steps to Simulate the Testbench.
Note: The VHDL language support for simulation is only available with QuestaSim and VCS MX simulators. The Verilog language support for simulation is available for all simulators listed in Table: Steps to Simulate the Testbench. -
Analyze the results. The successful testbench sends and receives packets, and displays “PASSED”.
Table 3. Steps to Simulate the Testbench
Simulator | Instructions |
---|---|
QuestaSim | In the command line, type vsim -do run_vsim.do If you prefer to |
simulate without bringing up the QuestaSim GUI, type vsim -c -do run_vsim.do
VCS| • In the command line, type sh run_vcs.sh
• Navigate to the
VCS MX| In the command line, type sh run_vcsmx.sh
Riviera-PRO| In the command line, type vsim -c -do run_rivierapro.tcl
Note: Only supported in Intel Stratix 10 H-tile design variations.
Xcelium(1)| In the command line, type sh run_xcelium.sh
- This simulator is not supported for eCPRI Intel FPGA IP design example generated with IWF feature enabled.
Sample Output: The following sample output illustrates a successful simulation test run of the eCPRI IP design example without IWF feature enabled with Number of Channels = 4:
Waiting for RX alignment
RX deskew locked
RX lane aligmnent locked
Waiting for link fault clear
Link fault clear
MAC Source Address 0_0 Channel 0: 33445566
MAC Source Address 0_1 Channel 0: 00007788
MAC Destination Address 0_0 Channel 0: 33445566
MAC Destination Address 0_1 Channel 0: 00007788
MAC Destination Address 1_0 Channel 0: 11223344
MAC Destination Address 1_1 Channel 0: 00005566
MAC Destination Address 2_0 Channel 0: 22334455
MAC Destination Address 2_1 Channel 0: 00006677
MAC Destination Address 3_0 Channel 0: 44556677
MAC Destination Address 3_1 Channel 0: 00008899
MAC Destination Address 4_0 Channel 0: 66778899
MAC Destination Address 4_1 Channel 0: 0000aabb
MAC Destination Address 5_0 Channel 0: 778899aa
MAC Destination Address 5_1 Channel 0: 0000bbcc
MAC Destination Address 6_0 Channel 0: 8899aabb
MAC Destination Address 6_1 Channel 0: 0000ccdd
MAC Destination Address 7_0 Channel 0: 99aabbcc
MAC Destination Address 7_1 Channel 0: 0000ddee
eCPRI Common Control Channel 0: 00000041
Enable interrupt eCPRI Common Control Channel 0: 00000241
eCPRI version Channel 0: 2
MAC Source Address 0_0 Channel 1: 33445566
MAC Source Address 0_1 Channel 1: 00007788
MAC Destination Address 0_0 Channel 1: 33445566
MAC Destination Address 0_1 Channel 1: 00007788
MAC Destination Address 1_0 Channel 1: 11223344
MAC Destination Address 1_1 Channel 1: 00005566
MAC Destination Address 2_0 Channel 1: 22334455
MAC Destination Address 2_1 Channel 1: 00006677
MAC Destination Address 3_0 Channel 1: 44556677
MAC Destination Address 3_1 Channel 1: 00008899
MAC Destination Address 4_0 Channel 1: 66778899
MAC Destination Address 4_1 Channel 1: 0000aabb
MAC Destination Address 5_0 Channel 1: 778899aa
MAC Destination Address 5_1 Channel 1: 0000bbcc
MAC Destination Address 6_0 Channel 1: 8899aabb
MAC Destination Address 6_1 Channel 1: 0000ccdd
MAC Destination Address 7_0 Channel 1: 99aabbcc
MAC Destination Address 7_1 Channel 1: 0000ddee
eCPRI Common Control Channel 1: 00000041
Enable interrupt eCPRI Common Control Channel 1: 00000241
eCPRI version Channel 1: 2
MAC Source Address 0_0 Channel 2: 33445566
MAC Source Address 0_1 Channel 2: 00007788
MAC Destination Address 0_0 Channel 2: 33445566
MAC Destination Address 0_1 Channel 2: 00007788
MAC Destination Address 1_0 Channel 2: 11223344
MAC Destination Address 1_1 Channel 2: 00005566
MAC Destination Address 2_0 Channel 2: 22334455
MAC Destination Address 2_1 Channel 2: 00006677
MAC Destination Address 3_0 Channel 2: 44556677
MAC Destination Address 3_1 Channel 2: 00008899
MAC Destination Address 4_0 Channel 2: 66778899
MAC Destination Address 4_1 Channel 2: 0000aabb
MAC Destination Address 5_0 Channel 2: 778899aa
MAC Destination Address 5_1 Channel 2: 0000bbcc
MAC Destination Address 6_0 Channel 2: 8899aabb
MAC Destination Address 6_1 Channel 2: 0000ccdd
MAC Destination Address 7_0 Channel 2: 99aabbcc
MAC Destination Address 7_1 Channel 2: 0000ddee
eCPRI Common Control Channel 2: 00000041
Enable interrupt eCPRI Common Control Channel 2: 00000241
eCPRI version Channel 2: 2
MAC Source Address 0_0 Channel 3: 33445566
MAC Source Address 0_1 Channel 3: 00007788
MAC Destination Address 0_0 Channel 3: 33445566
MAC Destination Address 0_1 Channel 3: 00007788
MAC Destination Address 1_0 Channel 3: 11223344
MAC Destination Address 1_1 Channel 3: 00005566
MAC Destination Address 2_0 Channel 3: 22334455
MAC Destination Address 2_1 Channel 3: 00006677
MAC Destination Address 3_0 Channel 3: 44556677
MAC Destination Address 3_1 Channel 3: 00008899
MAC Destination Address 4_0 Channel 3: 66778899
MAC Destination Address 4_1 Channel 3: 0000aabb
MAC Destination Address 5_0 Channel 3: 778899aa
MAC Destination Address 5_1 Channel 3: 0000bbcc
MAC Destination Address 6_0 Channel 3: 8899aabb
MAC Destination Address 6_1 Channel 3: 0000ccdd
MAC Destination Address 7_0 Channel 3: 99aabbcc
MAC Destination Address 7_1 Channel 3: 0000ddee
eCPRI Common Control Channel 3: 00000041
Enable interrupt eCPRI Common Control Channel 3: 00000241
eCPRI version Channel 3: 2
__
INFO: Out of reset status
__
Channel 0 eCPRI TX SOPs count : 0
Channel 0 eCPRI TX EOPs count : 0
Channel 0 eCPRI RX SOPs count : 0
Channel 0 eCPRI RX EOPs count : 0
Channel 0 External PTP TX SOPs count : 0
Channel 0 External PTP TX EOPs count : 0
Channel 0 External MISC TX SOPs count : 0
Channel 0 External MISC TX EOPs count : 0
Channel 0 External RX SOPs count : 0
Channel 0 External RX EOPs count : 0
Channel 1 eCPRI TX SOPs count : 0
Channel 1 eCPRI TX EOPs count : 0
Channel 1 eCPRI RX SOPs count : 0
Channel 1 eCPRI RX EOPs count : 0
Channel 1 External PTP TX SOPs count : 0
Channel 1 External PTP TX EOPs count : 0
Channel 1 External MISC TX SOPs count : 0
Channel 1 External MISC TX EOPs count : 0
Channel 1 External RX SOPs count : 0
Channel 1 External RX EOPs count : 0
Channel 2 eCPRI TX SOPs count : 0
Channel 2 eCPRI TX EOPs count : 0
Channel 2 eCPRI RX SOPs count : 0
Channel 2 eCPRI RX EOPs count : 0
Channel 2 External PTP TX SOPs count : 0
Channel 2 External PTP TX EOPs count : 0
Channel 2 External MISC TX SOPs count : 0
Channel 2 External MISC TX EOPs count : 0
Channel 2 External RX SOPs count : 0
Channel 2 External RX EOPs count : 0
Channel 3 eCPRI TX SOPs count : 0
Channel 3 eCPRI TX EOPs count : 0
Channel 3 eCPRI RX SOPs count : 0
Channel 3 eCPRI RX EOPs count : 0
Channel 3 External PTP TX SOPs count : 0
Channel 3 External PTP TX EOPs count : 0
Channel 3 External MISC TX SOPs count : 0
Channel 3 External MISC TX EOPs count : 0
Channel 3 External RX SOPs count : 0
Channel 3 External RX EOPs count : 0
__
INFO: Start transmitting packets
__
INFO: Waiting for the Channel 0 eCPRI TX traffic transfer to complete
INFO: Channel 0 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 0 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 0 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 0 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 0 eCPRI External TX Misc traffic transfer completed
INFO: Waiting for the Channel 1 eCPRI TX traffic transfer to complete
INFO: Channel 1 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 1 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 1 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 1 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 1 eCPRI External TX Misc traffic transfer completed
INFO: Waiting for the Channel 2 eCPRI TX traffic transfer to complete
INFO: Channel 2 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 2 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 2 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 2 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 2 eCPRI External TX Misc traffic transfer completed
INFO: Waiting for the Channel 3 eCPRI TX traffic transfer to complete
INFO: Channel 3 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 3 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 3 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 3 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 3 eCPRI External TX Misc traffic transfer completed
__
INFO: Stop transmitting packets
__
__
INFO: Checking packets statistics
__
Channel 0 eCPRI SOPs transmitted: 300
Channel 0 eCPRI EOPs transmitted: 300
Channel 0 eCPRI SOPs received: 300
Channel 0 eCPRI EOPs received: 300
Channel 0 eCPRI Error reported: 0
Channel 0 External PTP SOPs transmitted: 4
Channel 0 External PTP EOPs transmitted: 4
Channel 0 External MISC SOPs transmitted: 128
Channel 0 External MISC EOPs transmitted: 128
Channel 0 External SOPs received: 132
Channel 0 External EOPs received: 132
Channel 0 External PTP SOPs received: 4
Channel 0 External PTP EOPs received: 4
Channel 0 External MISC SOPs received: 128
Channel 0 External MISC EOPs received: 128
Channel 0 External Error reported: 0
Channel 0 External Timestamp Fingerprint Error reported: 0
Channel 1 eCPRI SOPs transmitted: 300
Channel 1 eCPRI EOPs transmitted: 300
Channel 1 eCPRI SOPs received: 300
Channel 1 eCPRI EOPs received: 300
Channel 1 eCPRI Error reported: 0
Channel 1 External PTP SOPs transmitted: 4
Channel 1 External PTP EOPs transmitted: 4
Channel 1 External MISC SOPs transmitted: 128
Channel 1 External MISC EOPs transmitted: 128
Channel 1 External SOPs received: 132
Channel 1 External EOPs received: 132
Channel 1 External PTP SOPs received: 4
Channel 1 External PTP EOPs received: 4
Channel 1 External MISC SOPs received: 128
Channel 1 External MISC EOPs received: 128
Channel 1 External Error reported: 0
Channel 1 External Timestamp Fingerprint Error reported: 0
Channel 2 eCPRI SOPs transmitted: 300
Channel 2 eCPRI EOPs transmitted: 300
Channel 2 eCPRI SOPs received: 300
Channel 2 eCPRI EOPs received: 300
Channel 2 eCPRI Error reported: 0
Channel 2 External PTP SOPs transmitted: 4
Channel 2 External PTP EOPs transmitted: 4
Channel 2 External MISC SOPs transmitted: 128
Channel 2 External MISC EOPs transmitted: 128
Channel 2 External SOPs received: 132
Channel 2 External EOPs received: 132
Channel 2 External PTP SOPs received: 4
Channel 2 External PTP EOPs received: 4
Channel 2 External MISC SOPs received: 128
Channel 2 External MISC EOPs received: 128
Channel 2 External Error reported: 0
Channel 2 External Timestamp Fingerprint Error reported: 0
Channel 3 eCPRI SOPs transmitted: 300
Channel 3 eCPRI EOPs transmitted: 300
Channel 3 eCPRI SOPs received: 300
Channel 3 eCPRI EOPs received: 300
Channel 3 eCPRI Error reported: 0
Channel 3 External PTP SOPs transmitted: 4
Channel 3 External PTP EOPs transmitted: 4
Channel 3 External MISC SOPs transmitted: 128
Channel 3 External MISC EOPs transmitted: 128
Channel 3 External SOPs received: 132
Channel 3 External EOPs received: 132
Channel 3 External PTP SOPs received: 4
Channel 3 External PTP EOPs received: 4
Channel 3 External MISC SOPs received: 128
Channel 3 External MISC EOPs received: 128
Channel 3 External Error reported: 0
Channel 3 External Timestamp Fingerprint Error reported: 0
__
INFO: Test PASSED
__
Sample Output: The following sample output illustrates a successful simulation test run of the eCPRI IP design example with IWF feature enabled with Number of Channels = 4:
Enable CPRI TX
CPRI Channel 0 L1_CONFIG : 00000001
CPRI Channel 0 CPRI_CORE_CM_CONFIG : 00001ed4
CPRI Channel 1 L1_CONFIG : 00000001
CPRI Channel 1 CPRI_CORE_CM_CONFIG : 00001ed4
CPRI Channel 2 L1_CONFIG : 00000001
CPRI Channel 2 CPRI_CORE_CM_CONFIG : 00001ed4
CPRI Channel 3 L1_CONFIG : 00000001
CPRI Channel 3 CPRI_CORE_CM_CONFIG : 00001ed4
Waiting for RX alignment
RX deskew locked
RX lane aligmnent locked
Waiting for link fault clear
Link fault clear
MAC Source Address 0_0 Channel 0: 33445566
MAC Source Address 0_1 Channel 0: 00007788
MAC Destination Address 0_0 Channel 0: 33445566
MAC Destination Address 0_1 Channel 0: 00007788
MAC Destination Address 1_0 Channel 0: 11223344
MAC Destination Address 1_1 Channel 0: 00005566
MAC Destination Address 2_0 Channel 0: 22334455
MAC Destination Address 2_1 Channel 0: 00006677
MAC Destination Address 3_0 Channel 0: 44556677
MAC Destination Address 3_1 Channel 0: 00008899
MAC Destination Address 4_0 Channel 0: 66778899
MAC Destination Address 4_1 Channel 0: 0000aabb
MAC Destination Address 5_0 Channel 0: 778899aa
MAC Destination Address 5_1 Channel 0: 0000bbcc
MAC Destination Address 6_0 Channel 0: 8899aabb
MAC Destination Address 6_1 Channel 0: 0000ccdd
MAC Destination Address 7_0 Channel 0: 99aabbcc
MAC Destination Address 7_1 Channel 0: 0000ddee
eCPRI Common Control Channel 0: 00000041
Enable interrupt eCPRI Common Control Channel 0: 00000241
eCPRI version Channel 0: 2
MAC Source Address 0_0 Channel 1: 33445566
MAC Source Address 0_1 Channel 1: 00007788
MAC Destination Address 0_0 Channel 1: 33445566
MAC Destination Address 0_1 Channel 1: 00007788
MAC Destination Address 1_0 Channel 1: 11223344
MAC Destination Address 1_1 Channel 1: 00005566
MAC Destination Address 2_0 Channel 1: 22334455
MAC Destination Address 2_1 Channel 1: 00006677
MAC Destination Address 3_0 Channel 1: 44556677
MAC Destination Address 3_1 Channel 1: 00008899
MAC Destination Address 4_0 Channel 1: 66778899
MAC Destination Address 4_1 Channel 1: 0000aabb
MAC Destination Address 5_0 Channel 1: 778899aa
MAC Destination Address 5_1 Channel 1: 0000bbcc
MAC Destination Address 6_0 Channel 1: 8899aabb
MAC Destination Address 6_1 Channel 1: 0000ccdd
MAC Destination Address 7_0 Channel 1: 99aabbcc
MAC Destination Address 7_1 Channel 1: 0000ddee
eCPRI Common Control Channel 1: 00000041
Enable interrupt eCPRI Common Control Channel 1: 00000241
eCPRI version Channel 1: 2
MAC Source Address 0_0 Channel 2: 33445566
MAC Source Address 0_1 Channel 2: 00007788
MAC Destination Address 0_0 Channel 2: 33445566
MAC Destination Address 0_1 Channel 2: 00007788
MAC Destination Address 1_0 Channel 2: 11223344
MAC Destination Address 1_1 Channel 2: 00005566
MAC Destination Address 2_0 Channel 2: 22334455
MAC Destination Address 2_1 Channel 2: 00006677
MAC Destination Address 3_0 Channel 2: 44556677
MAC Destination Address 3_1 Channel 2: 00008899
MAC Destination Address 4_0 Channel 2: 66778899
MAC Destination Address 4_1 Channel 2: 0000aabb
MAC Destination Address 5_0 Channel 2: 778899aa
MAC Destination Address 5_1 Channel 2: 0000bbcc
MAC Destination Address 6_0 Channel 2: 8899aabb
MAC Destination Address 6_1 Channel 2: 0000ccdd
MAC Destination Address 7_0 Channel 2: 99aabbcc
MAC Destination Address 7_1 Channel 2: 0000ddee
eCPRI Common Control Channel 2: 00000041
Enable interrupt eCPRI Common Control Channel 2: 00000241
eCPRI version Channel 2: 2
MAC Source Address 0_0 Channel 3: 33445566
MAC Source Address 0_1 Channel 3: 00007788
MAC Destination Address 0_0 Channel 3: 33445566
MAC Destination Address 0_1 Channel 3: 00007788
MAC Destination Address 1_0 Channel 3: 11223344
MAC Destination Address 1_1 Channel 3: 00005566
MAC Destination Address 2_0 Channel 3: 22334455
MAC Destination Address 2_1 Channel 3: 00006677
MAC Destination Address 3_0 Channel 3: 44556677
MAC Destination Address 3_1 Channel 3: 00008899
MAC Destination Address 4_0 Channel 3: 66778899
MAC Destination Address 4_1 Channel 3: 0000aabb
MAC Destination Address 5_0 Channel 3: 778899aa
MAC Destination Address 5_1 Channel 3: 0000bbcc
MAC Destination Address 6_0 Channel 3: 8899aabb
MAC Destination Address 6_1 Channel 3: 0000ccdd
MAC Destination Address 7_0 Channel 3: 99aabbcc
MAC Destination Address 7_1 Channel 3: 0000ddee
eCPRI Common Control Channel 3: 00000041
Enable interrupt eCPRI Common Control Channel 3: 00000241
eCPRI version Channel 3: 2
Waiting for CPRI achieve HSYNC link up state
CPRI Channel 0 HSYNC state achieved
CPRI Channel 1 HSYNC state achieved
CPRI Channel 2 HSYNC state achieved
CPRI Channel 3 HSYNC state achieved
11100250000 Write 1 to nego_bitrate_complete
11100650000 Polling PROT_VER Channel 0
__
11100850000 Polling register: a0000010
__
13105050000 Polling PROT_VER Channel 1
__
13105250000 Polling register: a0800010
__
13105950000 Polling PROT_VER Channel 2
__
13106150000 Polling register: a1000010
__
13106850000 Polling PROT_VER Channel 3
__
13107050000 Polling register: a1800010
__
13107750000 Write 1 to nego_protol_complete
13108150000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 0
__
13108350000 Polling register: a0000020
__
14272050000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 1
__
14272250000 Polling register: a0800020
__
14272950000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 2
__
14273150000 Polling register: a1000020
__
14273850000 Polling CM_STATUS.rx_fast_cm_ptr_valid Channel 3
__
14274050000 Polling register: a1800020
__
14274750000 Write 1 to nego_cm_complete
14275150000 Write 1 to nego_vss_complete
Waiting for CPRI Channel 0 achieve HSYNC & startup sequence FSM STATE_F
CPRI Channel 0 HSYNC & startup sequence FSM STATE_F achieved
Waiting for CPRI Channel 1 achieve HSYNC & startup sequence FSM STATE_F
CPRI Channel 1 HSYNC & startup sequence FSM STATE_F achieved
Waiting for CPRI Channel 2 achieve HSYNC & startup sequence FSM STATE_F
CPRI Channel 2 HSYNC & startup sequence FSM STATE_F achieved
Waiting for CPRI Channel 3 achieve HSYNC & startup sequence FSM STATE_F
CPRI Channel 3 HSYNC & startup sequence FSM STATE_F achieved
__
INFO: Out of reset status
__
Channel 0 eCPRI TX SOPs count : 0
Channel 0 eCPRI TX EOPs count : 0
Channel 0 eCPRI RX SOPs count : 0
Channel 0 eCPRI RX EOPs count : 0
Channel 0 External PTP TX SOPs count : 0
Channel 0 External PTP TX EOPs count : 0
Channel 0 External MISC TX SOPs count : 0
Channel 0 External MISC TX EOPs count : 0
Channel 0 External RX SOPs count : 0
Channel 0 External RX EOPs count : 0
Channel 1 eCPRI TX SOPs count : 0
Channel 1 eCPRI TX EOPs count : 0
Channel 1 eCPRI RX SOPs count : 0
Channel 1 eCPRI RX EOPs count : 0
Channel 1 External PTP TX SOPs count : 0
Channel 1 External PTP TX EOPs count : 0
Channel 1 External MISC TX SOPs count : 0
Channel 1 External MISC TX EOPs count : 0
Channel 1 External RX SOPs count : 0
Channel 1 External RX EOPs count : 0
Channel 2 eCPRI TX SOPs count : 0
Channel 2 eCPRI TX EOPs count : 0
Channel 2 eCPRI RX SOPs count : 0
Channel 2 eCPRI RX EOPs count : 0
Channel 2 External PTP TX SOPs count : 0
Channel 2 External PTP TX EOPs count : 0
Channel 2 External MISC TX SOPs count : 0
Channel 2 External MISC TX EOPs count : 0
Channel 2 External RX SOPs count : 0
Channel 2 External RX EOPs count : 0
Channel 3 eCPRI TX SOPs count : 0
Channel 3 eCPRI TX EOPs count : 0
Channel 3 eCPRI RX SOPs count : 0
Channel 3 eCPRI RX EOPs count : 0
Channel 3 External PTP TX SOPs count : 0
Channel 3 External PTP TX EOPs count : 0
Channel 3 External MISC TX SOPs count : 0
Channel 3 External MISC TX EOPs count : 0
Channel 3 External RX SOPs count : 0
Channel 3 External RX EOPs count : 0
__
INFO: Start transmitting packets
__
INFO: Waiting for the Channel 0 eCPRI TX traffic transfer to complete
INFO: Channel 0 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 0 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 0 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 0 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 0 eCPRI External TX Misc traffic transfer completed
INFO: Waiting for the Channel 1 eCPRI TX traffic transfer to complete
INFO: Channel 1 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 1 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 1 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 1 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 1 eCPRI External TX Misc traffic transfer completed
INFO: Waiting for the Channel 2 eCPRI TX traffic transfer to complete
INFO: Channel 2 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 2 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 2 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 2 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 2 eCPRI External TX Misc traffic transfer completed
INFO: Waiting for the Channel 3 eCPRI TX traffic transfer to complete
INFO: Channel 3 eCPRI TX traffic transfer completed
INFO: Waiting for the Channel 3 eCPRI External TX PTP traffic transfer to
complete
INFO: Channel 3 eCPRI External TX PTP traffic transfer completed
INFO: Waiting for the Channel 3 eCPRI External TX Misc traffic transfer to
complete
INFO: Channel 3 eCPRI External TX Misc traffic transfer completed
__
INFO: Stop transmitting packets
__
__
INFO: Checking packets statistics
__
Channel 0 eCPRI SOPs transmitted: 50
Channel 0 eCPRI EOPs transmitted: 50
Channel 0 eCPRI SOPs received: 50
Channel 0 eCPRI EOPs received: 50
Channel 0 eCPRI Error reported: 0
Channel 0 External PTP SOPs transmitted: 4
Channel 0 External PTP EOPs transmitted: 4
Channel 0 External MISC SOPs transmitted: 128
Channel 0 External MISC EOPs transmitted: 128
Channel 0 External SOPs received: 132
Channel 0 External EOPs received: 132
Channel 0 External PTP SOPs received: 4
Channel 0 External PTP EOPs received: 4
Channel 0 External MISC SOPs received: 128
Channel 0 External MISC EOPs received: 128
Channel 0 External Error reported: 0
Channel 0 External Timestamp Fingerprint Error reported: 0
Channel 1 eCPRI SOPs transmitted: 50
Channel 1 eCPRI EOPs transmitted: 50
Channel 1 eCPRI SOPs received: 50
Channel 1 eCPRI EOPs received: 50
Channel 1 eCPRI Error reported: 0
Channel 1 External PTP SOPs transmitted: 4
Channel 1 External PTP EOPs transmitted: 4
Channel 1 External MISC SOPs transmitted: 128
Channel 1 External MISC EOPs transmitted: 128
Channel 1 External SOPs received: 132
Channel 1 External EOPs received: 132
Channel 1 External PTP SOPs received: 4
Channel 1 External PTP EOPs received: 4
Channel 1 External MISC SOPs received: 128
Channel 1 External MISC EOPs received: 128
Channel 1 External Error reported: 0
Channel 1 External Timestamp Fingerprint Error reported: 0
Channel 2 eCPRI SOPs transmitted: 50
Channel 2 eCPRI EOPs transmitted: 50
Channel 2 eCPRI SOPs received: 50
Channel 2 eCPRI EOPs received: 50
Channel 2 eCPRI Error reported: 0
Channel 2 External PTP SOPs transmitted: 4
Channel 2 External PTP EOPs transmitted: 4
Channel 2 External MISC SOPs transmitted: 128
Channel 2 External MISC EOPs transmitted: 128
Channel 2 External SOPs received: 132
Channel 2 External EOPs received: 132
Channel 2 External PTP SOPs received: 4
Channel 2 External PTP EOPs received: 4
Channel 2 External MISC SOPs received: 128
Channel 2 External MISC EOPs received: 128
Channel 2 External Error reported: 0
Channel 2 External Timestamp Fingerprint Error reported: 0
Channel 3 eCPRI SOPs transmitted: 50
Channel 3 eCPRI EOPs transmitted: 50
Channel 3 eCPRI SOPs received: 50
Channel 3 eCPRI EOPs received: 50
Channel 3 eCPRI Error reported: 0
Channel 3 External PTP SOPs transmitted: 4
Channel 3 External PTP EOPs transmitted: 4
Channel 3 External MISC SOPs transmitted: 128
Channel 3 External MISC EOPs transmitted: 128
Channel 3 External SOPs received: 132
Channel 3 External EOPs received: 132
Channel 3 External PTP SOPs received: 4
Channel 3 External PTP EOPs received: 4
Channel 3 External MISC SOPs received: 128
Channel 3 External MISC EOPs received: 128
Channel 3 External Error reported: 0
Channel 3 External Timestamp Fingerprint Error reported: 0
__
INFO: Test PASSED
__
1.4.1. Enabling Dynamic Reconfiguration to the Ethernet IP
By default, the dynamic reconfiguration is disabled in the eCPRI IP design
example and it’s only applicable to Intel Stratix 10 (E-tile and H-tile) and
Intel Agilex 7 (E-tile) design examples.
- Look for the following line in the test_wrapper.sv from the generated
/simulation/testbench directory: parameter ETHERNET_DR_EN = 0 - Change the value from 0 to 1: parameter ETHERNET_DR_EN = 1
- Rerun the simulation using the same generated example design directory.
1.5. Compiling the Compilation-Only Project
To compile the compilation-only example project, follow these steps:
- Ensure compilation design example generation is complete.
- In the Intel Quartus Prime Pro Edition software, open the Intel Quartus Prime Pro Edition project
/synthesis/quartus/ ecpri_ed.qpf. - On the Processing menu, click Start Compilation.
- After successful compilation, reports for timing and for resource utilization are available in your Intel Quartus Prime Pro Edition session. Go to Processing ➤ Compilation Report to view the detailed report on compilation.
Related Information
Block-Based Design Flows
1.6. Compiling and Configuring the Design Example in Hardware
To compile the hardware design example and configure it on your Intel device,
follow these steps:
- Ensure hardware design example generation is complete.
- In the Intel Quartus Prime Pro Edition software, open the Intel Quartus Prime project
/synthesis/quartus/ecpri_ed.qpf. - On the Processing menu, click Start Compilation.
- After successful compilation, a .sof file is available in
/ synthesis/quartus/output_files directory. Follow these steps to program the hardware design example on the Intel FPGA device:
a. Connect Development Kit to the host computer.
b. Launch the Clock Control application, which is part of the development kit, and set the new frequencies for the design example. Below is the frequency setting in the Clock Control application:
• If you are targeting your design on Intel Stratix 10 GX SI Development Kit:
— U5, OUT8- 100 MHz
— U6, OUT3- 322.265625 MHz
— U6, OUT4 and OUT5- 307.2 MHz
• If you are targeting your design on Intel Stratix 10 TX SI Development Kit:
— U1, CLK4- 322.265625 MHz (For 25G data rate)
— U6- 156.25 MHz (For 10G data rate)
— U3, OUT3- 100 MHz
— U3, OUT8- 153.6 MHz
• If you are targeting your design on Intel Agilex 7 F-Series Transceiver-SoC Development Kit:
— U37, CLK1A- 100 MHz
— U34, CLK0P- 156.25 MHz
— U38, OUT2_P- 153.6 MHz
• If you are targeting your design on Intel Arria 10 GX SI Development Kit:
— U52, CLK0- 156.25 MHz
— U52, CLK1- 250 MHz
— U52, CLK3- 125 MHz
— Y5- 307.2 MHz
— Y6- 322.265625 MHz
c. On the Tools menu, click Programmer.
d. In the Programmer, click Hardware Setup.
e. Select a programming device.
f. Select and add the Development Kit to which your Intel Quartus Prime Pro Edition session can connect.
g. Ensure that Mode is set to JTAG.
h. Select the device and click Add Device. The Programmer displays a block diagram of the connections between the devices on your board.
i. Load the .sof file to your respective Intel FPGA device.
j. Load the Executable and Linking format (.elf) file to your Intel Stratix 10 or
Intel Agilex 7 device if you plan to perform the dynamic reconfiguration (DR) to switch the data rate between 25G and 10G. Follow the instructions from the Generating and Downloading the Executable and Linking Format (.elf) Programming File on page 38 to generate the .elf file.
k. In the row with your .sof, check the Program/Configure box for the .sof file.
l. Click Start.
Related Information
- Block-Based Design
- Intel Quartus Prime Programmer User Guide
- Analyzing and Debugging Designs with System Console
- Intel Agilex 7 F-Series Transceiver-SoC Development Kit User Guide
- Intel Stratix 10 GX Transceiver Signal Integrity Development Kit User Guide
- Intel Stratix 10 TX Transceiver Signal Integrity Development Kit User Guide
- Intel Arria 10 GX Transceiver Signal Integrity Development Kit User Guide
1.7. Testing the eCPRI Intel FPGA IP Design Example
After you compile the eCPRI Intel FPGA IP core design example and configure it
on your Intel FPGA device, you can use the System Console to program the IP
core and its embedded Native PHY IP core registers.
To turn on the System Console and test the hardware design example, follow
these steps:
-
After the hardware design example is configured on the Intel device, in the Intel Quartus Prime Pro Edition software, on the Tools menu, click System Debugging Tools ➤ System Console.
-
In the Tcl Console pane, change directory to
/ synthesis/quartus/hardware_test and type the following command to open a connection to the JTAG master and start the test:
• source ecpri_agilex.tcl for Intel Agilex 7 designs
• source ecpri_s10.tcl for Intel Stratix 10 designs
• source ecpri_a10.tcl for Intel Arria 10 designs -
For your Intel Stratix 10 or Intel Agilex 7 E-tile device variations, you must perform either an internal or external loopback command once after you program the .sof file:
a. Modify TEST_MODE variable in the flow.c file to select the loopback mode:TEST_MODE| Action
---|---
0| Serial loopback enable for simulation only
1| Serial loopback enable for hardware only
2| Serial loopback and calibration
3| Calibration only
You must recompile and regenerate the NIOS II software whenever you change the
flow.c file.
b. Regenerate the .elf file and program to the board one more time and
reprogram the .sof file.
- Test the design operation through the commands supported in the system console script. The system console script provides useful commands for reading statistics and features enabling in the design.
Table 4. System Console Script Commands
Command | Description |
---|---|
loop_on | Enables TX to RX internal serial loopback. Use for Intel Stratix 10 |
H-tile and Intel Arria 10 devices only.
loopoff| Disables TX to RX internal serial loopback. Use for Intel Stratix 10
H-tile and Intel Arria 10 devices only.
link init _ int 1pbk| Enables TX to RX internal serial loopback within the
transceiver and performs the transceiver calibration flow. Applicable to the
Intel Stratix 10 E-tile and Intel Agilex 7 E-tile designs only.
link init _ ext 1pbk| Enables TX to RX external loopback and performs the
transceiver calibration flow. Applicable to the Intel Stratix 10 E-tile and
Intel Agilex 7 E-tile designs only.
traffic gen disable| Disables the traffic generator and checker.
chkmac stats| Displays the statistics for the Ethernet MAC.
read test statistics| Display the error statistics for traffic generator and
checkers.
ext continuous _ mode en| Resets the entire design system, and enables the
traffic generator to generate continuous traffic packets.
dr 25g to lOg _etile| Switches the data rate of the Ethernet MAC from
25G to 10G. Use for the Intel Stratix 10 E-tile and Intel Agilex 7 E-tile
devices only.
dr_25g_to_10g_htile| Switches the data rate of the Ethernet MAC from 25G to
10G. Use for H-tile devices only
dr_10g_to_25getile| Switches the data rate of the Ethernet MAC from 10G to
25G. Use for the Intel Stratix 10 E-tile and Intel Agilex 7 E-tile devices
only.
dr 25g to lOg _htile| Switches the data rate of the Ethernet MAC from
10G to 25G. Use for H-tile devices only.
The following sample output illustrates a successful test run:
System Console Printout (Number of Channels = 1)
Channel 0 EXT PTP TX SOP Count: 256
Channel 0 EXT PTP TX EOP Count: 256
Channel 0 EXT MISC TX SOP Count: 36328972
Channel 0 EXT MISC TX EOP Count: 36369511
Channel 0 EXT RX SOP Count: 36410364
Channel 0 EXT RX EOP Count: 36449971
Channel 0 EXT Checker Errors: 0
Channel 0 EXT Checker Error Counts: 0
Channel 0 EXT PTP Fingerprint Errors: 0
Channel 0 EXT PTP Fingerprint Error Counts: 0
Channel 0 TX SOP Count: 1337760
Channel 0 TX EOP Count: 1339229
Channel 0 RX SOP Count: 1340728
Channel 0 RX EOP Count: 1342555
Channel 0 Checker Errors: 0
Channel 0 Checker Error Counts: 0
=============================================================================
ETHERNET MAC STATISTICS FOR Channel 0 (Rx)
=============================================================================
Fragmented Frames : 0
Jabbered Frames : 0
Right Size with FCS Err Frames : 0
Multicast data Err Frames : 0
Broadcast data Err Frames : 0
Unicast data Err Frames : 0
64 Byte Frames : 3641342
65 – 127 Byte Frames : 0
128 – 255 Byte Frames : 37404809
256 – 511 Byte Frames : 29128650
512 – 1023 Byte Frames : 0
1024 – 1518 Byte Frames : 0
1519 – MAX Byte Frames : 0
MAX Byte Frames : 0
Multicast data OK Frame : 70174801
Broadcast data OK Frame : 0
Unicast data OK Frames : 0
Multicast Control Frames : 0
Broadcast Control Frames : 0
Unicast Control Frames : 0
Pause Control Frames : 0
Payload Octets OK : 11505935812
Frame Octets OK : 12918701444
Rx Maximum Frame Length : 1518
Any Size with FCS Err Frame : 0
Multicast control Err Frame : 0
Broadcast control Err Frame : 0
Unicast control Err Frames : 0
Pause control Err Frames : 0
Rx Frame Starts : 70174801
The following is the sample output for the 25G to 10G DR test run:
System Console Printout (25G to 10G DR E-tile)
Initiate Dynamic Reconfiguration for Ethernet 25G -> 10G
DR Successful 25G -> 10G
RX PHY Register Access: Checking Clock Frequencies (KHz)
TXCLK :16114 (KHZ)
RXCLK :16113 (KHZ)
RX PHY Status Polling
Rx Frequency Lock Status 0x0000000f
Mac Clock in OK Condition? 0x00000001
Rx Frame Error ? 0x00000000
Rx PHY Fully Aligned? 0x00000001
Polling RX PHY Channel 0
RX PHY Channel 0 is up and running!
System Console Printout (25G to 10G DR H-tile)
Initiate Dynamic Reconfiguration for Ethernet 25G -> 10G
DR Successful 25G -> 10G
RX PHY Register Access: Checking Clock Frequencies (KHz)
TXCLK :15625 (KHZ)
RXCLK :15625 (KHZ)
RX PHY Status Polling
Rx Frequency Lock Status 0x00000001
Mac Clock in OK Condition? 0x00000007
Rx Frame Error ? 0x00000000
Rx PHY Fully Aligned? 0x00000001
Polling RX PHY Channel 0
RX PHY Channel 0 is up and running!
System Console Printout (10G to 25G DR E-tile)
Initiate Dynamic Reconfiguration for Ethernet 10G -> 25G
DR Successful 10G -> 25G
RX PHY Register Access: Checking Clock Frequencies (KHz)
TXCLK :40283 (KHZ)
RXCLK :40283 (KHZ)
RX PHY Status Polling
Rx Frequency Lock Status 0x0000000f
Mac Clock in OK Condition? 0x00000001
Rx Frame Error ? 0x00000000
Rx PHY Fully Aligned? 0x00000001
Polling RX PHY Channel 0
RX PHY Channel 0 is up and running!
System Console Printout (10G to 25G DR H-tile)
Initiate Dynamic Reconfiguration for Ethernet 10G -> 25G
DR Successful 10G -> 25G
RX PHY Register Access: Checking Clock Frequencies (KHz)
TXCLK :39061 (KHZ)
RXCLK :39063 (KHZ)
RX PHY Status Polling
Rx Frequency Lock Status 0x00000001
Mac Clock in OK Condition? 0x00000007
Rx Frame Error ? 0x00000000
Rx PHY Fully Aligned? 0x00000001
Polling RX PHY Channel 0
RX PHY Channel 0 is up and running!
Design Example Description
The design example demonstrates the basic functionality of the eCPRI IP core. You can generate the design from the Example Design tab in the eCPRI IP parameter editor.
2.1. Features
- Internal TX and RX serial loopback mode
- Automatically generates fixed size packets
- Basic packet checking capabilities
- Ability to use System Console to test the design and reset the design for re-testing purpose
2.2. Hardware Design Example
Figure 5. Block Diagram for Intel Agilex 7 F-tile Designs
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel’s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. *Other names and brands may be claimed as the property of others.
Figure 6. Block Diagram for Intel Agilex 7 E-tile Designs Figure 7. Block Diagram for Intel Stratix 10 Designs
Figure 8. Block Diagram for Intel Arria 10 Designs The eCPRI Intel FPGA IP core hardware
design example includes the following components:
eCPRI Intel FPGA IP
Accepts data from the traffic generators instantiated within the test wrapper
and prioritize the data for transmission to the Ethernet IP.
Ethernet IP
- F-tile Ethernet Intel FPGA Hard IP (Intel Agilex 7 F-tile designs)
- E-tile Hard IP for Ethernet (Intel Stratix 10 or Intel Agilex 7 E-tile designs)
- 25G Ethernet Intel Stratix 10 IP (Intel Stratix 10 H-tile designs)
- Low Latency Ethernet 10G MAC IP and 1G/10GbE and 10GBASE-KR PHY IP (Intel Arria 10 designs)
Precision Time Protocol (PTP) IO PLL
For Intel Stratix 10 H-tile designs—Instantiated to generate the latency
measurement input reference clock for the Ethernet IP and sampling clock for
Time of Day (TOD) subsystem. For 25G Ethernet Intel Stratix 10 FPGA IP with
the IEEE 1588v2 feature, Intel recommends you to set the frequency of this
clock to 156.25 MHz. Refer to the 25G Ethernet Intel Stratix 10 FPGA IP User
Guide and Intel Stratix 10 H-tile Transceiver PHY User Guide for more
information. The PTP IOPLL also generates the reference clock for the eCPRI IO
PLL in the cascading manner.
For Intel Arria 10 designs—Instantiated to generate the 312.5 MHz and 156.25
MHz clock inputs for the Low Latency Ethernet 10G MAC IP and 1G/10GbE,
10GBASE-KR PHY IP, and eCPRI IP .
eCPRI IO PLL
Generates core clock output of 390.625 MHz for the TX and RX path of the eCPRI
IP, and traffic components.
Note: This block is only present in the design example generated for
Intel Stratix 10 and Intel Agilex 7 devices.
Note: The current version of the eCPRI Intel FPGA IP only supports IWF
type 0. For Intel Agilex 7 F-tile devices, the design example enabled with IWF
feature is not supported.
When you generate the design example with Interworking Function (IWF) Support
parameter turned off, the packet traffic flows directly from the test wrapper
module to the Avalon-ST source/sink interface and external source/sink
interface of the eCPRI IP.
When you generate the design example with Interworking Function (IWF) Support
parameter turned on, the packet traffic flows to the IWF Avalon-ST sink
interface from the test wrapper module first, and coming out from IWF Avalon-
ST source interface to the eCPRI Avalon-ST source/sink interface.
CPRI MAC
Provides the CPRI part of the layer 1 and full layer 2 protocols for the
transfer of user plane, C&M, and synchronization information between REC and
RE as well as between two RE,
CPRI PHY
Provides the remaining part of CPRI layer 1 protocol for line coding, bit
error correction/detection, and etc.
Note: The CPRI MAC and CPRI PHY IP instantiated in this design example are configured to be running at single CPRI line rate 9.8 Gbps only. The design example does not support line rate auto-negotiation in the current release.
Test Wrapper
Consists of traffic generators and checkers which generates different set
of data packets to the Avalon Streaming (Avalon-ST) interfaces of the eCPRI IP
as below:
-
eCPRI packets to the Avalon-ST source/sink interfaces (IWF feature disabled):
— Only supports message type 2.
— Back-to-back mode generation with incremental pattern mode generation and payload size of 72 bytes for each packet.
— Configurable via CSR to run in either non-continuous or continuous mode.
— TX/RX packet statistic status available to access via CSR. -
eCPRI packets to the Avalon-ST source/sink interfaces (IWF feature enabled):
— Only supports message type 0 in current release.
— Incremental pattern mode generation with interpacket gap generation and payload size of 240 bytes for each packet.
— Configurable via CSR to run in either non-continuous or continuous mode.
— TX/RX packet statistic status available to access via CSR. -
Precision Time Protocol (1588 PTP) packet and non-PTP miscellaneous packets to the External source/sink interfaces:
— Static Ethernet header generation with pre-defined parameters: Ethertype0x88F7, Message type- Opcode 0 (Sync), and PTP version-0.
— Pre-defined pattern mode generation with interpacket gap of 2 cycles and payload size of 57 bytes for each packet.
— 128 packets are generated in the period of every one second.
— Configurable via CSR to run in either non-continuous or continuous mode.
— TX/RX packet statistic status available to access via CSR. -
External non-PTP miscellaneous packets:
— Static Ethernet Header generation with pre-defined parameter, Ethertype- 0x8100 (non-PTP).
— PRBS pattern mode generation with interpacket gap of 2 cycles and payload size of 128 bytes for each packet.
— Configurable via CSR to run in either non-continuous or continuous mode.
— TX/RX packet statistic status available to access via CSR.
Time of Day (TOD) subsystem
Contains two IEEE 1588 TOD modules for both TX and RX, and one IEEE 1588 TOD
Synchronizer module generated by Intel Quartus Prime software.
Nios® II Subsystem
Consists of Avalon-MM bridge that allows Avalon-MM data arbitration between
Nios II processor, test wrapper, and Avalon® -MM address decoder blocks.
Nios II is responsible to perform data rate switching based on the output from
test wrapper’s rate_switch register value. This block programs the necessary
register once it receives command from the test wrapper.
Note : This block is not present in the design example generated for
Intel Arria 10 and Intel Agilex 7 F-tile devices.
System Console
Provides a user-friendly interface for you to do first-level debugging and
monitor status of the IP, and the traffic generators and checkers.
Demo Control
This module consists of reset synchronizer modules, and In-system Source and
Probe (ISSP) modules for design system debugging and initialization process.
Related Information
- 25G Ethernet Intel Stratix 10 FPGA IP User Guide
- E-tile Hard IP User Guide
- eCPRI Intel FPGA IP User Guide
- 25G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide
- E-tile Hard IP for Intel Stratix 10 Design Examples User Guide
- Intel Stratix 10 L- and H-Tile Transceiver PHY User Guide
- E-Tile Transceiver PHY User Guide
- Intel Stratix 10 10GBASE-KR PHY IP User Guide
- E-tile Hard IP Intel Agilex Design Example User Guide
2.3. Simulation Design Example
The eCPRI design example generates a simulation testbench and simulation files
that instantiates the eCPRI Intel FPGA IP core when you select the Simulation
or Synthesis & Simulation option.
Figure 9. eCPRI Intel FPGA IP Simulation Block Diagram
Note: The Nios II Subsystem block is not present in the design example
generated for Intel Arria 10 and Intel Agilex 7 F-tile devices.
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 packets on the Avalon-ST interface.
- Receive and checks for the content and correctness of the packets.
- Display “Test PASSED” message.
2.4. Interface Signals
Table 5. Design Example Interface Signals
Signal | Direction | Description |
---|---|---|
clk_ref | Input | Reference clock for the Ethernet MAC. |
• For Intel Stratix 10 E-tile, Intel Agilex 7 E-tile and F-tile designs,
156.25 MHz clock input for the E-tile Ethernet Hard IP core or F-tile Ethernet
Hard IP core. Connect to i_clk_ref[0] in the Ethernet Hard IP.
• For Intel Stratix 10 H-tile designs, a 322.2625 MHz clock input for the
Transceiver ATX PLL and 25G Ethernet IP. Connect to pll_refclk0[0] in the
Transceiver ATX PLL and clk_ref[0] in 25G Ethernet IP.
• For Intel Arria 10 designs, a 322.265625 MHz clock input for the Transceiver
ATX PLL and 1G/ 10GbE and 10GBase-KR PHY IP. Connect to pll_refclk0[0] in the
Transceiver ATX PLL and rx_cdr_ref_clk_10g[0] in the 1G/ 10GbE and 10G BASE-KR
PHY IP.
tod_sync_sampling_clk| Input| For Intel Arria 10 designs, a 250 MHz clock
input for TOD subsystem.
clk100| Input| Management clock. This clock is used to generate latency_clk
for PTP. Drive at 100 MHz.
mgmt_reset_n| Input| Reset signal for Nios II system.
tx_serial| Output| TX serial data. Supports up to 4 channels.
rx_serial| Input| RX serial data. Supports up to 4 channels.
iwf_cpri_ehip_ref_clk| Input| E-tile CPRI PHY reference clock input. This
clock is only present in Intel Stratix 10 E-tile and Intel
Agilex 7 E-tile designs. Drive at 153.6 MHz for 9.8 Gbps CPRI line rate.
iwf_cpri_pll_refclk0| Output| CPRI TX PLL reference clock.
• For Intel Stratix 10 H-tile designs: Drive at 307.2 MHz for CPRI data rate
9.8 Gbps.
• For Intel Stratix 10 E-tile and Intel Agilex 7 E- tile designs: Drive at
156.25 MHz for CPRI data rate 9.8 Gbps.
iwf_cpri_xcvr_cdr_refclk| Output| CPRI receiver CDR reference clock. This
clock is only present in Intel Stratix 10 H-tile designs.
Drive at 307.2 MHz for 9.8 Gbps CPRI line rate.
iwf_cpri_xcvr_txdataout| Output| CPRI transmit serial data. Supports up to 4
channels.
iwf_cpri_xcvr_rxdatain| Output| CPRI receiver serial data. Supports up to 4
channels.
cpri_gmii_clk| Input| CPRI GMII 125 MHz input clock.
Related Information
PHY Interface Signals
Lists the PHY interface signals of the 25G Ethernet Intel FPGA IP.
2.5. Design Example Register Map
Below is the register mapping for the eCPRI IP core design example:
Table 6. eCPRI Intel FPGA IP Design Example Register Mapping
Address | Register |
---|---|
0x20100000 – 0x201FFFFF(2) | IOPLL Re-configuration Register. |
0x20200000 – 0x203FFFFF | Ethernet MAC Avalon-MM Register |
0x20400000 – 0x205FFFFF | Ethernet MAC Native PHY Avalon-MM Register |
0x20600000 – 0x207FFFFF(2) | Native PHY RS-FEC Avalon-MM Register. |
0x40000000 – 0x5FFFFFFF | eCPRI IP Avalon-MM Register |
0x80000000 – 0x9FFFFFFF | Ethernet Design Test Generator/Verifier Avalon-MM |
Register
Table 7. Nios II Register Mapping
The registers in below table are only available in the design example
generated for Intel Stratix 10 or Intel Agilex 7 E-tile devices.
Address | Register |
---|---|
0x00100000 – 0x001FFFFF | IOPLL Re-configuration Register |
0x00200000 – 0x003FFFFF | Ethernet MAC Avalon-MM Register |
0x00400000 – 0x005FFFFF | Ethernet MAC Native PHY Avalon-MM Register |
0x00600000 – 0x007FFFFF | Native PHY RS-FEC Avalon-MM Register |
Note: You can access the Ethernet MAC and Ethernet MAC Native PHY AVMM
registers using word offset instead of byte offset.
For detailed information on Ethernet MAC, Ethernet MAC Native PHY, and eCPRI
IP core register maps, refer to the respective user guides.
(2)Only available in design example generated for Intel Stratix 10 and Intel Agilex 7 E-tile devices.
Table 8. eCPRI Intel FPGA IP Hardware Design Example Register Map
Word Offset | Register Type | Default Value | Access Type |
---|---|---|---|
0x0 | Start Send Data: |
• Bit 1: PTP, non-PTP type
• Bit 0: eCPRI type| 0x0| RW
0x1| Continuous Packet Enable| 0x0| RW
0x2| Clear Error| 0x0| RW
0x3(3)| Rate Switch:
• Bit [7]- Indicates tile:
— 1’b0: H-tile
— 1’b1: E-tile
• Bit [6:4]- Indicates Ethernet data rate switching:
— 3’b000: 25G to 10G
— 3’b001: 10G to 25G
• Bit [0]- Switch rate enable. It’s required to set this bit 0 and poll until
bit 0 is clear for the rate switching.
Note: This register is not available for Intel Agilex 7 F-tile and Intel Arria
10 designs.| • E-tile: 0x80
• H-tile: 0x0| RW
0x4(3)| Rate Switch Done:
• Bit [1] indicates rate switching done.| 0x0| RO
0x5 (4)| System Configuration Status:
• Bit [31]: System ready
• Bit [30]: IWF_EN
• Bit [29]: STARTUP_SEQ_EN
• Bit [28:4]: Reserved
• Bit [3]: EXT_PACKET_EN
• Bit [2:0]: Reserved| 0x0| RO
0x6 (4)| CPRI Negotiation Complete:
• Bit [3:0]: Bit rate complete
• Bit [19:16]: Protocol complete| 0x0| RW
0x7 (4)| CPRI Negotiation Complete:
• Bit [3:0]: Fast C&M complete
• Bit [19:16]: Fast VSS complete| 0x0| RW
0x8 – 0x1F| Reserved.
0x20| eCPRI Error Interrupt:
• Bit [0] indicates the interrupt.| 0x0| RO
0x21| External Packets Error| 0x0| RO
0x22| External PTP Packets TX Start of Packet (SOP) Count| 0x0| RO
0x23| External PTP Packets TX End of Packet (EOP) Count| 0x0| RO
0x24| External Miscellaneous Packets TX SOP Count| 0x0| RO
0x25| External Miscellaneous Packets TX EOP Count| 0x0| RO
0x26| External RX Packets SOP Count| 0x0| RO
0x27| External RX Packets EOP Count| 0x0| RO
0x28| External Packets Error Count| 0x0| RO
0x29 – 0x2C| Reserved.
0x2D| External PTP Timestamp Fingerprint Error Count| 0x0| RO
0x2E| External PTP Timestamp Fingerprint Error| 0x0| RO
0x2F| External Rx Error Status| 0x0| RO
0x30 – 0x47| Reserved.
0x48| eCPRI Packets Error| | RO
0x49| eCPRI TX SOP Count| | RO
0x4A| eCPRI TX EOP Count| | RO
0x4B| eCPRI RX SOP Count| | RO
0x4C| eCPRI RX EOP Count| | RO
0x4D| eCPRI Packets Error Count| | RO
Related Information
-
Control, Status, and Statistics Register Descriptions
Register information for the 25G Ethernet Stratix 10 FPGA IP -
Reconfiguration and Status Register
Descriptions Register information for the E-tile Hard IP for Ethernet -
Registers
Register information for the eCPRI Intel FPGA IP
eCPRI Intel FPGA IP Design Example User Guide Archives
For the latest and previous versions of this user guide, refer to the eCPRI Intel FPGA IP Design Example User Guide HTML version. Select the version and click Download. If an IP or software version is not listed, the user guide for the previous IP or software version applies.
Document Revision History for eCPRI Intel FPGA IP Design Example User
Guide
Document Version| Intel Quartus
Prime Version| IP Version| Changes
---|---|---|---
2023.05.19| 23.1| 2.0.3| • Updated the Simulating the Design Example Testbench
section in the Quick Start Guide chapter.
• Updated the product family name to “Intel Agilex 7”.
2022.11.15| 22.3| 2.0.1| Updated instructions for VCS simulator in section:
Simulating the Design Example Testbench.
2022.07.01| 22.1| 1.4.1| • Added the hardware design example support for Intel
Agilex 7 F-tile device variations.
• Added support for the following development kits:
— Intel Agilex 7 I-Series FPGA Development Kit
— Intel Agilex 7 I-Series Transceiver-SoC Development Kit
• Added support for QuestaSim simulator.
• Removed support for ModelSim* SE simulator.
2021.10.01| 21.2| 1.3.1| • Added support for the Intel Agilex 7 F-tile
devices.
• Added support for multi-channel designs.
• Updated Table: eCPRI Intel FPGA IP Hardware Design Example Register Map.
• Removed support for NCSim simulator.
2021.02.26| 20.4| 1.3.0| • Added support for the Intel Agilex 7 E-tile
devices.
2021.01.08| 20.3| 1.2.0| • Changed the document title from eCPRI Intel Stratix
10 FPGA IP Design Example User Guide to
eCPRI Intel FPGA IP Design Example User Guide.
• Added support for Intel Arria 10 designs.
• The eCPRI IP design example is now available with interworking function
(IWF) feature support.
• Added a note to clarify that eCPRI design example with IWF feature is only
available for 9.8 Gbps CPRI
line bit rate.
• Added conditions in section Generating the Design when generating the design
example with
Interworking Function (IWF) Support parameter enabled.
• Added sample simulation test run output with IWF feature enabled in section
Simulating the Design
Example Testbench.
• Added new section Enabling Dynamic Reconfiguration to the Ethernet IP.
• Updated hardware test sample output in section
Testing the eCPRI Intel FPGA IP Design Example.
2020.06.15| 20.1| 1.1.0| • Added support for 10G data rate.
• flow.c file is now available with design example generation to select
loopback mode.
• Modified the sample output for simulation test run in section Simulating the
Design Example Testbench.
• Added frequency value for running 10G data rate design in section Compiling
and Configuring the
Design Example in Hardware.
• Made following changes in section Testing the eCPRI Intel FPGA IP Design
Example:
— Added commands to switch data rate between 10G and 25G
— Added sample output for data rate switching
— Added TEST_MODE variable information to select loopback in E-tile device
variations.
• Modified eCPRI Intel FPGA IP Hardware Design Examples High Level Block
Diagram to include new
blocks.
• Updated Table: Design Example Interface Signals to include new signal.
• Updated Design Example Register Map section.
• Added new appendix section:Generating and Downloading the Executable and
Linking Format (.elf) Programming File .
2020.04.13| 19.4| 1.1.0| Initial release.
A. Generating and Downloading the Executable and Linking Format (.elf)
Programming File
This section describes how to generate and download the .elf file to the board:
-
Change directory to
/synthesis/quatus. -
In the Intel Quartus Prime Pro Edition software, click Open Project and open
/synthesis/quartus/epri_ed.qpf. Now select Tools ➤ Nios II Software Build Tools for Eclipse.
Figure 10. Nios II Software Build Tools for Eclipse -
The Workspace Launcher window prompt appears. In the Workspace specify the path as
/synthesis/quatus to store your Eclipse project. The new Nios II – Eclipse window appears.
Figure 11. Workspace Launcher Window -
In the Nios II – Eclipse window, righ-click under Project Explorer tab, and select New ➤ Nios II Board Support Package. The new window appears.
Figure 12. Project Explorer Tab -
In the Nios II Board Support Package window:
• In the Project name parameter, specify your desired project name.
• In the SOPC Information File name parameter, browse to the location of/synthesis/ip_components/nios_system/ nios_system.sopcinfo file. Click Finish. Figure 13. Nios II Board Support Package Window![eCPRI Intel FPGA IP Design - Figure 13](https://manuals.plus/wp-content/uploads/2024/01/eCPRI-Intel-FPGA- IP-Design-Figure-13.jpg) -
The newly created project appears under Project Explorer tab in Nios II Eclipse window. Right-click under Project Explorer tab, and select Nios II ➤ Nios II Command Shell.
Figure 14. Project Explorer- Nios II Command Shell![eCPRI Intel FPGA IP Design
-
Figure 14](https://manuals.plus/wp-content/uploads/2024/01/eCPRI-Intel-FPGA- IP-Design-Figure-14.jpg)
- In the Nios II Command Shell, type the three following commands: nios2-bsp hal bsp ../../nios_system/nios_system.sopcinfo nios2-app-generate-makefile –app-dir app –bsp-dir bsp –elf-name\ nios_system.elf –src-dir ../../../ed_fw make –directory=app
- The .elf file is generated in the following location:
/ synthesis/ip_components/software/ /app. - Type the following command in the Nios II Command Shell to download the .elf to the board:
• For Intel Stratix 10: nios2-download -g -r -c 1 -d 2 –accept-bad-sysid app/nios_system.elf
• For Intel Agilex 7: nios2-download -g -r -c 1 -d 1 –accept-bad-sysid app/nios_system.elf
Online Version
Send Feedback
UG-20278
683837
2023.05.19
eCPRI Intel® FPGA IP Design Example User Guide
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>