Features ................................................................................................................................................................ 6
System Block Diagrams ...................................................................................................................................... 11
Core Signal Descriptions..................................................................................................................................... 14
MAC Address Register {0,1,2} (R/W), Set of Three ................................................................................... 28
Transmit and Receive Status (RO) ............................................................................................................ 28
VLAN Tag (RO).......................................................................................................................................... 28
GMII Management Register Access Control (R/W) ................................................................................... 29
GMII Management Access Data (R/W)...................................................................................................... 29
Multicast Tables (R/W), Set of Eight .......................................................................................................... 29
Chapter 4. IP Core Generation and Evaluation .................................................................................. 39
IP Core Generation in IPexpress ........................................................................................................................ 39
Licensing the IP Core................................................................................................................................. 39
Getting Started ........................................................................................................................................... 39
or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
IPUG51_3.3, April 2015
2
Tri-Speed Ethernet MAC User’s Guide
Table of Contents
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
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
Enabling Hardware Evaluation in Diamond:............................................................................................... 51
Updating/Regenerating the IP Core .................................................................................................................... 51
Regenerating an IP Core in Diamond ........................................................................................................ 51
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
ECP5 Family Data Sheet ............................................................................................................ 64
Revision History .................................................................................................................................................. 65
Appendix H. Resource Utilization ....................................................................................................... 67
Ordering Part Number................................................................................................................................ 67
Ordering Part Number................................................................................................................................ 67
Ordering Part Number................................................................................................................................ 68
Ordering Part Number................................................................................................................................ 68
IPUG51_3.3, April 2015
4
Tri-Speed Ethernet MAC User’s Guide
Chapter 1:
Introduction
This document provides technical information about the Lattice 10/100/1G Tri-Speed Ethernet Media Access Con-
troller (TSMAC) IP core.
The TSMAC IP core supports the ability to transmit and receive data between a host processor and an Ethernet
network. The main function of the Ethernet MAC is to ensure that the Media Access rules specified in the 802.3
IEEE standard are met while transmitting a frame of data over Ethernet. On the receiving side, the Ethernet MAC
extracts the different components of a frame and transfers them to higher applications through the FIFO interface.
The TSMAC IP core comes with the following documentation and files:
• Protected netlist/database
• Behavioral RTL simulation model
• Source files for instantiating and evaluating the core
Quick Facts
Table 1-1 gives quick facts about the TSMAC IP core.
Table 1-1. TSMAC IP Core Quick Facts
TSMAC IP Configuration
Across All IP Configurations (Classic, Gigabit, SGMII, MIIM)
[size=5] What is the difference between using gdb directly to debug a program and using gdb+gdbserver to debug a program remotely? What are the advantages and disadvantages? [/size] [size=5] Can someo...
Teclast x19+MP3, when connected to the computer, it shows that the USB is connected, and when the removable disk is opened, it shows that please insert the disk into the drive. It also does not work w...
This is a program for saving the encoder after power failure. It uses stc11f02e. The high and low levels of P3.7 are used to determine whether it is reading or erasing. As a result, after power failur...
I use STM32F103RBT6 with an external L298N chip to drive a 12V, 1.5A air pump. I don't know how to use PWM to control the speed of this air pump? Thank you everyone...
I've been working on a taximeter recently. I've encountered many problems with other programs. I'd like to ask for your help in solving them! The question is this: 1. Basic requirements: Daytime taxi ...
1. Use a Bluetooth chip to output PWM signal to control GP8101 to output 0-10V analog voltage. The circuit is shown in the figure below:2. The hardware circuit of the actual application is shown in th...
introduction
1 The significance of using RTOS on MSP430
It is understandable that it is meaningless to use RTOS on MSP430. Because the hardware resources of MSP430 are limited (for exampl...[Details]
1. Introduction
RFID (radio frequency identification) is a non-contact automatic identification technology that emerged in the 1990s. It uses the characteristics of radio frequency signal prop...[Details]
This article discusses how to wake up a touch-sensitive device such as a tablet without touching the device, using basic gesture recognition and novel proximity sensors. The article discusses the p...[Details]
Microcontrollers (MCUs), which are widely used in automotive electronics, are rapidly facing time and cost pressures. The main advantage of using MCUs has always been to create high-level system in...[Details]
The Portable Digital Data Acquisition System (PDDAS) uses LabVIEW Real-Time and PXI to control the wind tunnel test and record air pressure data from 128 different channels.
"The LabVIEW Real-...[Details]
As LEDs continue to improve in almost every aspect of performance and cost, LED lighting is being used in an increasingly wide range of applications, among which LED street lights are a focus of in...[Details]
Electronic systems are located at different points on the automotive power bus and therefore often need to operate under very stringent power requirements. These include load dump, cold crank, very lo...[Details]
My colleague and I spent the day chatting in the hotel bar. We had met with several customers. We were both wondering how come these engineers we were meeting knew almost nothing about analog techn...[Details]
With the continuous improvement of the requirements of intelligent building security systems and the continuous improvement of people's safety awareness, indoor anti-theft has gradually attracted peop...[Details]
A multi-point temperature control heating control system was designed using the SST89E564RC single-chip microcomputer and a new temperature measuring device. The heating system can be controlled in...[Details]
my country is a big country in agriculture, grain production and consumption. Grains are a necessary condition for our nation to survive and develop. The flour processing industry will exist forever w...[Details]
1. Introduction
Testing the temperature of steel billets before rolling is an important measure to ensure the quality of steel. Traditional manual testing is difficult to ensure product qu...[Details]
LED lamps and bulbs are now rapidly replacing incandescent, halogen and CFL (compact fluorescent lamp) light sources in many general lighting applications. Flyback DC/DC converters are the power su...[Details]
In the analysis of electronic circuits, static analysis (also known as DC analysis) is the basis of circuit analysis. However, it is well known that electronic components are nonlinear, so the anal...[Details]
RS-422 and RS-485 are both serial data interface standards, which were developed and published by the Electronic Industries Association (EIA). RS-422 defines a balanced communication interface with a ...[Details]