© 2014 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand
or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
IPUG56_02.4, April 2014 2 CPRI IP Core User’s Guide
Chapter 1. Introduction .......................................................................................................................... 4
Quick Facts ........................................................................................................................................................... 5
Features ................................................................................................................................................................ 5
Chapter 2. Functional Description ........................................................................................................ 7
Block Diagram....................................................................................................................................................... 7
General Description .............................................................................................................................................. 8
Signal Descriptions ............................................................................................................................................. 11
Timing Specifications .......................................................................................................................................... 13
CPRI Overview.................................................................................................................................................... 13
Functional Overview............................................................................................................................................ 16
User Plane IQ Data Interface ..................................................................................................................... 16
Ethernet Interface....................................................................................................................................... 18
HDLC Interface .......................................................................................................................................... 21
L1 Inband Protocol Interface ...................................................................................................................... 22
Vendor Specific Information ....................................................................................................................... 22
Start-up Sequence ..................................................................................................................................... 23
Chapter 3. Parameter Settings ............................................................................................................ 24
CPRI Configuration Dialog Box........................................................................................................................... 24
Generation Options .................................................................................................................................... 26
Eval Configuration...................................................................................................................................... 26
Programmable Parameters ................................................................................................................................. 26
Chapter 4. IP Core Generation............................................................................................................. 27
Licensing the IP Core.......................................................................................................................................... 27
Getting Started .................................................................................................................................................... 27
IPexpress-Created Files and Top Level Directory Structure............................................................................... 31
Instantiating the Core .......................................................................................................................................... 33
Running Functional Simulation ........................................................................................................................... 34
Using Aldec Active-HDL............................................................................................................................. 34
Using Mentor Graphics ModelSim ............................................................................................................. 34
Synthesizing and Implementing the Core in a Top-Level Design ....................................................................... 35
Hardware Evaluation........................................................................................................................................... 36
Enabling Hardware Evaluation in Diamond................................................................................................ 36
Updating/Regenerating the IP Core .................................................................................................................... 36
Regenerating an IP Core in Diamond ........................................................................................................ 36
Chapter 5. Application Support........................................................................................................... 40
CPRI IP Basic Configuration Top-Level Reference Design ................................................................................ 40
Test Bench ................................................................................................................................................. 40
Register Descriptions ................................................................................................................................. 41
Chapter 6. Support Resources ............................................................................................................ 45
Lattice Technical Support.................................................................................................................................... 45
E-mail Support ........................................................................................................................................... 45
Local Support ............................................................................................................................................. 45
Internet ....................................................................................................................................................... 45
IEEE........................................................................................................................................................... 45
References.......................................................................................................................................................... 45
LatticeECP3 ............................................................................................................................................... 45
ECP5.......................................................................................................................................................... 45
Revision History .................................................................................................................................................. 46
Appendix A. Resource Utilization ....................................................................................................... 47
Table of Contents