© 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.
IPUG60_02.1, April 2014 2 SGMII and Gb Ethernet PCS IP Core User’s Guide
Chapter 1. Introduction .......................................................................................................................... 4
Quick Facts ........................................................................................................................................................... 4
Features ................................................................................................................................................................ 5
Chapter 2. Functional Description ........................................................................................................ 6
Transmit Rate Adaptation ............................................................................................................................ 8
Transmit State Machine ............................................................................................................................... 8
Soft Receive Clock Tolerance Compensation (CTC) Circuit........................................................................ 8
Synchronization State Machine.................................................................................................................... 9
Receive State Machine ................................................................................................................................ 9
Receive Rate Adaptation ............................................................................................................................. 9
Auto-Negotiation State Machine .................................................................................................................. 9
Collision Detect .......................................................................................................................................... 11
Carrier Sense ............................................................................................................................................. 12
Data Path Latency Specifications .............................................................................................................. 12
Signal Descriptions ............................................................................................................................................. 13
Chapter 3. Parameter Settings ............................................................................................................ 17
General Tab ........................................................................................................................................................ 17
(G)MII Style................................................................................................................................................ 17
RX CTC Mode............................................................................................................................................ 17
Static CTC FIFO Low Threshold ................................................................................................................ 17
Static CTC FIFO High Threshold ............................................................................................................... 18
Guidelines for Calculating Static CTC FIFO Thresholds .................................................................................... 18
Chapter 4. IP Core Generation............................................................................................................. 19
IP Core Generation in IPexpress ........................................................................................................................ 19
Licensing the IP Core................................................................................................................................. 19
Getting Started........................................................................................................................................... 19
IPexpress-Created Files and Top Level Directory Structure...................................................................... 22
Instantiating the Core ................................................................................................................................. 23
Running Functional Simulation .................................................................................................................. 25
Synthesizing and Implementing the Core in a Top-Level Design .............................................................. 25
Hardware Evaluation.................................................................................................................................. 26
Updating/Regenerating the IP Core ........................................................................................................... 26
IP Core Generation in Clarity Designer............................................................................................................... 27
Getting Started........................................................................................................................................... 27
Clarity Designer Created Files and Top Level Directory Structure ............................................................ 29
Simulation Evaluation................................................................................................................................. 30
IP Core Implementation ............................................................................................................................. 30
Regenerating an IP Core in Clarity Designer Tool ..................................................................................... 31
Recreating an IP Core in Clarity Designer Tool ......................................................................................... 32
Chapter 5. Application Support........................................................................................................... 33
SGMII-to-(G)MII Reference Design..................................................................................................................... 33
Features ..................................................................................................................................................... 33
Detailed Description ................................................................................................................................... 33
The SGMII and Gb Ethernet PCS IP Core................................................................................................. 34
PCS/SERDES ............................................................................................................................................ 34
Rate Resolution.......................................................................................................................................... 34
Control Registers ....................................................................................................................................... 34
(G)MII I/O Logic.......................................................................................................................................... 40
Signal Descriptions .................................................................................................................................... 41
Table of Contents