Table of Contents
IPUG51_3.3, April 2015 3 Tri-Speed Ethernet MAC User’s Guide
IPexpress-Created Files and Top Level Directory Structure...................................................................... 41
Instantiating the Core ................................................................................................................................. 42
IP Core Generation in Clarity Designer............................................................................................................... 43
Getting Started........................................................................................................................................... 43
Clarity Designer Created Files and Top Level Directory Structure ............................................................ 45
Simulation Evaluation................................................................................................................................. 47
IP Core Implementation ............................................................................................................................. 47
Regenerating/Recreating the IP Core ........................................................................................................ 48
Regenerating an IP Core in Clarity Designer Tool ..................................................................................... 48
Recreating an IP Core in Clarity Designer Tool ......................................................................................... 48
Running Functional Simulation ........................................................................................................................... 49
Synthesizing and Implementing the Core in a Top-Level Design ....................................................................... 50
Using Project Files With Synplify in Diamond ............................................................................................ 50
Hardware Evaluation........................................................................................................................................... 51
Enabling Hardware Evaluation in Diamond:............................................................................................... 51
Updating/Regenerating the IP Core .................................................................................................................... 51
Regenerating an IP Core in Diamond ........................................................................................................ 51
Chapter 5. Application Support........................................................................................................... 52
Test Application Design ...................................................................................................................................... 52
The Test Logic Module............................................................................................................................... 53
The ORCAstra to Host Bus/USI module .................................................................................................... 53
The Register Interface Module................................................................................................................... 53
TSMAC Support Logic ............................................................................................................................... 53
Simulation of the Test Application.............................................................................................................. 53
Test Application Registers ......................................................................................................................... 55
Register Descriptions .......................................................................................................................................... 56
Version/Identification (RO) ......................................................................................................................... 56
Test Control Register (R/W)....................................................................................................................... 56
Test Control Register 2 (R/W).................................................................................................................... 56
MAC Control Register (R/W)...................................................................................................................... 57
Pause Timer Register - Low Byte (R/W) .................................................................................................... 57
Pause Timer Register - High Byte (R/W) ................................................................................................... 57
FIFO Almost Full Threshold Register - Low (R/W)..................................................................................... 58
FIFO Almost Full Threshold Register - High (R/W).................................................................................... 58
FIFO Almost Empty Threshold Register - Low (R/W) ................................................................................58
FIFO Almost Full Threshold Register - High (R/W).................................................................................... 58
RX Status Register (RO/COR)................................................................................................................... 58
TXSTATUS (RO/COR)............................................................................................................................... 59
Code Listing for Multicast Bit Selection Hash Algorithm in C Language............................................................. 61
Chapter 6. Core Validation................................................................................................................... 63
Chapter 7. Support Resources ............................................................................................................ 64
Lattice Technical Support.................................................................................................................................... 64
IEEE........................................................................................................................................................... 64
References.......................................................................................................................................................... 64
LatticeECP3 ............................................................................................................................................... 64
ECP5.......................................................................................................................................................... 64
DS1044, ECP5 Family Data Sheet ............................................................................................................ 64
Revision History .................................................................................................................................................. 65
Appendix H. Resource Utilization ....................................................................................................... 67
LatticeECP3 FPGAs............................................................................................................................................ 67
Ordering Part Number................................................................................................................................ 67
ECP5 (LFE5U) FPGAs........................................................................................................................................ 67
Ordering Part Number................................................................................................................................ 67