Configuration register space, Mac configuration register space, Configuration register space -1 – Altera Triple Speed Ethernet MegaCore Function User Manual

Page 84: Mac configuration register space -1

Advertising
background image

6

Configuration Register Space

2014.06.30

UG-01008

Subscribe

Send Feedback

MAC Configuration Register Space

Use the registers to configure the different aspects of the MAC function and retrieve its status and statistics
counters.

In multiport MACs, a contiguous register space is allocated for all ports and accessed via the Avalon-MM
control interface. For example, if the register space base address for the first port is 0x00, the base address
for the next port is 0x100 and so forth. The registers that are shared among the instances occupy the register
space of the first port. Updating these registers in the register space of other ports has no effect on the
configuration.

Table 6-1: Overview of MAC Register Space

Description

Section

Dword Offset

Base registers to configure the MAC function. At the minimum,
you must configure the following functions:

• Primary MAC address (

mac_0

/

mac_1

)

• Enable transmit and receive paths (

TX_ENA

and

RX_ENA

bits

in the

command_config

register)

The following registers are shared among all instances of a
multiport MAC:

rev

scratch

frm_length

pause_quant

mdio_addr0

and

mdio_addr1

tx_ipg_length

For more information about the base configuration registers,
refer to

Base Configuration Registers (Dword Offset 0x00 –

0x17)

on page 6-3.

Base Configuration

0x00 – 0x17

Counters collecting traffic statistics. For more information about
the statistics counters, refer to

Statistics Counters (Dword Offset

0x18 – 0x38)

on page 6-11.

Statistics Counters

0x18 – 0x38

ISO

9001:2008
Registered

©

2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words

and logos are trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other
words and logos identified as trademarks or service marks are the property of their respective holders as described at

www.altera.com/common/legal.html

. Altera warrants performance of its semiconductor products to current specifications in accordance with

Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera 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 Altera. Altera 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.

www.altera.com

101 Innovation Drive, San Jose, CA 95134

Advertising