ETC MVTX2803A

MVTX2803AG
8-Port 1000 Mbps Ethernet Distributed
Switch
Data Sheet
Features
•
•
•
•
•
•
•
•
•
•
DS5750
Eight Gigabit Ports with GMII and PCS interface
Gigabit Port can also support 100/10 Mbps MII
interface
Two Gigabit ports can be aggregated into a
2Gbps Stacking port working with VTX2600 in
stacking mode.
High Performance Layer 2 Packet Forwarding
(11.904M packets per second) and Filtering at
Full-Wire Speed
Maximum throughput is 8 Gbps non-blocking
Centralized shared-memory architecture
Consists of two Memory Domains at 133 MHz
Frame Buffer Domain: Two banks of ZBT-SRAM
with 2M/4MB total
Switch Database Domain with 256K/512K SRAM
Up to 64K MAC addresses to provide large node
aggregation in wiring closet switches
•
•
Classify traffic into 8 transmission priorities per
port
Supports Delay bounded, Strict Priority and WFQ
MVTX2803
MVTX2803AG 596 Pin BGA
-40°C to 85°C
•
•
•
•
•
•
Provides 2 level dropping precedence with
WRED mechanism
User controlled thresholds for WRED
Classification based on layer 2, 3 markings
VLAN Priority field in VLAN tagged frame
DS/TOS field in IP packet
The precedence of above two classifications can
be programmable
QoS Support
•
Supports IEEE 802.1p/Q Quality of Service with
8 Priority
Buffer Management: reserve buffers on per class
and per port basis
SRAM 256/512K
SW Database
MAC Table
Frame Data Buffer B
ZBT-SRAM (1M/2Mb)
Frame Data Buffer A
ZBT-SRAM (1M/2Mb)
64-Bit
July 2002
Ordering Information
•
Traffic Classification
Issue 1
64-Bit
32-Bit
SDB Interface
FDB Interface
LED
Frame
Engine
Search
Engine
NM
Database
Schedule
Management
Module
GMII
/PCS
Port 0
GMII
/PCS
Port 1
GMII
/PCS
Port 2
GMII
/PCS
Port 3
GMII
/PCS
Port 4
GMII
/PCS
Port 5
GMII
/PCS
Port 6
GMII
/PCS
Port 7
Serial /
I2 C
Figure 1 - MVTX2803AG Block Diagram
SEMICMF.019
1
MVTX2803AG
•
•
•
•
•
•
•
•
•
•
•
Data Sheet
Port-based Priority: VLAN Priority with Tagged frame can be overwritten by the priority of PVID
QoS features can be configured on a per port basis
Full Duplex Ethernet IEEE 802.3x Flow Control
Provides Ethernet Multicast and Broadcast Control
4 Port Trunking groups, max of 3 ports per group (Trunking can be based on source MAC and/or
destination MAC and source port)
LED signals provided by a serial or parallel interface
Synchronous Serial Interface and I2C interface in unmanaged mode.
Hardware auto-negotiation through serial management interface (MDIO) for Gigabit Ethernet ports,
supports 10/100/1000 Mbps
BIST for internal and external SRAM-ZBT
I2C EEPROM or synchronous serial port for configuration
Packaged in 596-pin BGA
Description
The MVTX2800AG family is a group of 8-port 1000 Mbps non-blocking Ethernet switch chips with on-chip
address memory. A single chip provides a maximum of eight 1000 Mbps ports and a dedicated CPU interface
with a 16/8 bit bus for managed and unmanaged switch applications. The VTX2800 family consists of the
following four products:
•
•
•
•
VTX2804 8 Gigabit ports Managed
VTX2803 8 Gigabit ports Unmanaged
VTX2802 4 Gigabit ports Managed
VTX2801 4 Gigabit ports Unmanaged
The MVTX2803AG supports up to 64K MAC addresses to aggregate traffic from multiple wiring closet stacks.
The centralized shared-memory architecture allows a very high performance packet-forwarding rate of
11.904M packets per second at full wire speed. The chip is optimized to provide a low-cost, high performance
workgroup, and wiring closet, layer 2 switching solution with 8 Gigabit Ethernet ports.
Two Frame Buffer Memory domains utilize cost effective, high–performance ZBT-SRAM with aggregated
bandwidth of 16Gbps to support full wire speed on all external ports simultaneously.
With Strict priority, Delay Bounded, and WRR transmission scheduling, plus WRED memory congestion
scheme, the chip provides powerful QoS functions for convergent network multimedia and mission-critical
applications. The chip provides 8 transmission priorities and 2 level drop precedence. Traffic is assigned its
transmission priority and dropping precedence based on the frame VLAN Tag priority.
The MVTX2803AG supports port trunking/load sharing on the 1000 Mbps ports with fail-over capability. The
port trunking/load sharing can be used to group ports between interlinked switches to increase the effective
network bandwidth.
In full-duplex mode, IEEE 802.3x flow control is provided. The Physical Coding Sublayer (PCS) is integrated
on-chip to provide a direct 10-bit GMII interface, or the PCS can be bypassed to provide an interface to existing
fiber-based Gigabit Ethernet transceivers.
The MVTX2803AG is fabricated using 0.25µm technology. Inputs, however, are 3.3V tolerant and the outputs
are capable of directly interfacing to LVTTL levels. The MVTX2803AG is packaged in a 596-pin Ball Grid Array
package.
2
SEMICMF.019
MVTX2803AG
Data Sheet
Table of Contents
1.0 Block Functionality ............................................................................................................. 5
1.1 Frame Data Buffer (FDB) Interfaces .............................................................................................................5
1.2 Switch Database (SDB) Interface..................................................................................................................5
1.3 GMII/PCS MAC Module (GMAC) .................................................................................................................5
1.4 Frame Engine ...............................................................................................................................................5
1.5 Search Engine ..............................................................................................................................................5
1.6 LED Interface ................................................................................................................................................5
1.7 Internal Memory ...........................................................................................................................................5
2.0 System Configuration......................................................................................................... 5
2.1 I2C Interface ..................................................................................................................................................5
2.1.1 Start Condition .....................................................................................................................................6
2.1.2 Address................................................................................................................................................6
2.1.3 Data Direction ......................................................................................................................................6
2.1.4 Acknowledgment .................................................................................................................................6
2.1.5 Data .....................................................................................................................................................6
2.1.6 Stop Condition .....................................................................................................................................6
2.2 Synchronous Serial Interface ........................................................................................................................6
2.2.1 Write Command ...................................................................................................................................7
2.2.2 Read Command...................................................................................................................................7
3.0 Data Forwarding Protocol .................................................................................................. 7
3.1 Unicast Data Frame Forwarding ...................................................................................................................7
3.2 Multicast Data Frame Forwarding ................................................................................................................8
4.0 Memory Interface ................................................................................................................ 8
4.1 Overview ......................................................................................................................................................8
4.2 Detailed Memory Information ........................................................................................................................9
5.0 Search Engine ..................................................................................................................... 9
5.1 Search Engine Overview ..............................................................................................................................9
5.2 Basic Flow .....................................................................................................................................................9
5.3 Search, Learning, and Aging.......................................................................................................................10
5.3.1 MAC Search ......................................................................................................................................10
5.3.2 Learning .............................................................................................................................................10
5.3.3 Aging..................................................................................................................................................10
5.3.4 Data Structure....................................................................................................................................10
6.0 Frame Engine .................................................................................................................... 10
6.1 Data Forwarding Summary ........................................................................................................................10
6.2 Frame Engine Details..................................................................................................................................11
6.2.1 FCB Manager ....................................................................................................................................11
6.2.2 Rx Interface .......................................................................................................................................11
6.2.3 RxDMA ..............................................................................................................................................11
6.2.4 TxQ Manager .....................................................................................................................................11
6.3 Port Control .................................................................................................................................................11
6.4 TxDMA ........................................................................................................................................................11
7.0 Quality of Service and Flow Control ............................................................................... 11
7.1 Model ..........................................................................................................................................................11
7.2 Four QoS Configurations.............................................................................................................................13
7.3 Delay Bound................................................................................................................................................13
7.4 Strict Priority and Best Effort .......................................................................................................................13
7.5 Weighted Fair Queuing ...............................................................................................................................14
SEMICMF.xxx
i
MVTX2803AG
Data Sheet
7.6 Shaper .................................................................................................................................................. 14
7.7 WRED Drop Threshold Management Support .................................................................................... 14
7.8 Buffer Management .............................................................................................................................. 15
7.8.1 Dropping When Buffers Are Scarce ............................................................................................ 16
7.9 MVTX2803AG Flow Control Basics...................................................................................................... 16
7.9.1 Unicast Flow Control................................................................................................................... 17
7.9.2 Multicast Flow Control................................................................................................................. 17
7.10 Mapping to IETF Diffserv Classes ...................................................................................................... 17
8.0 Port Trunking............................................................................................................... 18
8.1 Features and Restrictions .................................................................................................................... 18
8.2 Unicast Packet Forwarding .................................................................................................................. 18
8.3 Multicast Packet Forwarding ................................................................................................................ 19
8.4 Preventing Multicast Packets from Looping Back to the Source Trunk................................................ 19
9.0 LED Interface .............................................................................................................. 19
9.1 Introduction .......................................................................................................................................... 19
9.2 Serial Mode .......................................................................................................................................... 19
9.3 Parallel Mode........................................................................................................................................ 20
9.4 LED Control Registers.......................................................................................................................... 20
10.0 Register Definition .................................................................................................... 21
10.1 MVTX2803AG Register Description ................................................................................................... 21
10.2 Group 0 Address - MAC Ports Group................................................................................................. 29
10.2.1 ECR1Pn: Port N Control Register ............................................................................................. 29
10.2.2 ECR2Pn: Port N Control Register ............................................................................................. 31
10.2.3 ECRMISC1 – CPU Port Control Register MISC1 ..................................................................... 32
10.2.4 ECRMISC2 – CPU Port Control Register MISC2 ..................................................................... 32
10.2.5 GGControl 0– Extra GIGA Port Control ....................................................................................32
10.2.6 GGControl 1– Extra GIGA Port Control ....................................................................................33
10.2.7 GGControl 2– Extra GIGA Port Control ....................................................................................33
10.2.8 GGControl 3– Extra GIGA Port Control ....................................................................................34
10.3 Group 1 Address - VLAN Group......................................................................................................... 35
10.3.1AVTCL – VLAN Type Code Register Low ................................................................................. 35
10.3.2 AVTCH – VLAN Type Code Register High ............................................................................... 35
10.3.3 PVMAP00_0 – Port 00 Configuration Register 0 ...................................................................... 35
10.3.4 PVMAP00_1 – Port 00 Configuration Register 1 ...................................................................... 35
10.3.5 PVMAP00_2 – Port 00 Configuration Register 2 ...................................................................... 36
10.3.6 PVMAP00_3 – Port 00 Configuration Register 3 ...................................................................... 36
10.3.7 PVMODE .................................................................................................................................. 37
10.4 Group 2 Address - Port Trunking Group............................................................................................. 37
10.4.1 TRUNK0 – Trunk group 0 Member (Managed Mode Only) ...................................................... 37
10.4.2 TRUNK1 – Trunk group 1 Member (Managed Mode Only) ...................................................... 38
10.4.3 TRUNK2– Trunk group 2 Member (Managed Mode Only) ....................................................... 38
10.4.4 TRUNK3– Trunk group 3 Member (Managed Mode Only) ....................................................... 38
10.4.5 TRUNK_HASH_MODE – Trunk hash mode ............................................................................. 38
10.4.6 TRUNK0_MODE – Trunk group 0 and 1 mode ........................................................................ 38
10.4.7 TRUNK0_HASH0 – Trunk group 0 hash result 0,1,2 destination port number ......................... 38
10.4.8 TRUNK0_HASH1 – Trunk group 0 hash result 2,3,4,5 destination port number ...................... 39
10.4.9 TRUNK0_HASH2 – Trunk group 0 hash result 5,6,7 destination port number ......................... 39
10.4.10 TRUNK0_HASH3 – Trunk group 0 hash result 8,9,10 destination port number ..................... 39
10.4.11 TRUNK0_HASH4 – Trunk group 0 hash result 10,11,12,13 destination port number ............ 39
10.4.12 TRUNK0_HASH5 – Trunk group 0 hash result 13,14,15 destination port number ................. 39
10.4.13 TRUNK1_MODE – Trunk group 1 mode (Unmanaged Mode) ............................................... 39
10.4.14 TRUNK1_HASH0 – Trunk group 1 hash result 0, 1, 2 destination port number ..................... 39
ii
SEMICMF.xxx
Data Sheet
MVTX2803AG
10.4.15 TRUNK1_HASH1 – Trunk group 1 hash result 2, 3, 4, 5 destination port number........................40
10.4.16 TRUNK1_HASH2 – Trunk group 1 hash result 5, 6, 7 destination port number............................40
10.4.17 TRUNK1_HASH3 – Trunk group 1 hash result 8, 9, 10 destination port number..........................40
10.4.18 TRUNK1_HASH4– Trunk group 1 hash result 11, 12, 13 destination port number ......................40
10.4.19 TRUNK1_HASH5 – Trunk group 1 hash result 13, 14, 15 destination port number .....................40
10.4.20 TRUNK2_HASH0 – Trunk group 2 hash result 0, 1, 2 destination port number............................40
10.4.21 TRUNK2_HASH1 – Trunk group 2 hash result 2, 3, 4, 5 destination port number........................40
10.4.22 TRUNK2_HASH2 – Trunk group 2 hash result 5, 6, 7 destination port number............................40
10.4.23 TRUNK2_HASH3 – Trunk group 2 hash result 8, 9, 10 destination port number..........................40
10.4.24 TRUNK2_HASH4 – Trunk group 2 hash result 10, 11, 12, 13 destination port number................40
10.4.25 TRUNK2_HASH5 – Trunk group 2 hash result 13, 14, 15 destination port number......................40
10.4.26 TRUNK3_HASH0 – Trunk group 3 hash result 0, 1, 2 destination port number............................41
10.4.27 TRUNK3_HASH1 – Trunk group 3 hash result 2, 3, 4, 5 destination port number........................41
10.4.28 TRUNK3_HASH2 – Trunk group 3 hash result 5, 6, 7 destination port number............................41
10.4.29 TRUNK3_HASH3 – Trunk group 3 hash result 8, 9, 10 destination port number..........................41
10.4.30 TRUNK3_HASH4 – Trunk group 3 hash result 10, 11, 12, 13 destination port number................41
10.4.31 TRUNK3_HASH5 – Trunk group 3 hash result 13, 14, 15 destination port number......................41
10.4.32 Multicast Hash Registers ...............................................................................................................41
10.4.33 Multicast_HASH00 – Multicast hash result0 mask byte [7:0].........................................................41
10.4.34 Multicast_HASH01 – Multicast hash result1 mask byte [7:0].........................................................41
10.4.35 Multicast_HASH02 – Multicast hash result2 mask byte [7:0].........................................................41
10.4.36 Multicast_HASH03 – Multicast hash result3 mask byte [7:0].........................................................42
10.4.37 Multicast_HASH04 – Multicast hash result4 mask byte [7:0]........................................................42
10.4.38 Multicast_HASH05 – Multicast hash result5 mask byte [7:0].........................................................42
10.4.39 Multicast_HASH06 – Multicast hash result6 mask byte [7:0].........................................................42
10.4.40 Multicast_HASH07 – Multicast hash result7 mask byte [7:0].........................................................42
10.4.41 Multicast_HASH08 – Multicast hash result8 mask byte [7:0].........................................................42
10.4.42 Multicast_HASH09 – Multicast hash result9 mask byte [7:0].........................................................42
10.4.43 Multicast_HASH10 – Multicast hash result10 mask byte [7:0].......................................................42
10.4.44 Multicast_HASH11 – Multicast hash result11 mask byte [7:0].......................................................43
10.4.45 Multicast_HASH12 – Multicast hash result12 mask byte [7:0].......................................................43
10.4.46 Multicast_HASH13 – Multicast hash result13 mask byte [7:0].......................................................43
10.4.47 Multicast_HASH14 – Multicast hash result14 mask byte [7:0].......................................................43
10.4.48 Multicast_HASH15 – Multicast hash result15 mask byte [7:0].......................................................43
10.4.49 Multicast_HASHML – Multicast hash bit[8] for result7-0................................................................43
10.4.50 Multicast_HASHMH – Multicast hash BIT[8] for result 15-8 ..........................................................43
10.5 Group 3 Address - CPU Port Configuration Group ...................................................................................43
10.5.1 MAC0 – CPU Mac address byte 0 ...................................................................................................43
10.5.2 MAC1 – CPU Mac address byte 1 ...................................................................................................44
10.5.3 MAC2 – CPU Mac address byte 2 ...................................................................................................44
10.5.4 MAC3 – CPU Mac address byte 3 ...................................................................................................44
10.5.5 MAC4 – CPU Mac address byte 4 ...................................................................................................44
10.5.6 MAC5 – CPU Mac address byte 5 ...................................................................................................44
10.5.7 INT_MASK0 – Interrupt Mask 0 .......................................................................................................44
10.5.8 INT_MASK1 – Interrupt Mask 1 .......................................................................................................44
10.5.9 INT_STATUS0 – Masked Interrupt Status Register0 ......................................................................44
10.5.10 INT_STATUS1 – Masked Interrupt Status Register1 ....................................................................44
10.5.11 INTP_MASK0 – Interrupt Mask for MAC Port 0,1..........................................................................44
10.5.12 INTP_MASK1 – Interrupt Mask for MAC Port 2,3..........................................................................44
10.5.13 INTP_MASK4 – Interrupt Mask for MAC Port 4,5..........................................................................45
10.5.14 INTP_MASK5 – Interrupt Mask for MAC Port 6,7..........................................................................45
10.5.15 RQS – Receive Queue Select .......................................................................................................45
10.5.16 RQSS – Receive Queue Status.....................................................................................................45
10.5.17 TX_AGE – Tx Queue Aging timer..................................................................................................45
SEMICMF.xxx
iii
MVTX2803AG
Data Sheet
10.6 Group 4 Address - Search Engine Group........................................................................................... 45
10.6.1 AGETIME_LOW – MAC address aging time Low..................................................................... 45
10.6.2 AGETIME_HIGH –MAC address aging time High .................................................................... 45
10.6.3 V_AGETIME – VLAN to Port aging time ................................................................................... 46
10.6.4 SE_OPMODE – Search Engine Operation Mode .................................................................... 46
10.6.5 SCAN – SCAN Control Register ............................................................................................... 46
10.7 Group 5 Address - Buffer Control/QOS Group ................................................................................... 46
10.7.1 FCBAT – FCB Aging Timer....................................................................................................... 46
10.7.2 QOSC – QOS Control............................................................................................................... 47
10.7.3 FCR – Flooding Control Register ..............................................................................................47
10.7.4 AVPML – VLAN Priority Map .................................................................................................... 48
10.7.5 AVPMM – VLAN Priority Map ................................................................................................... 48
10.7.6 AVPMH – VLAN Priority Map.................................................................................................... 49
10.7.7 OSPML – TOS Priority Map ...................................................................................................... 49
10.7.8 TOSPMM – TOS Priority Map................................................................................................... 49
10.7.9 TOSPMH – TOS Priority Map ................................................................................................... 50
10.7.10 AVDM – VLAN Discard Map ................................................................................................... 50
10.7.11 TOSDML – TOS Discard Map ................................................................................................ 50
10.7.12 BMRC - Broadcast/Multicast Rate Control.............................................................................. 51
10.7.13 UCC – Unicast Congestion Control ........................................................................................ 52
10.7.14 MCC – Multicast Congestion Control ...................................................................................... 52
10.7.15 PRG – Port Reservation for Giga ports................................................................................... 52
10.7.16 SFCB – Share FCB Size......................................................................................................... 53
10.7.17 C2RS – Class 2 Reserved Size ..............................................................................................53
10.7.18 C3RS – Class 3 Reserved Size ..............................................................................................53
10.7.19 C4RS – Class 4 Reserved Size ..............................................................................................54
10.7.20 C5RS – Class 5 Reserved Size ..............................................................................................54
10.7.21 C6RS – Class 6 Reserved Size ..............................................................................................54
10.7.22 C7RS – Class 7 Reserved Size ..............................................................................................54
10.7.23 QOSC00 – BYTE_C2_G0....................................................................................................... 55
10.7.24 QOSC01 – BYTE_C3_G0....................................................................................................... 55
10.7.25 QOSC02 – BYTE_C4_G0....................................................................................................... 55
10.7.26 QOSC03 – BYTE_C5_G0....................................................................................................... 55
10.7.27 QOSC04 – BYTE_C6_G0....................................................................................................... 55
10.7.28 QOSC05 – BYTE_C7_G0....................................................................................................... 56
10.7.29 QOSC06 – BYTE_C2_G1....................................................................................................... 56
10.7.30 QOSC07 – BYTE_C3_G1....................................................................................................... 56
10.7.31 QOSC08 – BYTE_C4_G1....................................................................................................... 56
10.7.32 QOSC09 – BYTE_C5_G1....................................................................................................... 56
10.7.33 QOSC0A – BYTE_C6_G1 ...................................................................................................... 57
10.7.34 QOSC0B – BYTE_C7_G1 ...................................................................................................... 57
10.7.35 QOSC0C – BYTE_C2_G2 ...................................................................................................... 57
10.7.36 QOSC0D – BYTE_C3_G2 ...................................................................................................... 57
10.7.37 QOSC0E – BYTE_C4_G2 ...................................................................................................... 57
10.7.38 OSC0F – BYTE_C5_G2 ......................................................................................................... 58
10.7.39 QOSC10 – BYTE_C6_G2....................................................................................................... 58
10.7.40 QOSC11 – BYTE_C7_G2....................................................................................................... 58
10.7.41 QOSC12 – BYTE_C2_G3....................................................................................................... 58
10.7.42 QOSC13 – BYTE_C3_G3....................................................................................................... 59
10.7.43 QOSC14 – BYTE_C4_G3....................................................................................................... 59
10.7.44 QOSC15 – BYTE_C5_G3....................................................................................................... 59
10.7.45 QOSC16 – BYTE_C6_G3....................................................................................................... 59
10.7.46 QOSC17 – BYTE_C7_G3....................................................................................................... 59
iv
SEMICMF.xxx
Data Sheet
MVTX2803AG
10.7.47 QOSC18 – BYTE_C2_G4 .............................................................................................................60
10.7.48 QOSC019 – BYTE_C3_G4 ...........................................................................................................60
10.7.49 QOSC1A – BYTE_C4_G4 .............................................................................................................60
10.7.50 QOSC1B – BYTE_C5_G4 .............................................................................................................60
10.7.51 QOSC1C – BYTE_C6_G4 .............................................................................................................60
10.7.52 QOSC1D– BYTE_C7_G4 ..............................................................................................................61
10.7.53 QOSC1E– BYTE_C2_G5 ..............................................................................................................61
10.7.54 QOSC1F – BYTE_C3_G5 .............................................................................................................61
10.7.55 QOSC20 – BYTE_C4_G5 .............................................................................................................61
10.7.56 QOSC21 – BYTE_C5_G5 .............................................................................................................61
10.7.57 QOSC22 – BYTE_C6_G5 .............................................................................................................62
10.7.58 QOSC23 – BYTE_C7_G5 .............................................................................................................62
10.7.59 QOSC24 – BYTE_C2_G6 .............................................................................................................62
10.7.60 QOSC25 – BYTE_C3_G6 .............................................................................................................62
10.7.61 QOSC26 – BYTE_C4_G6 .............................................................................................................63
10.7.62 QOSC27 – BYTE_C5_G6 .............................................................................................................63
10.7.63 QOSC28 – BYTE_C6_G6 .............................................................................................................63
10.7.64 QOSC29 – BYTE_C7_G6 .............................................................................................................63
10.7.65 QOSC2A – BYTE_C2_G7 .............................................................................................................63
10.7.66 QOSC2B – BYTE_C3_G7 .............................................................................................................64
10.7.67 QOSC2C – BYTE_C4_G7 .............................................................................................................64
10.7.68 QOSC2D – BYTE_C5_G7 .............................................................................................................64
10.7.69 QOSC2E – BYTE_C6_G7 .............................................................................................................64
10.7.70 QOSC2F – BYTE_C7_G7 .............................................................................................................64
10.7.71 QOSC30 – BYTE_C01 ..................................................................................................................65
10.7.72 QOSC31 – BYTE_C02 ..................................................................................................................65
10.7.73 QOSC32 – BYTE_C03 ..................................................................................................................65
10.7.74 QOSC33 – CREDIT_C0_G0 .........................................................................................................65
10.7.75 QOSC34 – CREDIT_C1_G0 .........................................................................................................66
10.7.76 QOSC35 – CREDIT_C2_G0 .........................................................................................................66
10.7.77 QOSC36 – CREDIT_C3_G0 .........................................................................................................67
10.7.78 QOSC37 – CREDIT_C4_G0 .........................................................................................................67
10.7.79 QOSC38 – CREDIT_C5_G0 .........................................................................................................67
10.7.80 QOSC39– CREDIT_C6_G0 ..........................................................................................................67
10.7.81 QOSC3A– CREDIT_C7_G0 ..........................................................................................................67
10.7.82 QOSC3B – CREDIT_C0_G1 .........................................................................................................67
10.7.83 QOSC3C – CREDIT_C1_G1 .........................................................................................................68
10.7.84 QOSC3D – CREDIT_C2_G1 .........................................................................................................69
10.7.85 QOSC3E – CREDIT_C3_G1 .........................................................................................................69
10.7.86 QOSC3F – CREDIT_C4_G1 .........................................................................................................69
10.7.87 QOSC40 – CREDIT_C5_G1 .........................................................................................................69
10.7.88 QOSC41– CREDIT_C6_G1 ..........................................................................................................69
10.7.89 QOSC42– CREDIT_C7_G1 ..........................................................................................................69
10.7.90 QOSC43 – CREDIT_C0_G2 .........................................................................................................70
10.7.91 QOSC44 – CREDIT_C1_G2 .........................................................................................................70
10.7.92 QOSC45 – CREDIT_C2_G2 .........................................................................................................71
10.7.93 QOSC46 – CREDIT_C3_G2 .........................................................................................................71
10.7.94 QOSC47 – CREDIT_C4_G2 .........................................................................................................71
10.7.95 QOSC48 – CREDIT_C5_G2 .........................................................................................................71
10.7.96 QOSC49– CREDIT_C6_G2 ..........................................................................................................72
10.7.97 QOSC4A– CREDIT_C7_G2 ..........................................................................................................72
10.7.98 QOSC4B – CREDIT_C0_G3 .........................................................................................................72
10.7.99 QOSC4 – CREDIT_C1_G3 ...........................................................................................................73
10.7.100 QOSC4D – CREDIT_C2_G3 .......................................................................................................73
SEMICMF.xxx
v
MVTX2803AG
Data Sheet
10.7.101 QOSC4E – CREDIT_C3_G3 ................................................................................................ 73
10.7.102 QOSC4F – CREDIT_C4_G3 ................................................................................................ 74
10.7.103 QOSC50 – CREDIT_C5_G3.................................................................................................74
10.7.104 QOSC51– CREDIT_C6_G3..................................................................................................74
10.7.105 QOSC52– CREDIT_C7_G3..................................................................................................74
10.7.106 QOSC53 – CREDIT_C0_G4.................................................................................................74
10.7.107 QOSC54 – CREDIT_C1_G4.................................................................................................75
10.7.108 QOSC55 – CREDIT_C2_G4.................................................................................................76
10.7.109 QOSC56 – CREDIT_C3_G4.................................................................................................76
10.7.110 QOSC57 – CREDIT_C4_G4.................................................................................................76
10.7.111 QOSC58 – CREDIT_C5_G4.................................................................................................76
10.7.112 QOSC59– CREDIT_C6_G4..................................................................................................76
10.7.113 QOSC5A– CREDIT_C7_G4 ................................................................................................. 76
10.7.114 QOSC5B – CREDIT_C0_G5 ................................................................................................ 77
10.7.115 QOSC5C – CREDIT_C1_G5 ................................................................................................ 77
10.7.116 QOSC5D – CREDIT_C2_G5 ................................................................................................ 78
10.7.117 QOSC5E – CREDIT_C3_G5 ................................................................................................ 78
10.7.118 QOSC5F – CREDIT_C4_G5 ................................................................................................ 78
10.7.119 QOSC60 – CREDIT_C5_G5.................................................................................................78
10.7.120 QOSC61– CREDIT_C6_G5..................................................................................................79
10.7.121 QOSC62– CREDIT_C7_G5..................................................................................................79
10.7.122 QOSC63 – CREDIT_C0_G6.................................................................................................79
10.7.123 QOSC64 – CREDIT_C1_G6.................................................................................................80
10.7.124 QOSC65 – CREDIT_C2_G6.................................................................................................80
10.7.125 QOSC66 – CREDIT_C3_G6.................................................................................................80
10.7.126 QOSC67 – CREDIT_C4_G6.................................................................................................81
10.7.127 QOSC68 – CREDIT_C5_G6.................................................................................................81
10.7.128 QOSC69– CREDIT_C6_G6..................................................................................................81
10.7.129 QOSC6A– CREDIT_C7_G6 ................................................................................................. 81
10.7.130 QOSC6B – CREDIT_C0_G7 ................................................................................................ 82
10.7.131 QOSC6C – CREDIT_C1_G7 ................................................................................................ 82
10.7.132 QOSC6D – CREDIT_C2_G7 ................................................................................................ 83
10.7.133 QOSC6E – CREDIT_C3_G7 ................................................................................................ 83
10.7.134 QOSC6F – CREDIT_C4_G7 ................................................................................................ 83
10.7.135 QOSC70 – CREDIT_C5_G7.................................................................................................83
10.7.136 QOSC71– CREDIT_C6_G7..................................................................................................84
10.7.137 QOSC72– CREDIT_C7_G7..................................................................................................84
10.7.138 QOSC73 – TOKEN_RATE_G0............................................................................................. 84
10.7.139 QOSC74 – TOKEN_LIMIT_G0 ............................................................................................. 84
10.7.140 QOSC75 – TOKEN_RATE_G1............................................................................................. 84
10.7.141 QOSC76 – TOKEN_LIMIT_G1 ............................................................................................. 85
10.7.142 QOSC77 – TOKEN_RATE_G2............................................................................................. 85
10.7.143 QOSC78 – TOKEN_LIMIT_G2 ............................................................................................. 85
10.7.144 QOSC79 – TOKEN_RATE_G3............................................................................................. 85
10.7.145 QOSC7A – TOKEN_LIMIT_G3............................................................................................. 86
10.7.146 QOSC7B – TOKEN_RATE_G4 ............................................................................................ 86
10.7.147 QOSC7C – TOKEN_LIMIT_G4 ............................................................................................ 86
10.7.148 QOSC7D – TOKEN_RATE_G5 ............................................................................................ 86
10.7.149 QOSC7E – TOKEN_LIMIT_G5............................................................................................. 86
10.7.150 QOSC7F – TOKEN_RATE_G6 ............................................................................................ 87
10.7.151 QOSC80 – TOKEN_LIMIT_G6 ............................................................................................. 87
10.7.152 QOSC81 – TOKEN_RATE_G7............................................................................................. 87
10.7.153 QOSC82 – TOKEN_LIMIT_G7 ............................................................................................. 87
vi
SEMICMF.xxx
Data Sheet
MVTX2803AG
10.7.154 RDRC0 – WRED Rate Control 0 .................................................................................................88
10.7.155RDRC1 – WRED Rate Control 1 ..................................................................................................88
10.8 Group 6 Address - MISC Group ................................................................................................................88
10.8.1 MII_OP0 – MII Register Option 0.....................................................................................................88
10.8.2 MII_OP1 – MII Register Option 1.....................................................................................................89
10.8.3 FEN – Feature Register ...................................................................................................................89
10.8.4 MIIC0 – MII Command Register 0 ...................................................................................................90
10.8.5 MIIC1 – MII Command Register 1 ...................................................................................................90
10.8.6 MIIC2 – MII Command Register 2 ...................................................................................................90
10.8.7 MIIC3 – MII Command Register 3 ...................................................................................................90
10.8.8 MIID0 – MII Data Register 0 ............................................................................................................91
10.8.9 MIID1 – MII Data Register 0 ............................................................................................................91
10.8.10 LED Mode – LED Control ..............................................................................................................91
10.8.11 DEVICE Mode ...............................................................................................................................93
10.8.12 CHECKSUM - EEPROM Checksum..............................................................................................93
10.8.13 LED User .......................................................................................................................................94
10.8.14 LEDUSER0 ....................................................................................................................................94
10.8.15 LEDUSER1 ....................................................................................................................................94
10.8.16 LEDUSER2/LEDSIG2....................................................................................................................95
10.8.17 EDUSER3/LEDSIG3......................................................................................................................95
10.8.18 LEDUSER4/LEDSIG4....................................................................................................................96
10.8.19 LEDUSER5/LEDSIG5....................................................................................................................97
10.8.20 LEDUSER6/LEDSIG6....................................................................................................................97
10.8.21 LEDUSER7/LEDSIG1_0................................................................................................................98
10.8.22 MIINP0 – MII Next Page Data Register 0 ......................................................................................99
10.8.23 MIINP1 – MII Next Page Data Register 1 ......................................................................................99
10.9 Group F Address - CPU Access Group.....................................................................................................99
10.9.1 GCR-Global Control Register ..........................................................................................................99
10.9.2 DCR-Device Status and Signature Register ..................................................................................100
10.9.3 DCR01-Giga port status ................................................................................................................100
10.9.4 DCR23-Giga port status ................................................................................................................101
10.9.5 DCR45-Giga port status ................................................................................................................101
10.9.6 DCR67-Giga port status ................................................................................................................102
10.9.7 DPST – Device Port Status Register .............................................................................................103
10.9.8 DTST – Data Read Back Register .................................................................................................103
11.0 BGA and Ball Signal Description................................................................................. 104
11.1 BGA Views ..............................................................................................................................................104
11.2 Power and Ground Distribution ...............................................................................................................105
11.3 Ball- Signal Descriptions .........................................................................................................................106
11.4 Ball Signal Name.....................................................................................................................................117
11.5 AC/DC Timing .......................................................................................................................................123
11.5.1 Absolute Maximum Ratings ...........................................................................................................123
11.5.2 DC Electrical Characteristics .........................................................................................................123
11.5.3 Recommended Operation Conditions............................................................................................123
11.6 Local Frame Buffer ZBT SRAM Memory Interface..................................................................................124
11.6.1 Local ZBT SRAM Memory Interface A:..........................................................................................124
11.6.2 Local ZBT SRAM Memory Interface B:..........................................................................................125
11.7 Local Switch Database SBRAM Memory Interface .................................................................................126
11.7.1 Local SBRAM Memory Interface: ..................................................................................................126
11.8 AC Characteristics...................................................................................................................................127
11.8.1 Media Independent Interface .........................................................................................................127
11.8.2 Gigabit Media Independent Interface.............................................................................................128
11.8.3 PCS Interface ................................................................................................................................129
SEMICMF.xxx
vii
MVTX2803AG
Data Sheet
11.8.4 LED Interface ..........................................................................................................................130
11.8.5 MDIO Input Setup and Hold Timing ........................................................................................131
11.8.6 I2C Input Setup Timing............................................................................................................131
11.8.7 Serial Interface Setup Timing..................................................................................................132
viii
SEMICMF.xxx
MVTX2803AG
Data Sheet
List of Figures
Figure 1 - MVTX2803AG Block Diagram ..................................................................................................................1
Figure 2 - Data Transfer Format for I2C Interface .....................................................................................................6
Figure 3 - MVTX2803AG SRAM Interface Block Diagram (DMAs for Gigabit Ports) ...............................................9
Figure 4 - Buffer Partition Scheme Used in the MVTX2803AG ..............................................................................16
Figure 5 - Timing diagram for serial mode in LED interface ...................................................................................19
Figure 6 - Local Memory Interface – Input setup and hold timing .........................................................................124
Figure 7 - ocal Memory Interface - Output valid delay timing ...............................................................................124
Figure 8 - Local Memory Interface – Input setup and hold timing .........................................................................125
Figure 9 - Local Memory Interface - Output valid delay timing .............................................................................125
Figure 10 - Local Memory Interface – Input setup and hold timing .......................................................................126
Figure 11 - Local Memory Interface - Output valid delay timing ...........................................................................126
Figure 12 - AC Characteristics – Media Independent Interface ............................................................................ 127
Figure 13 - AC Characteristics – Media Independent Interface ...........................................................................127
Figure 14 - AC Characteristics- GMII ....................................................................................................................128
Figure 15 - AC Characteristics – Gigabit Media Independent Interface ...............................................................128
Figure 16 - AC Characteristics – PCS Interface ...................................................................................................129
Figure 17 - AC Characteristics – PCS Interface ................................................................................................... 129
Figure 18 - AC Characteristics – LED Interface ....................................................................................................130
Figure 19 - MDIO Input Setup and Hold Timing ...................................................................................................131
Figure 20 - MDIO Output Delay Timing ................................................................................................................131
Figure 21 - I2C Input Setup Timing .......................................................................................................................131
Figure 22 - I2C Output Delay Timing ....................................................................................................................131
Figure 23 - Serial Interface Setup Timing .............................................................................................................132
Figure 24 - Serial Interface Output Delay Timing .................................................................................................132
SEMICMF.xxx
ix
MVTX2803AG
x
Data Sheet
SEMICMF.xxx
MVTX2803AG
Data Sheet
List of Tables
Table 1 - Two-dimensional World Traffic .............................................................................................................. 12
Table 2 - Four QoS configurations per port. ......................................................................................................... 13
Table 3 - WRED Dropping Scheme ...................................................................................................................... 14
Table 4 - Mapping between MVTX2803AG and IETF Diffserv Classes for Gigabit Ports .................................... 17
Table 5 - MVTX2803AG Features Enabling IETF Diffserv Standards .................................................................. 18
Table 6 - AC Characteristics – Local frame buffer ZBT-SRAM Memory Interface A .......................................... 125
Table 7 - Local frame buffer ZBT-SRAM Memory Interface B ............................................................................ 126
Table 8 - AC Characteristics – Local Switch Database SBRAM Memory Interface ............................................ 127
Table 9 - AC Characteristics – Media Independent Interface ............................................................................. 128
Table 10 - AC Characteristics – Gigabit Media Independent Interface ............................................................... 129
Table 11 - AC Characteristics – PCS Interface ................................................................................................... 130
Table 12 - AC Characteristics – LED Interface ................................................................................................... 130
Table 13 - MDIO Timing ...................................................................................................................................... 131
Table 14 - I2C Timing .......................................................................................................................................... 132
Table 15 - Serial Interface Timing ....................................................................................................................... 132
SEMICMF.019
xi
MVTX2803AG
xii
Data Sheet
SEMICMF.019
Data Sheet
1.0
Block Functionality
1.1
Frame Data Buffer (FDB) Interfaces
MVTX2803AG
The FDB interface supports pipelined ZBT-SRAM memory at 133 MHz. To ensure a non-blocking switch, two
memory domains are required. Each domain has a 64-bit wide memory bus. At 133 MHz, the aggregate
memory bandwidth is 17 Gbps, which is enough to support 8 Gigabit ports at full wire speed switching. A
patent pending scheme is used to access the FDB memory. Each slot has one tick to read or write 8 bytes.
1.2
Switch Database (SDB) Interface
A pipelined synchronous burst SRAM (SBRAM) memory is used to store the switch database information
including MAC Table. Search Engine accesses the switch database via SDB interface. The SDB bus has 32bit wide bus at 133MHz.
1.3
GMII/PCS MAC Module (GMAC)
The GMII/PCS Media Access Control (MAC) module provides the necessary buffers and control interface
between the Frame Engine (FE) and the external physical device (PHY). The MVTX2803AG has two
interfaces, GMII or PCS. The MAC of the MVTX2803AG meets the IEEE 802.3z specification and supports the
MII interface. It is able to operate 10M/100M/1G in Full Duplex mode with a back pressure/flow control
mechanism. It has the options to insert Source Address/CRC/VLAN ID to each frame. The GMII/PCS Module
also supports hot plug detection.
1.4
Frame Engine
The main function of the frame engine is to forward a frame to its proper destination port or ports. When a
frame arrives, the frame engine parses the frame header (64 bytes) and formulates a switching request which
is sent to the search engine, to resolve the destination port. The arriving frame is moved to the FDB. After
receiving a switch response from the search engine, the frame engine performs transmission scheduling
based on the frame’s priority. The frame engine forwards the frame to the MAC module when the frame is
ready to be sent.
1.5
Search Engine
The Search Engine resolves the frame’s destination port or ports according to the destination MAC address
(L2) by searching the database. It also performs MAC learning, priority assignment, and trunking functions.
1.6
LED Interface
The LED interface can be operated in a serial mode or a parallel mode. In the serial mode, the LED interface
uses 3 pins for carrying 8 port status signals. In the parallel mode, the interface can drive LEDs by 8 status
pins. The LED port is shared with bootstrap pins. In order to avoid error when reading the bootstraps, a buffer
must be used to isolate the LED circuitry from the bootstrap pins during bootstrap cycle (the bootstrap pins are
sampled at the rising edge of the Reset).
1.7
Internal Memory
Several internal tables are required and are described as follows:
•
•
Frame Control Block (FCB) - Each FCB entry contains the control information of the associated frame
stored in the FDB, e.g. frame size, read/write pointer, transmission priority, etc.
MCT Link Table - The MCT Link Table stores the linked list of MCT entries that have collisions in the
external MAC Table.
2.0
System Configuration
The MVTX2803AG can be configured by EEPROM (24C02 or compatible) via an I2C interface at boot time, or
via a synchronous serial interface during operation.
2.1
I2C Interface
The I2C interface uses two bus lines, a serial data line (SDA) and a serial clock line (SCL). The SCL carries the
control signals that facilitate the transfer of information from the EEPROM to the switch. Data transfer is a
SEMICMF.019
5
MVTX2803AG
Data Sheet
bidirectional 8-bit serial at a rate of 50 Kbps. Data transfer is performed between master and slave IC using a
request / acknowledgment style of protocol. The master IC generates the timing signals and terminates data
transfer. The figure below shows the data transfer format.
START
SLAVE
ADDRESS
R/W
ACK
DATA 1
(8 bits)
ACK
DATA 2
(8 bits)
ACK
DATA M
(8 bits)
ACK
STOP
Figure 2 - Data Transfer Format for I 2C Interface
2.1.1
Start Condition
Generated by the master, the MVTX2803AG. The bus is considered to be busy after the Start condition is
generated. The Start condition occurs if, while the SCL line is High, there is a High-to-Low transition of the
SDA.
Other than in the Start condition (and Stop condition), the data on the SDA line must be stable during the High
period of SCL. The High or Low state of SDA can only change when SCL is Low. In addition, when the I2C bus
is free, both lines are High.
2.1.2
Address
The first byte after the Start condition determines which slave the master will select. The slave in our case is
the EEPROM. The first seven bits of the first data byte make up the slave address.
2.1.3
Data Direction
The eighth bit in the first byte after the Start condition determines the direction (R/W) of the message. A master
transmitter sets this bit to W; a master receiver sets this bit to R.
2.1.4
Acknowledgment
Like all clock pulses, the master generates the acknowledgment-related clock pulse. However, the transmitter
releases the SDA (High) during the acknowledgment clock pulse. Furthermore, the receiver must pull down the
SDA during the acknowledge pulse so that it remains stable Low during the High period of this clock pulse. An
acknowledgment pulse follows every byte transfer.
If a slave receiver does not acknowledge after any byte, then the master generates a Stop condition and aborts
the transfer.
If a master receiver does not acknowledge after any byte, then the slave transmitter must release the SDA line
to let the master generate the Stop condition.
2.1.5
Data
After the first byte containing the address, all bytes that follow are data bytes. Each byte must be followed by
an acknowledge bit. Data is transferred MSB-first.
2.1.6
Stop Condition
Generated by the master, the MVTX2803AG. The bus is considered to be free after the Stop condition is
generated. The Stop condition occurs if while the SCL line is High, there is a Low-to-High transition of the SDA.
The I2C interface serves the function of configuring the MVTX2803AG at boot time. The master is the
MVTX2803AG, and the slave is the EEPROM memory.
2.2
Synchronous Serial Interface
The synchronous serial interface serves the function of configuring the MVTX2803AG not at boot time but via a
PC. The PC serves as master and the MVTX2803AG serves as slave. The protocol for the synchronous serial
interface is nearly identical to the I 2C protocol. The main difference is that there is no acknowledgment bit after
each byte of data transferred.
The unmanaged MVTX2803AG uses a synchronous serial interface to program the internal registers. To
reduce the number of signals required, the register address, command and data are shifted in serially through
the PS_DO pin. PS_STROBE- pin is used as the shift clock. PS_DI- pin is used as data return path.
6
SEMICMF.019
MVTX2803AG
Data Sheet
Each command consists of four parts.
• START pulse
• Register Address
• Read or Write command
• Data to be written or read back
Any command can be aborted in the middle by sending an ABORT pulse to the MVTX2803AG.
A START command is detected when PS_DO is sampled high at PS_STROBE - leading edge, and PS_DO is
sampled low when STROBE- falls.
An ABORT command is detected when PS_DO is sampled low at PS_STROBE - leading edge, and PS_DO is
sampled high when PS_STROBE - falls.
2.2.1
Write Command
PS-STROBE2 extra clocks after
last transfer
PS_D0
A0
A1
START
2.2.2
A2
...
A9 A10 A11 W
ADDRESS
D0
D1
D2 D3
D4 D5 D6
D7
DATA
COMMAND
Read Command
PS-STROBE-
PS_D0
A0
START
A1
A2
...
A9 A10 A11 R
ADDRESS
PS_DI
DATA
COMMAND
D0
D1
D2
D3
D4
D5
D6
D7
All registers in the MVTX2803AG can be modified through this synchronous serial interface.
3.0
Data Forwarding Protocol
3.1
Unicast Data Frame Forwarding
When a frame arrives, it is assigned a handle in memory by the Frame Control Buffer Manager (FCB
Manager). A FCB handle will always be available, because of advance buffer reservations.
The memory (ZBT-SRAM) interface is two 64-bit buses, connected to two ZBT-SRAM domains, A and B. The
Receive (RxDMA) is responsible for multiplexing the data and the address. On a port’s “turn,” the RxDMA will
move 8 bytes (or up to the end-of-frame) from the port’s associated Receive FIFO (RxFIFO) into memory
(Frame Data Buffer, or FDB).
Once an entire frame has been moved to the FDB, and a good end-of-frame (EOF) has been received, the Rx
interface makes a switch request. The RxDMA arbitrates among multiple switch requests.
The switch request consists of the first 64 bytes of a frame, containing the source and destination MAC
addresses of the frame. The search engine places a switch response in the switch response queue of the
frame engine when done. Among other information, the search engine will have resolved the destination port
of the frame and will have determined that the frame is unicast.
SEMICMF.019
7
MVTX2803AG
Data Sheet
After processing the switch response, the Transmission Queue Manager (TxQ manager) of the frame engine is
responsible for notifying the destination port that it has a frame to forward. But first, the TxQ manager has to
decide whether or not to drop the frame, based on global FDB reservations and usage, as well as TxQ
occupancy at the destination. If the frame is not dropped, then the TxQ manager links the frame’s FCB to the
correct per-port-per-class TxQ. Unicast TxQ’s are linked lists of transmission jobs, represented by their
associated frames’ FCB’s. There is one linked list for each transmission class for each port. There are 8
classes for each of the 8 Gigabit ports – a total of 32 unicast queues.
The TxQ manager is responsible for scheduling transmission among the queues representing different classes
for a port. When the port control module determines that there is room in the MAC Transmission FIFO
(TxFIFO) for another frame, it requests the handle of a new frame from the TxQ manager. The TxQ manager
chooses among the head-of-line (HOL) frames from the per-class queues for that port, using a Zarlink
Semiconductor scheduling algorithm.
At the transmit end, each of the 8 ports has time slots devoted solely to reading data from memory at the
address calculated by port control. The Transmission DMA (TxDMA) is responsible for multiplexing the data
and the address. On a port’s turn, the TxDMA will move 8 bytes (or up to the EOF) from memory into the
port’s associated TxFIFO. After reading the EOF, the port control requests a FCB release for that frame. The
TxDMA arbitrates among multiple buffer release requests.
The frame is transmitted from the TxFIFO to the line.
3.2
Multicast Data Frame Forwarding
After receiving the switch response, the TxQ manager has to make the dropping decision. A global decision to
drop can be made, based on global FDB utilization and reservations. If so, then the FCB is released and the
frame is dropped. In addition, a selective decision to drop can be made, based on the TxQ occupancy at some
subset of the multicast packet’s destinations. If so, then the frame is dropped at some destinations but not
others, and the FCB is not released.
If the frame is not dropped at a particular destination port, then the TxQ manager formats an entry in the
multicast queue for that port and class. Multicast queues are physical queues (unlike the linked lists for unicast
frames). There are 4 multicast queues for each of the 8 Gigabit ports. There is one multicast queue for every
two unicast classes.
During scheduling, the TxQ manager treats the unicast queue and the multicast queue of the same class as
one logical queue.
The port control requests a FCB release only after the EOF for the multicast frame has been read by all ports to
which the frame is destined.
4.0
Memory Interface
4.1
Overview
Figure 3 illustrates the first part of the ZBT-SRAM interface for the MVTX2803AG. As shown, two ZBT-SRAM
banks, A and B, are used, with a 64-bit bus connected to each. Each DMA can read and write from both bank
A and bank B. During each tick, two memory operations will take place in parallel – one for bank A, and one for
bank B. Because the clock frequency is 133 MHz, the total memory bandwidth is 128 bits × 133 MHz = 17
Gbps, for frame data buffer (FDB) access.
In addition, the figure shows that the 8 Gigabit ports are actually grouped into sets of 4. If TxDMA 0 is using
bank B during a given memory slot, then TxDMA’s 1-3 will never be using bank A during this same slot. As a
result, TxDMA’s 0-3 can share the same bank selector.
8
SEMICMF.019
MVTX2803AG
Data Sheet
ZBT-SRAM Bank A
TxDMA
0-1
TxDMA
2-3
TxDMA
4-5
ZBT-SRAM Bank B
TxDMA
6-7
RxDMA
0-1
RxDMA
2-3
RxDMA
4-5
RxDMA
6-7
Figure 3 - MVTX2803AG SRAM Interface Block Diagram (DMAs for Gigabit Ports)
4.2
Detailed Memory Information
Because the bus for each bank is 64 bits wide, frames are broken into 8-byte granules, written to and read
from memory. The first 8-byte granule gets written to Bank A, the second 8-byte granule gets written to Bank
B, and so on in alternating fashion. When reading frames from memory, the same procedure is followed, first
from A, then from B, and so on.
The reading and writing from alternating memory banks can be performed with minimal waste of memory
bandwidth. For any speed port, in the worst case, a 1-byte-long EOF granule gets written to Bank A. This
means that a 7-byte segment of Bank A bandwidth is idle, and furthermore, the next 8-byte segment of Bank B
bandwidth is idle, because the first 8 bytes of the next frame will be written to Bank A, not B. This scenario
results in a maximum 15 bytes of waste per frame, which is always acceptable because the interframe gap is
20 bytes.
Search engine data is written to both banks in parallel. In this way, a search engine read operation could be
performed by either bank at any time without a problem.
5.0
Search Engine
5.1
Search Engine Overview
The MVTX2803AG search engine is optimized for high throughput searching, with enhanced features to
support:
•
•
•
Up to 64K MAC addresses
4 groups of port trunking
Traffic classification into 8 transmission priorities, and 2 drop precedence levels
5.2
Basic Flow
Shortly after a frame enters the MVTX2803AG and is written to the Frame Data Buffer (FDB), the frame engine
generates a Switch Request, which is sent to the search engine. The switch request consists of the first 64
bytes of the frame, which contain all the necessary information for the search engine to perform its task. When
the search engine is done, it writes to the Switch Response Queue, and the frame engine uses the information
provided in that queue for scheduling and forwarding.
In performing its task, the search engine extracts and compresses the useful information from the 64-byte
switch request. Among the information extracted are the source and destination MAC addresses, the
transmission and discard priorities and whether the frame is unicast or multicast. Requests are sent to the
external SRAM Switch Database to locate the associated entries in the external MCT table.
SEMICMF.019
9
MVTX2803AG
Data Sheet
When all the information has been collected from external SRAM, the search engine has to compare the MAC
address on the current entry with the MAC address for which it is searching. If it is not a match, the process is
repeated on the internal MCT Table. All MCT entries, other than the first of each linked list, are maintained
internal to the chip. If the desired MAC address is still not found, then the result is either learning (source MAC
address unknown) or flooding (destination MAC address unknown).
If the destination MAC address belongs to a port trunk, then the trunk number is retrieved instead of the port
number. But on which port of the trunk will the frame be transmitted? This is easily computed using a hash of
the source and destination MAC addresses.
When all the information is compiled, the switch response is generated, as stated earlier.
5.3
Search, Learning, and Aging
5.3.1
MAC Search
The search block performs source MAC address and destination MAC address searching. As indicated earlier,
if a match is not found, then the next entry in the linked list must be examined, and so on until a match is found
or the end of the list is reached.
In port based VLAN mode, a bitmap is used to determine whether the frame should be forwarded to the
outgoing port. The bitmap is not dynamic. Ports cannot enter and exit groups dynamically.
The MAC search block is also responsible for updating the source MAC address timestamp, used for aging.
5.3.2
Learning
The learning module learns new MAC addresses and performs port change operations on the MCT database.
The goal of learning is to update this database as the networking environment changes over time. Learning
and port change will be performed based on memory slot availability only.
5.3.3
Aging
Aging time is controlled by register 400h and 401h.
The aging module scans and ages MCT entries based on a programmable "age out" time interval. As indicated
earlier, the search module updates the source MAC address and VLAN port association timestamps for each
frame it processes. When an entry is ready to be aged, the entry is removed from the table.
5.3.4
Data Structure
The MCT data structure is used when searching for MAC addresses. The structure is maintained by hardware
in the search engine. The database is essentially a hash table, with collisions resolved by chaining. The
database is partial external, and partial internal, as described earlier: the first MCT entry of each linked list is
always located in the external SRAM, and the subsequent MCT’s are located internally.
6.0
Frame Engine
6.1
Data Forwarding Summary
Data enters the device at the RxMAC, the RxDMA will move the data from the MAC RxFIFO to the FDB. Data
is moved in 8-byte granules in conjunction with the scheme for the SRAM interface.
•
•
•
•
10
A switch request is sent to the Search Engine. The Search Engine processes the switch request.
A switch response is sent back to the Frame Engine and indicates whether the frame is unicast or
multicast, and its destination port or ports.
A Transmission Scheduling Request is sent in the form of a signal notifying the TxQ manager. Upon
receiving a Transmission Scheduling Request, the device will format an entry in the appropriate
Transmission Scheduling Queue (TxSch Q) or Queues. There are 8 TxSch Queues for each Gigabit port,
one for each priority. Creation of a queue entry either involves linking a new job to the appropriate linked
list if unicast, or adding an entry to a physical queue if multicast.
When the port is ready to accept the next frame, the TxQ manager will get the head-of-line (HOL) entry of
one of the TxSch Qs, according to the transmission scheduling algorithm (so as to ensure per-class quality
of service). The unicast linked list and the multicast queue for the same port-class pair are treated as one
logical queue.
SEMICMF.019
Data Sheet
•
MVTX2803AG
The TxDMA will pull frame data from the memory and forward it granule-by-granule to the MAC TxFIFO of
the destination port.
6.2
Frame Engine Details
This section briefly describes the functions of each of the modules of the MVTX2803AG frame engine.
6.2.1
FCB Manager
The FCB manager allocates FCB handles to incoming frames, and releases FCB handles upon frame
departure. The FCB manager is also responsible for enforcing buffer reservations and limits. The default
values can be determined by referring to Chapter 8. In addition, the FCB manager is responsible for buffer
aging, and for linking unicast forwarding jobs to their correct TxSch Q. The buffer aging can be enabled or
disabled by the bootstrap pin and the aging time is defined in register FCBAT.
6.2.2
Rx Interface
The Rx interface is mainly responsible for communicating with the RxMAC. It keeps track of the start and end
of frame and frame status (good or bad). Upon receiving an end of frame that is good, the Rx interface makes
a switch request.
6.2.3
RxDMA
The RxDMA arbitrates among switch requests from each Rx interface. It also buffers the first 64 bytes of each
frame for use by the search engine when the switch request has been made.
6.2.4
TxQ Manager
First, the TxQ manager checks the per-class queue status and global Reserved resource situation, and using
this information, makes the frame dropping decision after receiving a switch response. If the decision is not to
drop, the TxQ manager requests that the FCB manager link the unicast frame’s FCB to the correct per-portper-class TxQ. If multicast, the TxQ manager writes to the multicast queue for that port and class. The TxQ
manager can also trigger source port flow control for the incoming frame’s source if that port is flow control
enabled. Second, the TxQ manager handles transmission scheduling; it schedules transmission among the
queues representing different classes for a port. Once a frame has been scheduled, the TxQ manager reads
the FCB information and writes to the correct port control module.
6.3
Port Control
The port control module calculates the SRAM read address for the frame currently being transmitted. It also
writes start of frame information and an end of frame flag to the MAC TxFIFO. When transmission is done, the
port control module requests that the buffer be released.
6.4
TxDMA
The TxDMA multiplexes data and address from port control, and arbitrates among buffer release requests from
the port control modules.
7.0
Quality of Service and Flow Control
7.1
Model
Quality of service (QoS) is an all-encompassing term for which different people have different interpretations.
In this chapter, quality of service assurances means the allocation of chip resources so as to meet the latency
and bandwidth requirements associated with each traffic class. There is nothing presupposed about the
offered traffic pattern. If the traffic load is light, then ensuring quality of service is straightforward. But if the
traffic load is heavy, the MVTX2803AG must intelligently allocate resources so as to assure quality of service
for high priority data.
The network manager must assign importance for the application types, such as voice, file transfer, or web
browsing. The manager can then subdivide the applications into classes and set up a service contract with
each. The contract may consist of bandwidth or latency assurances per class. Sometimes it may even reflect
an estimate of the traffic mix offered to the switch, though this is not required.
SEMICMF.019
11
MVTX2803AG
Data Sheet
The table below shows examples of QoS applications with eight transmission priorities, including best effort
traffic for which no bandwidth or latency assurances are provided.
Class
Example
Assured Bandwidth
(user defined)
Low Drop Subclass
(If class is oversubscribed,
these packets are the last to
be dropped)
High Drop Subclass
(If class is oversubscribed,
these packets are the first
to be dropped)
Highest transmission
priorities, P7
Latency < 200 µs
300 Mbps
Sample application: control
information
Highest transmission
priorities, P6
Latency < 200 µs
200 Mbps
Sample applications: phone
calls; circuit emulation
Sample application: training
video; other multimedia
Middle transmission
priorities, P5
Latency < 400 µs
125 Mbps
Sample application:
interactive activities
Sample application: noncritical interactive activities
Middle transmission
priorities, P4
Latency < 800 µs
250 Mbps
Sample application: web
business
Low transmission
priorities, P3
Latency < 1600 µs
80 Mbps
Sample application: file
backups
Low transmission
priorities, P2
Latency < 3200 µs
45 Mbps
Sample application: email
Best effort, P1-P0
TOTAL
–
Sample application: web
research
Sample application: casual web browsing
1 Gbps
Table 1 - Two-dimensional World Traffic
It is possible that a class of traffic may attempt to monopolize system resources by sending data at a rate in
excess of the contractually assured bandwidth for that class. A well-behaved class offers traffic at a rate no
greater than the agreed-upon rate. By contrast, a misbehaving class offers traffic that exceeds the agreed
rate. A misbehaving class is formed from an aggregation of misbehaving microflows. To achieve high link
utilization, a misbehaving class is allowed to use any idle bandwidth. However, the quality of service (QoS)
received by well-behaved classes must never suffer.
As Table 1 illustrates, each traffic class may have its own distinct properties and applications. As shown,
classes may receive bandwidth assurances or latency bounds. In the example, P7, the highest transmission
class, requires that all frames be transmitted within 0.2 ms, and receives 30% of the 1 Gbps of bandwidth at
that port.
Best-effort (P1-P0) traffic forms a lower tier of service that only receives bandwidth when none of the other
classes have any traffic to offer.
In addition, each transmission class has two subclasses, high-drop and low-drop. Well-behaved users should
not lose packets. But poorly behaved users – users who send data at too high a rate – will encounter frame
loss, and the first to be discarded will be high-drop. Of course, if this is insufficient to resolve the congestion,
eventually some low-drop frames are dropped as well.
Table 1 shows that different types of applications may be placed in different boxes in the traffic table. For
example, web search may fit into the category of high-loss, high-latency-tolerant traffic, whereas VoIP fits into
the category of low-loss, low-latency traffic.
12
SEMICMF.019
MVTX2803AG
Data Sheet
7.2
Four QoS Configurations
There are four basic pieces to QoS scheduling in the MVTX2803AG: strict priority (SP), delay bound, weighted
fair queuing (WFQ), and best effort (BE). Using these four pieces, there are four different modes of operation,
as shown in Table 2.
P7
P6
P5
Op1 (default)
Delay Bound
Op2
SP
Delay Bound
Op3
SP
WFQ
Op4
WFQ
P4
P3
P2
P1
P0
BE
BE
Table 2- Four QoS configurations per port.
The default configuration is six delay-bounded queues and two best-effort queues. The delay bounds per class
are 0.16 ms for P7 and P6, 0.32 ms for P5, 0.64 ms for P4, 1.28 ms for P3, and 2.56 ms for P2. Best effort
traffic is only served when there is no delay-bounded traffic to be served. P1 has strict priority over P0.
There is a second configuration in which there are two strict priority queues, four delay bounded queues, and
two best effort queues. The delay bounds per class are 0.32 ms for P5, 0.64 ms for P4, 1.28 ms for P3, and
2.56 ms for P2. If the user is to choose this configuration, it is important that P7-P6 (SP) traffic be either
policed or implicitly bounded (e.g. if the incoming SP traffic is very light and predictably patterned). Strict
priority traffic, if not admission-controlled at a prior stage to the MVTX2803AG, can have an adverse effect on
all other classes’ performance. P7 and P6 are both SP classes, and P7 has strict priority over P6.
The third configuration contains two strict priority queues and six queues receiving a bandwidth partition via
WFQ. As in the second configuration, strict priority traffic needs to be carefully controlled.
In the fourth configuration, all queues are served using a WFQ service discipline
7.3
Delay Bound
In the absence of a sophisticated QoS server and signaling protocol, the MVTX2803AG may not be assured of
the mix of incoming traffic ahead of time. To cope with this uncertainty, the delay assurance algorithm
dynamically adjusts its scheduling and dropping criteria, guided by the queue occupancies and the due dates
of their head-of-line (HOL) frames. As a result, latency bounds are assured for all admitted frames with high
confidence, even in the presence of system-wide congestion. The algorithm identifies misbehaving classes
and intelligently discards frames at no detriment to well-behaved classes. The algorithm also differentiates
between high-drop and low-drop traffic with a weighted random early drop (WRED) approach. Random early
dropping prevents congestion by randomly dropping a percentage of high-drop frames even before the chip’s
buffers are completely full, while still largely sparing low-drop frames. This allows high-drop frames to be
discarded early, as a sacrifice for future low-drop frames. Finally, the delay bound algorithm also achieves
bandwidth partitioning among classes.
7.4
Strict Priority and Best Effort
When strict priority is part of the scheduling algorithm, if a queue has even one frame to transmit, it goes first.
Two of the four QoS configurations include strict priority queues. The goal is for strict priority classes to be
used for IETF expedited forwarding (EF), where performance guarantees are required. As indicated, it is
important that strict priority traffic be either policed or implicitly bounded, so as to keep from harming other
traffic classes.
When best effort is part of the scheduling algorithm, a queue only receives bandwidth when none of the other
classes have any traffic to offer. Two of the four QoS configurations include best effort queues. The goal is for
best effort classes to be used for non-essential traffic, because there are no assurances about best effort
performance. However, in a typical network setting, much best effort traffic will be transmitted, and with an
adequate degree of expediency.
SEMICMF.019
13
MVTX2803AG
Data Sheet
Because there is not any delay assurances for best effort traffic, enforcement of latency by dropping best effort
traffic is not provided. Furthermore, because it is assumed that strict priority traffic is carefully controlled before
entering the MVTX2803AG, a fair bandwidth partition by dropping strict priority traffic is not enforced. To
summarize, dropping to enforce quality of service (i.e. bandwidth or delay) does not apply to strict priority or
best effort queues. It only drops frames from best effort and strict priority queues when global buffer resources
become scarce.
7.5
Weighted Fair Queuing
In some environments – for example, in an environment in which delay assurances are not required, but
precise bandwidth partitioning on small time scales is essential - WFQ may be preferable to a delay-bounded
scheduling discipline. The MVTX2803AG provides the user with a WFQ option with the understanding that
delay assurances cannot be provided if the incoming traffic pattern is uncontrolled. The user sets eight WFQ
"weights" such that all weights are whole numbers and sum to 64. This provides per-class bandwidth
partitioning with error within 2%.
In WFQ mode, though frame latency is not assured, the MVTX2803AG still retains a set of dropping rules that
helps to prevent congestion and trigger higher level protocol end-to-end flow control.
As before, when strict priority is combined with WFQ, there are no special dropping rules for the strict priority
queues, because the input traffic pattern is assumed to be carefully controlled at a prior stage. However, there
is indeed drop frames from SP queues for global buffer management purposes. In addition, queues P1 and P0
are treated as best effort from a dropping perspective, though they still are assured a percentage of bandwidth
from a WFQ scheduling perspective. What this means is that these particular queues are only affected by
dropping when the global buffer count becomes low.
7.6
Shaper
Although traffic shaping is not a primary function of the MVTX2803AG, the chip does implement a shaper for
expedited forwarding (EF). The goal in shaping is to control the peak and average rate of traffic exiting the
MVTX2803AG. Shaping is limited to class P6 (the second highest priority). This means that class P6 will be the
class used for EF traffic. (By contrast, assume class P7 will be used for control packets only.) If shaping is
enabled for P6, then P6 traffic must be scheduled using strict priority. With reference to Table 4, only the middle
two QoS configurations may be used.
Peak rate is set using a programmable whole number, no greater than 64 (register QOS-CREDIT_C6_Gn). For
example, if the setting is 32, then the peak rate for shaped traffic is 32/64 × 1000 Mbps = 500 Mbps. Average
rate is also a programmable whole number, no greater than 64, and no greater than the peak rate. For
example, if the setting is 16, then the average rate for shaped traffic is 16/64 × 1000 Mbps = 250 Mbps. As a
consequence of the above settings in the example, shaped traffic will exit the MVTX2803AG at a rate always
less than 500 Mbps, and averaging no greater than 250 Mbps.
Also, when shaping is enabled, it is possible for a P6 queue to explode in length if fed by a greedy source. The
reason is that a shaper is by definition not work-conserving; that is, it may hold back from sending a packet
even if the line is idle. Though there is global resource management, nothing is done to prevent this situation
locally. This assumes SP traffic is policed at a prior stage to the MVTX2803AG.
7.7
WRED Drop Threshold Management Support
To avoid congestion, the Weighted Random Early Detection (WRED) logic drops packets according to specified
parameters. The following table summarizes the behavior of the WRED logic.
P7
P6
P5
P4
P3
P2
High Drop
Low Drop
|P7| ≥ A
KB
|P6| ≥ B
KB
|P5| ≥ C
KB
|P4| ≥ D
KB
|P3| ≥ E
KB
|P2| ≥ F
KB
X%
0%
Level 2
N ≥ 280
Y%
Z%
Level 3
N ≥ 320
100%
100%
Level 1
N ≥ 240
Table 3- WRED Dropping Scheme
14
SEMICMF.019
Data Sheet
MVTX2803AG
In the table, |Px| is the byte count in queue Px. The WRED logic has three drop levels, depending on the value
of N, which is based on the number of bytes in the priority queues. If delay bound scheduling is used, N
equals 16|P7| + 16|P6| + 8|P5| + 4|P4| + 2|P3| + |P2|. If WFQ scheduling is used, N equals |P7| + |P6| + |P5|
+ |P4| + |P3| + |P2|. Each drop level has defined high-drop and low-drop percentages, which indicate the
percentage of high-drop and low-drop packets that will be dropped at that level. The X, Y, and Z percent
parameters can be programmed using the registers RDRC0 and RDRC1. Parameters A-F are the byte count
thresholds for each priority queue, and are also programmable. When using delay bound scheduling, the
values selected for A-F also control the approximate bandwidth partition among the traffic classes; see
application note.
7.8
Buffer Management
Because the number of frame data buffer (FDB) slots is a scarce resource, and because it is desirable to
ensure that one misbehaving source port or class cannot harm the performance of a well-behaved source port
or class, the concept of buffer management was produced into the MVTX2803AG. The buffer management
scheme is designed to divide the total buffer space into numerous reserved regions and one shared pool, (see
Figure 4).
As shown in the figure, the FDB pool is divided into several parts. A reserved region for temporary frames
stores frames prior to receiving a switch response. Such a temporary region is necessary, because when the
frame first enters the MVTX2803AG, its destination port and class are as yet unknown, and so the decision to
drop or not needs to be temporarily postponed. This ensures that every frame can be received first before
subjecting it to the frame drop discipline after classifying.
Six reserved sections, one for each of the highest six priority classes, ensure a programmable number of FDB
slots per class. The lowest two classes do not receive any buffer reservation.
Another segment of the FDB reserves space for each of the 8 ports. These source port buffer reservations are
programmable. These 8 reserved regions make sure that no well-behaved source port can be blocked by
another misbehaving source port.
In addition, there is a shared pool, which can store any type of frame. The registers related to the Buffer
Management logic are:
•
•
•
•
•
•
•
•
PRG- Port Reservation for Gigabit Ports
SFCB- Share FCB Size
C2RS- Class 2 Reserved Size
C3RS- Class 3 Reserved Size
C4RS- Class 4 Reserved Size
C5RS- Class 5 Reserved Size
C6RS- Class 6 Reserved Size
C7RS- Class 7 Reserved Size
SEMICMF.019
15
MVTX2803AG
Data Sheet
Temporary
Reservation RTMP
Shared Pool S
Per-Class
Reservations
RP7, RP6,...RP2
Per-Source Reservations 8-R1G
Figure 4 - Buffer Partition Scheme Used in the MVTX2803AG
7.8.1
Dropping When Buffers Are Scarce
Summarizing the two examples of local dropping discussed earlier in this chapter:
•
If a queue is a delay-bounded queue, we have a multilevel WRED drop scheme, designed to control delay
and partition bandwidth in case of congestion.
• If a queue is a WFQ-scheduled queue, we have a multilevel WRED drop scheme, designed to prevent
congestion.
In addition to these reasons for dropping, the MVTX2803AG also drops frames when global buffer space
becomes scarce. The function of buffer management is to ensure that such droppings cause as little blocking
as possible.
7.9
MVTX2803AG Flow Control Basics
Because frame loss is unacceptable for some applications, the MVTX2803AG provides a flow control option.
When flow control is enabled, scarcity of buffer space in the switch may trigger a flow control signal; this signal
tells a source port, sending a packet to this switch, to temporarily hold off.
While flow control offers the clear benefit of no packet loss, it also introduces a problem for quality of service.
When a source port receives an Ethernet flow control signal, all microflows originating at that port, wellbehaved or not, are halted. A single packet destined for a congested output can block other packets destined
for uncongested outputs. The resulting head-of-line blocking phenomenon means that quality of service cannot
be assured with high confidence when flow control is enabled.
In the MVTX2803AG, each source port can independently have flow control enabled or disabled. For flow
control enabled ports, by default all frames are treated as lowest priority during transmission scheduling. This
is done so that those frames are not exposed to the WRED Dropping scheme. Frames from flow control
enabled ports feed to only one queue at the destination, the queue of lowest priority. What this means is that if
flow control is enabled for a given source port, then it can guarantee that no packets originating from that port
will be lost, but at the possible expense of minimum bandwidth or maximum delay assurances. In addition,
these "downgraded" frames may only use the shared pool or the per-source reserved pool in the FDB; frames
from flow control enabled sources may not use reserved FDB slots for the highest six classes (P2-P7).
The MVTX2803AG does provide a system-wide option of permitting normal QoS scheduling (and buffer use)
for frames originating from flow control enabled ports. When this programmable option is active, it is possible
16
SEMICMF.019
MVTX2803AG
Data Sheet
that some packets may be dropped, even though flow control is on. The reason is that intelligent packet
dropping is a major component of the MVTX2803AG’s approach to ensuring bounded delay and minimum
bandwidth for high priority flows.
7.9.1
Unicast Flow Control
For unicast frames, flow control is triggered by source port resource availability. Recall that the
MVTX2803AG’s buffer management scheme allocates a reserved number of FDB slots for each source port. If
a programmed number of a source port’s reserved FDB slots have been used, then flow control Xoff is
triggered. Xon is triggered when a port is currently being flow controlled, and all of that port’s reserved FDB
slots have been released.
Note that the MVTX2803AG’s per-source-port FDB reservations assure that a source port that sends a single
frame to a congested destination will not be flow controlled.
7.9.2
Multicast Flow Control
When port based Vlan is not used, a global buffer counter (64 packets) triggers flow control for multicast
frames. When the system exceeds a programmable threshold of multicast packets, Xoff is triggered. Xon is
triggered when the system returns below this threshold. MCC register programs the threshold. When port
based Vlan is used, each Vlan has a global buffer counter.
In addition, each source port has an 8-bit port map recording which port or ports of the multicast frame’s fanout
were congested at the time Xoff was triggered. All ports are continuously monitored for congestion, and a port
is identified as uncongested when its queue occupancy falls below a fixed threshold. When all those ports that
were originally marked as congested in the port map have become uncongested, then Xon is triggered, and
the 8-bit vector is reset to zero.
The MVTX2803AG also provides the option of disabling VLAN multicast flow control.
Note: If port flow control is on, QoS performance will be affected. To determine the most efficient way to
program, please refer to the QoS Application Note.
7.10
Mapping to IETF Diffserv Classes
The mapping between priority classes discussed in this chapter and elsewhere is shown below.
MVTX2803AG
P7
P6
P5
P4
P3
P2
P1
P0
IETF
NM
EF
AF0
AF1
AF2
AF3
BE0
BE1
Table 4- Mapping between MVTX2803AG and IETF Diffserv Classes for Gigabit Ports
As the table illustrates, P7 is used solely for network management (NM) frames. P6 is used for expedited
forwarding service (EF). Classes P2 through P5 correspond to an assured forwarding (AF) group of size 4.
Finally, P0 and P1 are two best effort (BE) classes.
SEMICMF.019
17
MVTX2803AG
Data Sheet
Features of the MVTX2803AG that correspond to the requirements of their associated IETF classes are
summarized in the following below.
Network Management (NM)
and Expedited Forwarding
(EF)
•
•
•
•
Global buffer reservation for NM and EF
Shaper for EF traffic
Option of strict priority scheduling
No dropping if admission controlled
Assured Forwarding (AF)
•
•
•
Four AF classes
Programmable bandwidth partition, with option of WFQ service
Option of delay-bounded service keeps delay under fixed levels even if
not admission-controlled
Random early discard, with programmable levels
Global buffer reservation for each AF class
•
•
Best Effort (BE)
•
•
•
•
Two BE classes
Service only when other queues are idle means that QoS not adversely
affected
Random early discard, with programmable levels
Traffic from flow control enabled ports automatically classified as BE
Table 5- MVTX2803AG Features Enabling IETF Diffserv Standards
8.0
Port Trunking
8.1
Features and Restrictions
A port group (i.e. trunk) can include up to 8 physical ports, but all of the ports in a group must be in the same
MVTX2803AG.
The MVTX2803AG provides several pre-assigned trunk group options, containing as many as 4 ports per
group, or alternatively, as many as 4 total groups.
Load distribution among the ports in a trunk for unicast is performed using hashing based on source MAC
address and destination MAC address. The other options include source MAC address only, destination MAC
address only. Load distribution for multicast is performed similarly.
If a VLAN includes any of the ports in a trunk group, all the ports in that trunk group should be in the same
VLAN member map.
The MVTX2803AG also provides a safe fail-over mode for port trunking automatically. If one of the ports in the
trunking group goes down, the MVTX2803AG will automatically redistribute the traffic over to the remaining
ports in the trunk in unmanaged mode. In managed mode, the software can perform similar tasks.
8.2
Unicast Packet Forwarding
The search engine finds the destination MCT entry, and if the status field says that the destination address
found belongs to a trunk, then the group number is retrieved instead of the port number. In addition, if the
source address belongs to a trunk, then the source port’s trunk membership register is checked to determine if
the address has moved.
A hash key is used to determine the appropriate forwarding port, based on some combination of the source
and destination MAC addresses for the current packet.
The search engine retrieves the VLAN member ports from the VLAN index table, which consists of 4K entries.
The search engine retrieves the VLAN member ports from the ingress port’s VLAN map. Based on the
destination MAC address, the search engine determines the egress port from the MCT database. If the egress
port is a member of a trunk group, the packet can be distributed to the other members of that trunk group. The
VLAN map is used to check whether the egress port is a member of the VLAN, based on the ingress port. If it
is a member, the packet is forwarded otherwise it is discarded.
18
SEMICMF.019
MVTX2803AG
Data Sheet
8.3
Multicast Packet Forwarding
For multicast packet forwarding, the device must determine the proper set of ports from which to transmit the
packet based on the VLAN index and hash key.
Two functions are required in order to distribute multicast packets to the appropriate destination ports in a port
trunking environment.
•
•
Determining one forwarding port per group.
For multicast packets, all but one port per group, the forwarding port, must be excluded.
8.4
Preventing Multicast Packets from Looping Back to the Source Trunk
The search engine needs to prevent a multicast packet from sending to a port that is in the same trunk group
with the source port. This is because, when selecting the primary forwarding port for each group, it does not
take the source port into account. To prevent this, simply apply one additional filter, so as to block that
forwarding port for this multicast packet.
9.0
9.1
LED Interface
Introduction
The MVTX2803AG LED block provides two interfaces: a serial output channel, and a parallel time-division
interface. The serial output channel provides port status information from the MVTX2803AG chip in a
continuous serial stream. This means that a low cost external device must be used to decode the serial data
and to drive an LED array for display.
By contrast, the parallel time-division interface supports a glueless LED module. Indeed, the parallel interface
can directly drive low-current LEDs without any extra logic. The pin LED_PM is used to select serial or parallel
mode.
For some LED signals, the interface also provides a blinking option. Blinking may be enabled for LED signals
TxD, RxD, COL, and FC (to be described later). The pin LED_BLINK is used to enable blinking, and the
blinking frequency is around 160 ms.
9.2
Serial Mode
In serial mode, the following pins are utilized:
• LED_SYNCO – a sync pulse that defines the boundary between status frames
• LED_CLKO – the clock signal
• LED_DO – a continuous serial stream of data for all status LEDs that repeats once every frame time
In each cycle (one frame of status information, or one sync pulse), 16×8 bits of data are transmitted on the
LED_DO signal. The sequence of transmission of data bits is as shown in the figure below:
LE_SYNCO
LE_DO
P0
info
P1
info
P2
info
P3
info
P4
info
P5
info
P6
info
P7
info
U0
U1
U2
U3
U4
U5
U6
U7
LE_CLKO
0
1
2
3
4
5
6
7
FC
TxD
RxD
LNK
SP0
SP1
FDX
COL
Figure 5 - Timing diagram for serial mode in LED interface
SEMICMF.019
19
MVTX2803AG
Data Sheet
The status bits shown in here are flow control (FC), transmitting data (TxD), receiving data (RxD), link up
(LNK), speed (SP0 and SP1), full duplex (FDX), and collision (COL). Note that SP[1:0] is defined as 10 for 1
Gbps, 01 for 100 Mbps, and 00 for 10 Mbps.
Also note that U0-U7 represent user-defined sub-frames in which additional status information may be
embedded. We will see later that the MVTX2803AG provides registers that can be written by the CPU to
indicate this additional status information as it becomes available.
9.3
Parallel Mode
In parallel mode, the following pins are utilized:
•
LED_PORT_SEL[9:0] – indicates which of the 8 Gigabit port status bytes or 2 user-defined status bytes is
being read out
• LED_BYTEOUT_[7:0] – provides 8 bits for 8 different port status indicators. Note that these bits are active
low.
By default, the system is in parallel mode. In parallel mode, the 10 status bytes are scanned in a continuous
loop, with one byte read out per clock cycle, and the appropriate port select bit asserted.
9.4
LED Control Registers
An LED Control Register can be used for programming the LED clock rate, sample hold time, and pattern in
parallel mode.
In addition, the MVTX2803AG provides 8 registers called LEDUSER[7:0] for user-defined status bytes. During
operation, the CPU can write values to these registers, which will be read out to the LED interface output
(serial or parallel). Only LEDUSER[1:0] are used in parallel mode. The content of the LEDUSER registers will
be sent out by the LED serial shift logic, or in parallel mode, a byte at a time.
Because in parallel mode there are only two user-defined registers, LEDUSER[7:2] is shared with
LEDSIG[7:2].
For LEDSIG[j], where j = 2, 3, ..., 6, the corresponding register is used for programming the LED pin
LED_BYTEOUT_[j]. The format is as follows:
7
COL
FDX
Bits [3:0]
4
3
SP0
COL
SP1
0
FDX
SP1
SP0
Signal polarity: 0: do not invert polarity (high true)
1: invert polarity
Bits [7:4]
Signal select:
0: do not select
1: select the corresponding bit
For j = 2, 3, 4, 5, the value of LED_BYTEOUT_[j] equals the logical AND of all selected bits. For j = 6, the
value is equal to the logical OR. Therefore, the programmable LEDSIG[5:2] registers allow any conjunctive
formula including any of the 4 status bits (COL, FDX, SP1, SP0) or their negations to be sent to the
LED_BYTEOUT_[5:2] pins. Similarly, the programmable LEDSIG[6] register allows any disjunctive formula
including any of the 4 status bits or their negations to be sent to pin LED_BYTEOUT_[6].
LEDSIG[7] is used for programming both LED_BYTEOUT_[1] and LED_BYTEOUT_[0]. As we will see, it has
other functions as well. The format is as follows:
4
7
GP
20
RxD
TxD
FC
3
P6
0
RxD
TxD
FC
SEMICMF.019
MVTX2803AG
Data Sheet
Bits [7]
•
Global output polarity: this bit controls the output polarity of all LED_BYTEOUT_ and
LED_PORT_SEL pins. (Default 0)
0: do not invert polarity (LED_BYTEOUT_[7:0] are high activated;
LED_PORT_SEL[9:0] are low activated)
1: invert polarity (LED_BYTEOUT_[7:0] are low activated; LED_PORT_SEL[9:0] are
high activated)
Bits [6:4]
•
Signal select:
0: do not select
1: select the corresponding bit
Bit [3]
•
The value of LED_BYTEOUT_[1] equals the logical OR of all selected bits.
(Default 110)
•
Polarity control of LED_BYTEOUT_[6] (Default 0)
0: do not invert
1: invert
Bits [2:0]
•
Signal select:
0: do not select
1: select the corresponding bit
•
The value of LED_BYTEOUT_[0] equals the logical OR of all selected bits.
(Default 001)
10.0
Register Definition
10.1
MVTX2803AG Register Description
Register
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
Notes
ETHERNET Port Control Registers – Substitute [N] with Port number (0..7)
ECR1P”N”
Port Control Register 1 for Port
N (N=0-7)
000 + 2N
R/W
000+2N
c0
ECR2P”N”
Port Control Register 2 for Port
N (N=0-7)
001 + 2N
R/W
001+2N
00
ECRMISC1
Port Control Misc1
010
R/W
010
c0
ECRMISC2
Port Control Misc 2
011
R/W
011
00
GGCONTROL0
Extra Gigabit Port Control –
port 0,1
012
R/W
N/A
00
GGCONTROL1
Extra Gigabit Port Control –
port 2,3
013
R/W
N/A
00
GGCONTROL2
Extra Gigabit Port Control –
port 4,5
014
R/W
N/A
00
GGCONTROL3
Extra Gigabit Port Control –
port 6,7
015
R/W
N/A
00
ACTIVELINK
Active Link status port 7:0
016
R/W
N/A
00
SEMICMF.019
21
MVTX2803AG
Register
Data Sheet
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
Notes
VLAN Control Registers – Substitute [N] with Port number (0..8)
AVTCL
VLAN Type Code Register
Low
100
R/W
012
00
AVTCH
VLAN Type Code Register
High
101
R/W
013
81
PVMAP”N”_0
Port “N” Configuration Register
0 (N=0-8)
102 + 4N
R/W
014+4N
ff
PVMAP”N”_1
Port “N” Configuration Register
1 (N=0-8)
103 + 4N
R/W
015+4N
ef
PVMAP”N”_2
Port “N” Configuration Register
2 (N=0-8)
104 + 4N
R/W
016+4N
00
PVMAP”N”_3
Port “N” Configuration Register
3 (N=0-8)
105 + 4N
R/W
017+4N
00
PVMODE
VLAN Operating Mode
126
R/W
038
00
TRUNK0
Trunk group 0 Member
200
R/W
NA
00
TRUNK1
Trunk group 1 Member
201
R/W
NA
00
TRUNK2
Trunk group 2 Member
202
R/W
NA
00
TRUNK3
Trunk group 3 Member
203
R/W
NA
00
SINGLE_RING
Single ring port map
204
R/W
NA
TRUNK_RING
Trunk ring port map
205
R/W
NA
TRUNK_HASH_MODE
Trunk hash mode
206
R/W
NA
00
TRUNK0_MODE
Trunk Group 0 Mode
207
R/W
039
00
TRUNK0_HASH0
Trunk Group 0 Hash 0, 1, 2
Destination Port
208
R/W
NA
08
TRUNK0_HASH1
Trunk Group 0 Hash 2, 3, 4, 5
Destination Port
209
R/W
NA
82
TRUNK0_HASH2
Trunk Group 0 Hash 5, 6, 7
Destination Port
20A
R/W
NA
20
TRUNK0_HASH3
Trunk Group 0 Hash 8, 9, 10
Destination Port
20B
R/W
NA
08
TRUNK0_HASH4
Trunk Group 0 Hash 10, 11,
12, 13 Destination Port
20C
R/W
NA
82
TRUNK0_HASH5
Trunk Group 0 Hash 13, 14, 15
Destination Port
20D
R/W
NA
20
TRUNK1_MODE
Trunk Group 1 Mode
20E
R/W
03A
00
TRUNK1_HASH0
Trunk Group 1 Hash 0, 1, 2
Destination Port
20F
R/W
NA
08
TRUNK Control Registers
22
SEMICMF.019
MVTX2803AG
Data Sheet
Register
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
TRUNK1_HASH1
Trunk Group 1 Hash 2, 3, 4, 5
Destination Port
210
R/W
NA
82
TRUNK1_HASH2
Trunk Group 1 Hash 5, 6, 7
Destination Port
211
R/W
NA
20
TRUNK1_HASH3
Trunk Group 1 Hash 8, 9, 10
Destination Port
212
R/W
NA
08
TRUNK1_HASH4
Trunk Group 1 Hash 10, 11,
12, 13 Destination
213
R/W
NA
82
TRUNK1_HASH5
Trunk Group 1 Hash 13, 14, 15
Destination
214
R/W
NA
20
TRUNK2_HASH0
Trunk Group 2 Hash 0, 1, 2
Destination Port
215
R/W
NA
2c
TRUNK2_HASH1
Trunk Group 2 Hash 2, 3, 4, 5
Destination Port
216
R/W
NA
cb
TRUNK2_HASH2
Trunk Group 2 Hash 5, 6, 7
Destination Port
217
R/W
NA
b2
TRUNK2_HASH3
Trunk Group 2 Hash 8, 9, 10
Destination Port
218
R/W
NA
2c
TRUNK2_HASH4
Trunk Group 2 Hash 10, 11,
12, 13 Destination Port
219
R/W
NA
cb
TRUNK2_HASH5
Trunk Group 2 Hash 13, 14, 15
Destination Port
21A
R/W
NA
b2
TRUNK3_HASH0
Trunk Group 3 Hash 0, 1, 2
Destination Port
21B
R/W
NA
2c
TRUNK3_HASH1
Trunk Group 3 Hash 2, 3, 4, 5
Destination Port
21C
R/W
NA
cb
TRUNK3_HASH2
Trunk Group 3 Hash 5, 6, 7
Destination Port
21D
R/W
NA
b2
TRUNK3_HASH3
Trunk Group 3 Hash 8, 9, 10
Destination Port
21E
R/W
NA
2c
TRUNK3_HASH4
Trunk Group 3 Hash 10, 11,
12, 13 Destination Port
21F
R/W
NA
Bc
TRUNK3_HASH5
Trunk Group 3 Hash 13, 14, 15
Destination Port
220
R/W
NA
b2
Multicast_HASH00
Multicast hash result 0 mask
bit[7:0]
221
R/W
NA
ff
Multicast_HASH01
Multicast hash result 1 mask
bit[7:0]
222
R/W
NA
ff
Multicast_HASH02
Multicast hash result 2 mask
bit[7:0]
223
R/W
NA
ff
SEMICMF.019
Notes
23
MVTX2803AG
Register
Data Sheet
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
Multicast_HASH03
Multicast hash result 3 mask
bit[7:0]
224
R/W
NA
ff
Multicast_HASH04
Multicast hash result 4 mask
bit[7:0]
225
R/W
NA
ff
Multicast_HASH05
Multicast hash result 5 mask
bit[7:0]
226
R/W
NA
ff
Multicast_HASH06
Multicast hash result 6 mask
bit[7:0]
227
R/W
NA
ff
Multicast_HASH07
Multicast hash result 7 mask
bit[7:0]
228
R/W
NA
ff
Multicast_HASH08
Multicast hash result 8 mask
bit[7:0]
229
R/W
NA
ff
Multicast_HASH09
Multicast hash result 9 mask
bit[7:0]
22A
R/W
NA
fff
Multicast_HASH10
Multicast hash result 10 mask
bit[7:0]
22B
R/W
NA
ff
Multicast_HASH11
Multicast hash result 11 mask
bit[7:0]
22C
R/W
NA
ff
Multicast_HASH12
Multicast hash result 12 mask
bit[7:0]
22D
R/W
NA
ff
Multicast_HASH13
Multicast hash result 13 mask
bit[7:0]
22E
R/W
NA
ff
Multicast_HASH14
Multicast hash result 14 mask
bit[7:0]
22F
R/W
NA
ff
Multicast_HASH15
Multicast hash result 15 mask
bit[7:0]
230
R/W
NA
ff
Multicast_HASHML
Multicast hash bit[8] for result
7-0
231
R/W
NA
ff
Multicast HASHMH
Multicast hash bit[8] for result
15-8
232
R/W
NA
ff
MAC0
CPU MAC Address byte 0
300
R/W
NA
00
MAC1
CPU MAC Address byte 1
301
R/W
NA
00
MAC2
CPU MAC Address byte 2
302
R/W
NA
00
MAC3
CPU MAC Address byte 3
303
R/W
NA
00
MAC4
CPU MAC Address byte 4
304
R/W
NA
00
MAC5
CPU MAC Address byte 5
305
R/W
NA
00
INT_MASK0
Interrupt Mask 0
306
R/W
NA
ff
INT_MASK1
Interrupt Mask 1
307
R/W
NA
ff
Notes
CPU Port Configuration
24
SEMICMF.019
MVTX2803AG
Data Sheet
Register
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
INT_MASK2
Interrupt Mask 2
308
R/W
NA
ff
INT_MASK3
Interrupt Mask 3
309
R/W
NA
ff
INT_STATUS0
Status of Masked Interrupt
Register0
30A
RO
NA
INT_STATUS1
Status of Masked Interrupt
Register1
30B
RO
NA
INTP_MASK”N”
Interrupt Mask for MAC Port
2n, 2n+1 ( n=0-3)
30C-30F
R/W
NA
ff
RQS
Receive Queue Select
310
R/W
NA
00
RQSS
Receive Queue Status
311
RO
NA
TX_AGE
Transmission Queue Aging
Time
312
R/W
03B
08
Notes
Search Engine Configurations
AGETIME_LOW
MAC Address Aging Time Low
400
R/W
03C
2c
AGETIME_HIGH
MAC Address Aging Time
High
401
R/W
03D
00
V_AGETIME
VLAN to Port Aging Time
402
R/W
NA
ff
SE_OPMODE
Search Engine operation
mode
403
R/W
NA
00
SCAN
Scan Control Register
404
R/W
NA
00
Buffer Control and QOS Control
FCBAT
FCB Aging Timer
500
R/W
03E
ff
QOSC
QOS Control
501
R/W
03F
00
FCR
Flooding Control Register
502
R/W
040
08
AVPML
VLAN Priority Map Low
503
R/W
041
88
AVPMM
VLAN Priority Map Middle
504
R/W
042
c6
AVPMH
VLAN Priority Map High
505
R/W
043
fa
TOSPML
TOS Priority Map Low
506
R/W
044
88
TOSPMM
TOS Priority Map Middle
507
R/W
045
c6
TOSPMH
TOS Priority Map High
508
R/W
046
fa
AVDM
VLAN Discard Map
509
R/W
047
00
TOSDML
TOS Discard Map
50A
R/W
048
00
BMRC
Broadcast/Multicast Rate
Control
50B
R/W
049
00
UCC
Unicast Congestion Control
50C
R/W
04A
07
MCC
Multicast Congestion Control
50D
R/W
04B
48
SEMICMF.019
25
MVTX2803AG
Data Sheet
Register
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
PR100
Port Reservation for 10/100
Ports
50E
R/W
04C
00
PRG
Port Reservation for Giga
Ports
50F
R/W
04D
26
SFCB
Share FCB Size
510
R/W
04E
37
C2RS
Class 2 Reserved Size
511
R/W
04F
00
C3RS
Class 3 Reserved Size
512
R/W
050
00
C4RS
Class 4 Reserved Size
513
R/W
051
00
C5RS
Class 5 Reserved Size
514
R/W
052
00
C6RS
Class 6 Reserved Size
515
R/W
053
00
C7RS
Class 7 Reserved Size
516
R/W
054
00
QOSC”N”
QOS Control (N=0 – 2F)
517–546
R/W
055-084
QOSC”N”
QOS Control (N=30 – 82)
547-599
R/W
NA
RDRC0
WRED Rate Control 0
59A
R/W
085
8e
RDRC1
WRED Rate Control 1
59B
R/W
086
68
Notes
MISC Configuration Registers
MII_OP0
MII Register Option 0
600
R/W
0B1
00
MII_OP1
MII Register Option 1
601
R/W
0B2
00
FEN
Feature Registers
602
R/W
0B3
10
MIIC0
MII Command Register 0
603
R/W
N/A
00
MIIC1
MII Command Register 1
604
R/W
N/A
00
MIIC2
MII Command Register 2
605
R/W
N/A
00
MIIC3
MII Command Register 3
606
R/W
N/A
00
MIID0
MII Data Register 0
607
RO
N/A
00
MIID1
MII Data Register 1
608
RO
N/A
00
LED
LED Control Register
609
R/W
0B4
38
DEVICE
Device id and test
60A
R/W
0B5
00
CHECKSUM
EEPROM Checksum Register
60B
R/W
0C5
00
LEDUSER0
LED User Define Register 0
60C
R/W
0BB
00
LEDUSER1
LED User Define Register 1
60D
R/W
0BC
00
LEDUSER2
LED User Define Reg.
2/LED_byte pin 2
60E
R/W
0BD
80
LEDUSER3
LED User Define Reg.
3/LED_byte pin 3
60F
R/W
0BE
33
26
SEMICMF.019
MVTX2803AG
Data Sheet
Register
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
LEDUSER4
LED User Define Reg.
4/LED_byte pin 4
610
R/W
0BF
32
LEDUSER5
LED User Define Reg.
5/LED_byte pin 5
611
R/W
0C0
20
LEDUSER6
LED User Define Reg.
6/LED_byte pin 6
612
R/W
0C1
40
LEDUSER7
LED User Define Reg.
7/LED_byte pin 1 & 0
613
R/W
0C2
61
MIINP0
MII NEXT PAGE DATA
REGISTER0
614
R/W
0C3
00
MIINP1
MII NEXT PAGE DATA
REGISTER1
615
R/W
0C4
00
DTSRL
Test Register Low
E00
R/W
N/A
00
DTSRM
Test Register Medium
E01
R/W
N/A
01
DTSRH
Test Register High
E02
R/W
N/A
00
TDRB0
TEST MUX read back register
[7:0]
E03
RO
N/A
TDRB1
TEST MUX read back register
[15:8]
E04
RO
N/A
DTCR
Test Counter Register
E05
R/W
N/A
00
MASK0
MASK Timeout 0
E06
R/W
0B6
00
MASK1
MASK Timeout 1
E07
R/W
0B7
00
MASK2
MASK Timeout 2
E08
R/W
0B8
00
MASK3
MASK Timeout 3
E09
R/W
0B9
00
MASK4
MASK Timeout 4
E0A
R/W
0BA
00
00
Notes
Test Group Control
Device Configuration Register
GCR
Global Control Register
F00
R/W
N/A
DCR
Device Status and Signature
Register
F01
RO
N/A
DCR01
Gigabit Port0 Port1 Status
Register
F02
RO
NA
DCR23
Gigabit Port2 Port3 Status
Register
F03
RO
NA
DCR45
Gigabit Port4 Port5 Status
Register
F04
RO
NA
DCR67
Gigabit Port6 Port7 Status
Register
F05
RO
NA
SEMICMF.019
27
MVTX2803AG
Data Sheet
Register
Description
CPU
Addr
(Hex)
R/W
I 2C
Addr
(Hex)
Default
00
DPST
Device Port Status Register
F06
R/W
N/A
DTST
Data read back register
F07
RO
N/A
PLLCR
PLL Control Register
F08
R/W
N/A
00
LCLKCR
LCLK Control Register
F09
R/W
N/A
00
BCLKCR
BCLK Control Register
F0A
R/W
N/A
00
BSTRRB0
BOOT STRAP read back
register 0
F0B
RO
N/A
BSTRRB1
BOOT STRAP read back
register 1
F0C
RO
N/A
BSTRRB2
BOOT STRAP read back
register 2
F0D
RO
N/A
BSTRRB3
BOOT STRAP read back
register 3
F0E
RO
N/A
BSTRRB4
BOOT STRAP read back
register 4
F0F
RO
N/A
BSTRRB5
BOOT STRAP read back
register 5
F10
RO
N/A
DA
DA Register
FFF
RO
N/A
Note:
Note:
Note:
Note:
Note:
28
1.
2.
3.
4.
5.
Notes
da
se = Search Engine
fe = Frame Engine
pgs = Port Group01, 23, 45, and 67
mc = MAC Control
tm = time
SEMICMF.019
MVTX2803AG
Data Sheet
10.2
Group 0 Address - MAC Ports Group
10.2.1
ECR1Pn: Port N Control Register
2
I C Address h00+2n; Serial Interface Address:h000+2n (n=0 to 7)
Accessed by serial interface and I2C (R/W)
7
6
Sp State
Bit [4:0]
Bit [4:3]
•
5
4
3
A-FC
Port Mode
2
1
0
Port Mode (Default 2’b00)
00 - Automatic Enable Auto-Negotiation – This enables hardware state
machine for auto-negotiation.
01 - Limited Disable auto-Negotiation – This disables hardware for speed
auto-negotiation. Hardware Polls MII for link status.
10 - Link Down - Force link down (disable the port). Does not talk to PHY.
11 - Link Up – Does not talk to PHY. User ERC1 [2:0] for config.
Bit [2]
1 – 10Mbps (Default 1’b0)
0 – 100Mbps
Bit 2 is used only when the port is in MII (10/100) mode.
Bit [1]
1 – Half Duplex (Do not use) (Default 1’b0)
0 – Full Duplex
SEMICMF.019
29
MVTX2803AG
Data Sheet
Bit [0]
1 – Flow Control Off (Default 1’b0)
0 – Flow Control On
Bit [5]
•
•
When flow control is on:
In full duplex mode, the MAC transmitter sends Flow Control Frames when
necessary. The MAC receiver interprets and processes incomming flow
control frames. The Flow Control Frame Received counter is incremented
whenever a flow control frame is received.
•
•
When flow control is off:
In full duplex mode, the MAC transmitter does not send flow control frames.
The MAC receiver does not interpret or process the flow control frames. The
Flow Control Frame Receiver counter is not incremented.
•
Asymmetric Flow Control Enable.
0 – Disable asymmetric flow control
1 – Enable asymmetric flow control
Bit [7:6]
30
•
When this bit is set, and flow control is on (bit[0] = 0), don’t send out a flow
control frame. But MAC Receiver interprets and process flow control
frames. (Default is 0)
•
SS - Spanning tree state (802.1D spanning tree protocol). (Default 2’b11)
00 – Blocking: Frame is dropped
01 - Listening:
Frame is dropped
10 - Learning:
Frame is dropped. Source MAC address is learned.
11 - Forwarding:
Frame is forwarded. Source MAC address is learned.
SEMICMF.019
MVTX2803AG
Data Sheet
10.2.2
ECR2Pn: Port N Control Register
I2C Address: 01+2n; Serial Interface Address:h001+2n (n=0to7)
Accessed by serial interface (R/W)
7
0
Security En
Bit[0]:
RTsel
•
DisL
Ftf
Futf
Filter untagged frame (Default 0)
0: Disable
1: Enable – All untagged frames from this port are discarded or follow security option when security is enable
Bit[1]:
•
Filter Tag frame (Default 0)
0: Disable
1: Enable - All tagged frames from this port are discarded or follow security
option when security is enable
Bit[2]:
•
Learning Disable (Default 0)
0: Learning is enabled on this port
1: Learning is disabled on this port
Bit[3]:
•
Reserved
Bit [5:4:]
•
Reserved
Bit[7:6]
•
Security Enable (Default 00). The MVTX2804AG checks the incoming data
for one of the following conditions:
If the source MAC address of the incoming packet is in the MAC table and is
defined as secure address but the ingress port is not the same as the port
associated with the MAC address in the MAC table.
A MAC address is defined as secure when its entry at MAC table has static
status and bit 0 is set to 1. MAC address bit 0 (the first bit transmitted)
indicates whether the address is unicast or multicast. As source addresses
are always unicast bit 0 is not used (always 0). MVTX2804 uses this bit to
define secure MAC addresses.
If the port is set as learning disable and the source MAC address of the
incoming packet is not defined in the MAC address table.
If the port is configured to filter untagged frames and an untagged frame
arrives or if the port is configured to filter tagged frames and a tagged frame
arrives.
•
•
•
•
•
If one of these three conditions occurs, the packet will be handled according
to one of the following specified options:
00 – Disable port security
01 – Enable port security. Port will be disabled when security violation is
detected
10 – N/A
11 – N/A
SEMICMF.019
31
MVTX2803AG
10.2.3
Data Sheet
ECRMISC1 – CPU Port Control Register MISC1
I2C Address h10, Serial Interfce Address:h010
Access by serial interface and I2C (R/W)
5
7
SS state
Reserved
Bit [7:0]
10.2.4
0
•
Reserved
ECRMISC2 – CPU Port Control Register MISC2
(I2C Address h11, Serial Interface Address:011)
Access by serial interface and I2C (R/W)
0
7
Security En
RTsel
Bit [7:0]
10.2.5
•
DisL
Ftf
Futf
Reserved
GGControl 0– Extra GIGA Port Control
Serial Interface Address:h012
Accessed by and serial interface (R/W)
7
DFC1
Bit[0]:
DI1
•
5
4
MII1
Rst1
DFC0
DI0
1
0
MII0
Rst0
Reset GIGA port 0 (Default is 0)
0: Normal operation
1: Reset Gigabit port 0.
Bit[1]:
•
GIGA port 0 use MII interface (10/100M) (Default is 0)
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
Bit[2]:
•
Reserved -Must be '0' (Default 0)
Bit[3]:
•
Reserved – Must be ‘0’
Bit[4]:
•
Reset GIGA port 1 (Default 0)
0: Normal operation
1: Reset Gigabit port 1.
32
SEMICMF.019
MVTX2803AG
Data Sheet
Bit[5]:
•
GIGA port 1 use MII interface (10/100M) (Default 0)
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
10.2.6
Bit[6]:
•
Reserved - Must be '0' (Default 0)
Bit[7]:
•
Reserved – Must be ‘0’
GGControl 1– Extra GIGA Port Control
Serial Interface Address:h013
Accessed by CPU and serial interface (R/W)
7
DFC3
Bit[0]:
DI3
•
5
4
MII3
Rst3
DFC2
DI2
1
0
MII2
Rst2
Reset GIGA port 2 Default is 0
0: Normal operation
1: Reset Gigabit port 2
Bit[1]:
•
GIGA port 2 use MII interface (10/100M) Default is 0
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
Bit[2]:
•
Reserved - Must be '0' (Default '0')
Bit[3]:
•
Reserved – Must be ‘0’
Bit[4]:
•
Reset GIGA port 3 Default is 0
0: Normal operation
1: Reset Gigabit port 3.
Bit[5]:
•
GIGA port 3 use MII interface (10/100M) Default is 0
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
10.2.7
Bit[6]:
•
Reserved - Must be '0' (Default '0')
Bit[7]:
•
Reserved – Must be ‘0’
GGControl 2– Extra GIGA Port Control
Serial Interface Address:h014
Accessed by CPU and serial interface (R/W)
7
DFC5
SEMICMF.019
DI5
5
4
MII5
Rst5
DFC4
DI4
1
0
MII4
Rst4
33
MVTX2803AG
Bit[0]:
•
Data Sheet
Reset GIGA port 4 Default is 0
0: Normal operation
1: Reset Gigabit port 4.
Bit[1]:
•
GIGA port 4 use MII interface (10/100M) Default is 0
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
Bit[2]:
•
Reserved - Must be '0' (Default 0)
Bit[3]:
•
Reserved – Must be ‘0’
Bit[4]:
•
Reset GIGA port 5 Default is 0
0: Normal operation
1: Reset Gigabit port 5.
Bit[5]:
•
GIGA port 5 use MII interface (10/100M) Default is 0
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
10.2.8
Bit[6]:
•
Reserved - Must be '0' (Default 0)
Bit[7]:
•
Reserved – Must be ‘0’
GGControl 3– Extra GIGA Port Control
Serial Interface Address:h015
Accessed by CPU and serial interface (R/W)
7
DFC7
Bit[0]:
DI7
•
5
4
MII7
Rst7
DFC6
DI6
1
0
MII6
Rst6
Reset GIGA port 6 Default is 0
0: Normal operation
1: Reset Gigabit port 6.
Bit[1]:
•
GIGA port 6 use MII interface (10/100M) Default is 0
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
Bit[2]:
•
Reserved - Must be '0' (Default 0)
Bit[3]:
•
Reserved – Must be ‘0’
Bit[4]:
•
Reset GIGA port 7 Default is 0
0: Normal operation
1: Reset Gigabit port 7.
34
SEMICMF.019
MVTX2803AG
Data Sheet
Bit[5]:
•
GIGA port 7 use MII interface (10/100M) Default is 0
0: Gigabit port operation at 1000M mode
1: Gigabit port operation at 10/100M mode (MII)
Bit[6]:
•
Reserved - Must be '0' (Default 0)
Bit[7]:
•
Reserved – Must be ‘0’
10.3
Group 1 Address - VLAN Group
10.3.1
AVTCL – VLAN Type Code Register Low
I2C Address h12; Serial Interface Address:h100
Accessed by serial interface and I2C (R/W)
Bit[7:0]:
10.3.2
VLANType_LOW: Lower 8 bits of the VLAN type code (Default 00)
AVTCH – VLAN Type Code Register High
I2C Address h13; Serial Interface Address:h101
Accessed by serial interface and I2C (R/W)
Bit [7:0] VLANType_HIGH: Upper 8 bits of the VLAN type code (Default is 81)
10.3.3
PVMAP00_0 – Port 00 Configuration Register 0
I2C Address h14, Serial Interface Address:h102
Accessed by serial interface and I2C (R/W)
Port Based VLAN Mode
This register indicates the legal egress ports. Example: A “1” on bit 7 means that packets arriving on port 0 can
be sent to port 7. A “0” on bit 7 means that any packet destined to port 7 will be discarded.
Bit[7:0]:
•
VLAN Mask for ports 7 to 0 (Default FF)
0 – Disable
1 - Enable
10.3.4
PVMAP00_1 – Port 00 Configuration Register 1
I2C Address h15, Serial Interface Address:h103
Accessed by serial interface and I2C (R/W)
Port Based VLAN Mode
Bit[7:0]:
SEMICMF.019
Reserved (Default is FF)
35
MVTX2803AG
10.3.5
Data Sheet
PVMAP00_2 – Port 00 Configuration Register 2
I2C Address h16, Serial Interface Address:h104
Accessed by serial interface and I2C (R/W)
This registered is unused
10.3.6
PVMAP00_3 – Port 00 Configuration Register 3
I2C Address h17, Serial Interface Address:h105)
Accessed by serial interface and I2C (R/W)
Port Based Mode
7
6
5
3
FP en
Drop
Default TX priority
Bit [1:0]:
•
Reserved (Default 0)
Bit [2]:
•
Force untagout (Default 0)
0 Disable
2
1
0
FNT
IF
Reserved
1 Force untag output
All packets transmitted from this port are untagged. This register is used
when this port is connected to legacy equipment that does not support
VLAN tagging.
Bit [5:3]:
•
Fixed Transmit priority. Used when bit[7] = 1 (Default 0)
000 Transmit Priority Level 0 (Lowest)
001 Transmit Priority Level 1
010 Transmit Priority Level 2
011 Transmit Priority Level 3
100 Transmit Priority Level 4
101 Transmit Priority Level 5
110 Transmit Priority Level 6
111 Transmit Priority Level 7 (Highest)
Bit [6]:
•
Fixed Discard priority (Default 0)
0 – Discard Priority Level 0 (Lowest)
1 – Discard Priority Level 7(Highest)
Bit [7]:
•
Enable Fix Priority (Default 0)
0 Disable fix priority. All frames are analyzed. Transmit Priority and Drop
Priority are based on VLAN Tag, TOS or Logical Port.
1 Transmit Priority and Discard Priority are based on values programmed
in bit [6:3]
36
SEMICMF.019
MVTX2803AG
Data Sheet
Port VLAN Map
PVMAP00_0,1,2,3 I2C Address h14,15,16,17; Serial Interface Address:h102,103,104,105)
PVMAP01_0,1,2,3 I2C Address h18,19,1A,1B; Serial Interface Address:h106,107,108,109)
PVMAP02_0,1,2,3 I2C Address h1C,1D,1E,1F; Serial Interface Address:h10A, 10B, 10C, 10D)
PVMAP03_0,1,2,3 I2C Address h20,21,22,23; Serial Interface Address:h10E, 10F, 110, 111)
PVMAP04_0,1,2,3 I2C Address h24,25,26,27; Serial Interface Address:h112, 113, 114, 115)
PVMAP05_0,1,2,3 I2C Address h28,29,2A,2B; Serial Interface Address:h116, 117, 118, 119)
PVMAP06_0,1,2,3 I2C Address h2C,2D,2E,2F; Serial Interface Address:h11A, 11B, 11C, 11D)
PVMAP07_0,1,2,3 I2C Address h30,31,32,33; Serial Interface Address:h11E, 11F, 120, 121)
PVMAP08_0,1,2,3 I2C Address h34,35,36,37; Serial Interface Address:h122, 123, 124, 125) (Reserved)
10.3.7
PVMODE
I2C Address: h038, Serial Interface Address:h126
Accessed by serial interface (R/W)
7
RO
MP
BPDU
4
3
DM
Reserved
Bit [0]:
•
Reserved
Must be '0'
Bit [4]:
•
Disable MAC address 0
0: MAC address 0 is not leaned.
1
0
Vmod
1: MAC address 0 is leaned.
Bit [5]:
•
Force BPDU as multicast frame (Default 0)
1: Enable. BPDU frames (frames with destination MAC address in the
range of 01-80-C2 00-00-00 through 01-80-C2-00-00-0F) are forwarded
as multicast frames.
0: Disable. Drop frames in this range.
Bit [6]:
•
MAC/PORT
0: Single MAC address per system
1: Single MAC address per port
Bit [7]:
•
Reserved
10.4
Group 2 Address - Port Trunking Group
10.4.1
TRUNK0 – Trunk group 0 Member (Managed Mode Only)
Serial Interface Address:h200
Accessed by serial interface (R/W)
Bit [7:0] Reserved
SEMICMF.019
37
MVTX2803AG
10.4.2
Data Sheet
TRUNK1 – Trunk group 1 Member (Managed Mode Only)
Serial Interface Address:h201
Accessed by serial interface (R/W)
Bit [7:0] Reserved
10.4.3
TRUNK2– Trunk group 2 Member (Managed Mode Only)
Serial Interface Address:h202
Accessed by serial interface (R/W)
Bit [7:0] Reserved
10.4.4
TRUNK3– Trunk group 3 Member (Managed Mode Only)
Serial Interface Address:203
Accessed by serial interface and I2C (R/W)
Bit [7:0] Reserved
10.4.5
TRUNK_HASH_MODE – Trunk hash mode
Serial Interface Address:h206
Accessed by serial interface (R/W)
Bit [7:0] Reserved
10.4.6
TRUNK0_MODE – Trunk group 0 and 1 mode
I2C Address: h039, Serial Interface Address:h207
Accessed by serial interface and I2C (R/W)
Port Selection in unmanaged mode. Trunk group 0 and trunk group 1 are enable accordingly to bit [1:0] when
input pin P_d[9] = 0 (external pull down).
7
0
Port sel
Bit [1:0]:
•
Port member selection for Trunk 0 and 1 in unmanaged mode (Default
2’b00)
00 – Only trunk group 0 is enable. Port 0 and 1 are used for trunk group0
01 – Only trunk group 0 is enable. Port 0,1 and 2 are used for trunk
group0
10 – Only trunk group 0 is enable. Port 0,1,2 and 3 are used for trunk
group0
11 – Trunk group 0 and 1 are enable. Port 0, 1 used for trunk group0,
and port 2 and 3 are used for trunk group1
10.4.7
TRUNK0_HASH0 – Trunk group 0 hash result 0,1,2 destination port number
Serial Interface Address:h208
Reserved
38
SEMICMF.019
MVTX2803AG
Data Sheet
10.4.8
TRUNK0_HASH1 – Trunk group 0 hash result 2,3,4,5 destination port number
Serial Interface Address:h209
Reserved
10.4.9
TRUNK0_HASH2 – Trunk group 0 hash result 5,6,7 destination port number
Serial Interface Address:h20A
Reserved
10.4.10 TRUNK0_HASH3 – Trunk group 0 hash result 8,9,10 destination port number
Serial Interface Address:h20B
Reserved
10.4.11 TRUNK0_HASH4 – Trunk group 0 hash result 10,11,12,13 destination port number
Serial Interface Address:h20C
Reserved
10.4.12 TRUNK0_HASH5 – Trunk group 0 hash result 13,14,15 destination port number
Serial Interface Address:h20D
Reserved
10.4.13 TRUNK1_MODE – Trunk group 1 mode (Unmanaged Mode)
I2C Address h03A; Serial Interface Address:h20E
Accessed by serial interface and I2C (R/W)
Port Selection in unmanaged mode. Trunk group 2 and Trunk group 3 are enable accordingly to bits [1:0] when
input pin P_d[10] = 0 (External pull down).
7
3
2
1
0
Port Select
Bit [1:0]:
•
Port member selection for Trunk 2 and 3 in unmanaged mode
00 – Only trunk group 2 is enable. Port 4 and 5 are used for trunk
group2
01 – Only trunk group 2 is enable. Port 4, 5 and 6 are used for
trunk group2
10 – Only trunk group 2 is enable. Port 4, 5, 6 and 7 are used for
trunk group2
11 – Trunk group 2 and trunk group 3 are enable. Port 4 and used
for trunk group2, and port 6 5 are and 7 are used for trunk group3
10.4.14 TRUNK1_HASH0 – Trunk group 1 hash result 0, 1, 2 destination port number
Serial Interface Address:h20F
Reserved
SEMICMF.019
39
MVTX2803AG
Data Sheet
10.4.15 TRUNK1_HASH1 – Trunk group 1 hash result 2, 3, 4, 5 destination port number
Serial Interface Address:h210
Reserved
10.4.16 TRUNK1_HASH2 – Trunk group 1 hash result 5, 6, 7 destination port number
Serial Interface Address:h211
Reserved
10.4.17 TRUNK1_HASH3 – Trunk group 1 hash result 8, 9, 10 destination port number
Serial Interface Address:h212
Reserved
10.4.18 TRUNK1_HASH4– Trunk group 1 hash result 11, 12, 13 destination port number
Serial Interface Address:h213
Reserved
10.4.19 TRUNK1_HASH5 – Trunk group 1 hash result 13, 14, 15 destination port number
Serial Interface Address:h214
Reserved
10.4.20 TRUNK2_HASH0 – Trunk group 2 hash result 0, 1, 2 destination port number
Serial Interface Address:h215
Reserved
10.4.21 TRUNK2_HASH1 – Trunk group 2 hash result 2, 3, 4, 5 destination port number
Serial Interface Address:h216
Reserved
10.4.22 TRUNK2_HASH2 – Trunk group 2 hash result 5, 6, 7 destination port number
Serial Interface Address:h217
Reserved
10.4.23 TRUNK2_HASH3 – Trunk group 2 hash result 8, 9, 10 destination port number
Serial Interface Address:h218
Reserved
10.4.24 TRUNK2_HASH4 – Trunk group 2 hash result 10, 11, 12, 13 destination port number
Serial Interface Address:h219
Reserved
10.4.25 TRUNK2_HASH5 – Trunk group 2 hash result 13, 14, 15 destination port number
Serial Interface Address:h21A
Reserved
40
SEMICMF.019
Data Sheet
MVTX2803AG
10.4.26 TRUNK3_HASH0 – Trunk group 3 hash result 0, 1, 2 destination port number
Serial Interface Address:h21B
Reserved
10.4.27 TRUNK3_HASH1 – Trunk group 3 hash result 2, 3, 4, 5 destination port number
Serial Interface Address:h21C
Reserved
10.4.28 TRUNK3_HASH2 – Trunk group 3 hash result 5, 6, 7 destination port number
Serial Interface Address:h21D
Reserved
10.4.29 TRUNK3_HASH3 – Trunk group 3 hash result 8, 9, 10 destination port number
Serial Interface Address:h21E
Reserved
10.4.30 TRUNK3_HASH4 – Trunk group 3 hash result 10, 11, 12, 13 destination port number
Serial Interface Address:h21F
Reserved
10.4.31 TRUNK3_HASH5 – Trunk group 3 hash result 13, 14, 15 destination port number
Serial Interface Address:h220
Reserved
10.4.32 Multicast Hash Registers
10.4.33 Multicast_HASH00 – Multicast hash result0 mask byte [7:0]
Serial Interface Address:h221
Accessed by serial interface (R/W)
Reserved
10.4.34 Multicast_HASH01 – Multicast hash result1 mask byte [7:0]
Serial Interface Address:h222
Accessed by serial interface (R/W)
Reserved
10.4.35 Multicast_HASH02 – Multicast hash result2 mask byte [7:0]
Serial Interface Address:h223
Accessed by serial interface (R/W)
Reserved
SEMICMF.019
41
MVTX2803AG
Data Sheet
10.4.36 Multicast_HASH03 – Multicast hash result3 mask byte [7:0]
Serial Interface Address:h224
Accessed by serial interface (R/W)
Reserved
10.4.37 Multicast_HASH04 – Multicast hash result4 mask byte [7:0]
Serial Interface Address:h225
Accessed by serial interface (R/W)
Reserved
10.4.38 Multicast_HASH05 – Multicast hash result5 mask byte [7:0]
Serial Interface Address:h226
Accessed by serial interface (R/W)
Reserved
10.4.39 Multicast_HASH06 – Multicast hash result6 mask byte [7:0]
Serial Interface Address:h227
Accessed by serial interface (R/W)
Reserved
10.4.40 Multicast_HASH07 – Multicast hash result7 mask byte [7:0]
Serial Interface Address:h228
Accessed by serial interface (R/W)
Reserved
10.4.41 Multicast_HASH08 – Multicast hash result8 mask byte [7:0]
Serial Interface Address:h229
Accessed by serial interface (R/W)
Reserved
10.4.42 Multicast_HASH09 – Multicast hash result9 mask byte [7:0]
Serial Interface Address:h22A
Accessed by serial interface (R/W)
Reserved
10.4.43 Multicast_HASH10 – Multicast hash result10 mask byte [7:0]
Serial Interface Address:h22B
Accessed by serial interface (R/W)
Reserved
42
SEMICMF.019
Data Sheet
MVTX2803AG
10.4.44 Multicast_HASH11 – Multicast hash result11 mask byte [7:0]
Serial Interface Address:h22C
Accessed by serial interface (R/W)
Reserved
10.4.45 Multicast_HASH12 – Multicast hash result12 mask byte [7:0]
Serial Interface Address:h22D
Accessed by serial interface (R/W)
Reserved
10.4.46 Multicast_HASH13 – Multicast hash result13 mask byte [7:0]
Serial Interface Address:h22E
Accessed by serial interface (R/W)
Reserved
10.4.47 Multicast_HASH14 – Multicast hash result14 mask byte [7:0]
Serial Interface Address:h22F
Accessed by serial interface (R/W)
Reserved
10.4.48 Multicast_HASH15 – Multicast hash result15 mask byte [7:0]
Serial Interface Address:h230
Accessed by serial interface (R/W)
Reserved
10.4.49 Multicast_HASHML – Multicast hash bit[8] for result7-0
Serial Interface Address:h231
Accessed by serial interface (R/W)
Reserved
10.4.50 Multicast_HASHMH – Multicast hash BIT[8] for result 15-8
Serial Interface Address:h232
Accessed by serial interface (R/W)
Reserved
10.5
Group 3 Address - CPU Port Configuration Group
10.5.1
MAC0 – CPU Mac address byte 0
Serial Interface Address:h300
Reserved
SEMICMF.019
43
MVTX2803AG
10.5.2
Data Sheet
MAC1 – CPU Mac address byte 1
Serial Interface Address:h301
Reserved
10.5.3
MAC2 – CPU Mac address byte 2
Serial Interface Address:h302
Reserved
10.5.4
MAC3 – CPU Mac address byte 3
Serial Interface Address:h303
Reserved
10.5.5
MAC4 – CPU Mac address byte 4
Serial Interface Address:h304
Reserved
10.5.6
MAC5 – CPU Mac address byte 5
Serial Interface Address:h30
Reserved
10.5.7
INT_MASK0 – Interrupt Mask 0
Serial Interface Address:h306
Reserved
10.5.8
INT_MASK1 – Interrupt Mask 1
Serial Interface Address:h307
Reserved
10.5.9
INT_STATUS0 – Masked Interrupt Status Register0
Serial Interface Address:h30A
Reserved
10.5.10 INT_STATUS1 – Masked Interrupt Status Register1
Serial Interface Address:h30B
Reserved
10.5.11 INTP_MASK0 – Interrupt Mask for MAC Port 0,1
Serial Interface Address:h30C
Reserved
10.5.12 INTP_MASK1 – Interrupt Mask for MAC Port 2,3
Serial Interface Address:h30D
Reserved
44
SEMICMF.019
MVTX2803AG
Data Sheet
10.5.13 INTP_MASK4 – Interrupt Mask for MAC Port 4,5
Serial Interface Address:h30E
Reserved
10.5.14 INTP_MASK5 – Interrupt Mask for MAC Port 6,7
Serial Interface Address:h30F
Reserved
10.5.15 RQS – Receive Queue Select
Serial Interface Address:h310
Reserved
10.5.16 RQSS – Receive Queue Status
Serial Interface Address:h311
Reserved
10.5.17 TX_AGE – Tx Queue Aging timer
I2C Address: h03B;Serial Interface Address:h312
Accessed by serial interface and I2C (R/W)
7
5
0
Tx Queue Agent
Bit[4:0]: Unit of 100ms (Default 8). Disable transmission queue aging if value is zero.
Bit[5]Must be set to ‘0’
Bit[7:6]: Reserved
10.6
Group 4 Address - Search Engine Group
10.6.1
AGETIME_LOW – MAC address aging time Low
I2C Address: h03C; Serial Interface Address:h400
Accessed by serial interface and I2C (R/W)
Bit [7:0] Low byte of the MAC address aging timer. (Default 2c)
Mac address aging is enable/disable by boot strap T_d[9].
10.6.2
AGETIME_HIGH –MAC address aging time High
2
I C Address h03D; Serial Interface Address h401
Accessed by serial interface and I2C (R/W)
Bit [7:0]: High byte of the MAC address aging timer. (Default 00)
Aging time is based on the following equation:
{AGETIME_TIME,AGETIME_LOW} X (# of MAC entries X100µsec)
SEMICMF.019
45
MVTX2803AG
Data Sheet
Note: the numer of entries= 66K when T_d[5] is pull down (SRAM memory size = 512K) and 34K when T_d[5]
is pull up (SRAM memory size = 256K).
10.6.3
V_AGETIME – VLAN to Port aging time
Serial Interface Address h402
Reserved
10.6.4
SE_OPMODE – Search Engine Operation Mode
Serial Interface Address:h403
Accessed by CPU (R/W)
7
6
5
SL
DMS
4
3
2
1
0
DA
Bit [0]:
•
Reserved
Bit [1]:
•
Reserved
Bit [2]:
•
Reserved
Bit [3]:
•
Reserved
Bit [4]:
•
Reserved
Bit [5]:
•
Reserved
Bit [6]:
•
Disable MCT speedup aging (Default 0)
1 – Disable speedup aging when MCT resource is low.
0 – Enable speedup aging when MCT resource is low.
Bit [7]:
•
Slow Learning (Default 0)
1– Enable slow learning. Learning is temporary disabled when search
demand is high
0 – Learning is performed independent of search demand
10.6.5
SCAN – SCAN Control Register
Serial interface Address: h404
Reserved
10.7
Group 5 Address - Buffer Control/QOS Group
10.7.1
FCBAT – FCB Aging Timer
I2C Address: h03E; Serial Interface Address:h500
7
0
FCBAT
46
SEMICMF.019
MVTX2803AG
Data Sheet
Bit [7:0]:
10.7.2
•
•
FCB Aging time. Unit of 1ms. (Default FF)
FCBAT define the aging time out interval of FCB handle
QOSC – QOS Control
I2C Address: h03F; Serial Interface Address:h501
Accessed by serial interface and I2C (R/W)
7
Tos-d
0
Tos-p
VF1c
fb
Bit [0]:
•
QoS frame lost is OK. Priority will be available for flow control enabled
source only when this bit is set (Default 0)
Bit [4]:
•
Per VLAN (Port based) Multicast Flow Control (Default 0)
0 – Disable
1 - Enable
Bit [5]:
•
Reserved
Bit [6]:
•
Select TOS bits for Priority (Default 0)
0 – Use TOS [4:2] bits to map the transmit priority
1 – Use TOS [5:3] bits to map the transmit priority
Bit [7]:
•
select TOS bits for Drop (Default 0)
0 – Use TOS [4:2] bits to map the drop priority
1 – Use TOS [5:3] bits to map the drop priority
10.7.3
FCR – Flooding Control Register
I2C Address: h040; Serial Interface Address:h502
Accessed by serial interface and I2C (R/W)
7
Tos
Bit [3:0]:
SEMICMF.019
0
TimeBase
•
U2MR
U2MR: Unicast to Multicast Rate. Units in terms of time base defined
in bits [6:4]. This is used to limit the amount of flooding traffic. The
value in U2MR specifies how many packets are allowed to flood within
the time specified by bit [6:4]. To disable this function, program U2MR
to 0. (Default = 4’h8)
47
MVTX2803AG
Bit [6:4]:
•
Data Sheet
TimeBase: (Default = 000)
000 = 10us
001 = 20us
010 = 40us
011 = 80us
100 = 160us
101 = 320us
110 = 640us
111 = 10us, same as 000.
Bit [7]:
•
Select VLAN tag or TOS field (IP packets) to be preferentially picked
to map transmit priority and drop priority (Default = 0).
0 – Select VLAN tag priority field over TOS field
1 – Select TOS field over VLAN tag priority field
10.7.4
AVPML – VLAN Priority Map
I2C Address: h041; Serial Interface Address:h503
Accessed by serial interface and I2C (R/W)
7
0
Registers AVPML, AVPMM, and AVPMH allow the eight VLAN priorities to map into eight internal level transmit
priorities. Under the internal transmit priority, ìsevenî is the highest priority where as ìzeroî is the lowest. This
feature allows the user the flexibility of redefining the VLAN priority field. For example, programming a value of
7 into bit 2:0 of the AVPML register would map packet VLAN priority ) into internal transmit priority 7. The new
priority is used only inside the 2804. When the packet goes out it carries the original priority.
10.7.5
Bit [2:0]:
Mapped priority of 0 (Default 000)
Bit [5:3]:
Mapped priority of 1 (Default 001)
Bit [7:6]:
Mapped priority of 2 (Default 10)
AVPMM – VLAN Priority Map
I2C Address: h042, Serial Interface Address:h504
Accessed by serial interface and I2C (R/W)
7
0
Map VLAN priority into eight level transmit priorities:
48
Bit [0]:
Mapped priority of 2 (Default 0)
Bit [3:1]:
Mapped priority of 3 (Default 011)
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.6
Bit [6:4]:
Mapped priority of 4 (Default 100)
Bit [7]:
Mapped priority of 5 (Default 1)
AVPMH – VLAN Priority Map
I2C Address: h043, Serial Interface Address:h505
Accessed by serial interface and I2C (R/W)
7
0
Map VLAN priority into eight level transmit priorities:
10.7.7
Bit [1:0]:
Mapped priority of 5 (Default 10)
Bit [4:2]:
Mapped priority of 6 (Default 110)
Bit [7:5]:
Mapped priority of 7 (Default 111)
OSPML – TOS Priority Map
I2C Address: h044, Serial Interface Address:h506
Accessed by serial interface and I2C (R/W)
7
0
Map TOS field in IP packet into four level transmit priorities
10.7.8
Bit [2:0]:
Mapped priority when TOS is 0 (Default 000)
Bit [5:3]:
Mapped priority when TOS is 1 (Default 001)
Bit [7:6]:
Mapped priority when TOS is 2 (Default 10)
TOSPMM – TOS Priority Map
2
I C Address: h045, Serial Interface Address:h507
Accessed by serial interface and I2C (R/W)
7
0
Map TOS field in IP packet into four level transmit priorities
SEMICMF.019
Bit [0]:
Mapped priority when TOS is 2 (Default 0)
Bit [3:1]:
Mapped priority when TOS is 3 (Default 011)
49
MVTX2803AG
10.7.9
Data Sheet
Bit [6:4]:
Mapped priority when TOS is 4 (Default 100)
Bit [7]:
Mapped priority when TOS is 5 (Default 1)
TOSPMH – TOS Priority Map
I2C Address: h046, Serial Interface Address:h508
Accessed by serial interface and I2C (R/W)
7
0
Map TOS field in IP packet into four level transmit priorities:
Bit [1:0]:
Mapped priority when TOS is 5 (Default 01)
Bit [4:2]:
Mapped priority when TOS is 6 (Default 110)
Bit [7:5]:
Mapped priority when TOS is 7 (Default 111)
10.7.10 AVDM – VLAN Discard Map
I2C Address: h047, Serial Interface Address:h509
Accessed by serial interface and I2C (R/W)
7
0
Map VLAN priority into frame discard when low priority buffer usage is above threshold. Frames with high
discard (drop) priority will be discarded (dropped) before frames with low drop priority.
•
•
0 – Low discard priority
1 – High discard priority
Bit [0]:
Frame discard priority for frames with VLAN transmit priority 0 (Default 0)
Bit [1]:
Frame discard priority for frames with VLAN transmit priority 1 (Default 0)
Bit [2]:
Frame discard priority for frames with VLAN transmit priority 2 (Default 0)
Bit [3]:
Frame discard priority for frames with VLAN transmit priority 3 (Default 0)
Bit [4]:
Frame discard priority for frames with VLAN transmit priority 4 (Default 0)
Bit [5]:
Frame discard priority for frames with VLAN transmit priority 5 (Default 0)
Bit [6]:
Frame discard priority for frames with VLAN transmit priority 6 (Default 0)
Bit [7]:
Frame discard priority for frames with VLAN transmit priority 7 (Default 0)
10.7.11 TOSDML – TOS Discard Map
I2C Address: h048, Serial Interface Address:h50A
50
SEMICMF.019
MVTX2803AG
Data Sheet
Accessed by serial interface and I2C (R/W)
7
0
Map TOS into frame discard when low priority buffer usage is above threshold
Bit [0]:
Frame discard priority for frames with TOS transmit priority 0 (Default 0)
Bit [1]:
Frame discard priority for frames with TOS transmit priority 1 (Default 0)
Bit [2]:
Frame discard priority for frames with TOS transmit priority 2 (Default 0)
Bit [3]:
Frame discard priority for frames with TOS transmit priority 3 (Default 0)
Bit [4]:
Frame discard priority for frames with TOS transmit priority 4 (Default 0)
Bit [5]:
Frame discard priority for frames with TOS transmit priority 5 (Default 0)
Bit [6]:
Frame discard priority for frames with TOS transmit priority 6 (Default 0)
Bit [7]:
Frame discard priority for frames with TOS transmit priority 7 (Default 0)
10.7.12 BMRC - Broadcast/Multicast Rate Control
I2C Address: h049, Serial Interface Address:h50B
Accessed by serial interface and I2C (R/W)
7
0
Broadcast Rate
Multicast Rate
This broadcast and multicast rate defines for each port the number of incoming packet allowed to be forwarded
within a specified time. Once the packet rate is reached, packets will be dropped. To turn off the rate limit,
program the field to 0.
SEMICMF.019
Bit [3:0] :
Multicast Rate Control Number of multicast packets allowed within the time
defined in bits 6 to 4 of the Flooding Control Register (FCR). (Default 0).
Bit [7:4] :
Broadcast Rate Control Number of broadcast packets allowed within the time
defined in bits 6 to 4 of the Flooding Control Register (FCR). (Default 0)
51
MVTX2803AG
Data Sheet
10.7.13 UCC – Unicast Congestion Control
I2C Address: h04A, Serial Interface Address: h50C
Accessed by serial interface and I2C (R/W)
7
0
Unicast congest threshold
Bit [7:0] :
Number of frame count. Used for best effort dropping at B% when destination
port’s best effort queue reaches UCC threshold and shared pool is all in use.
Granularity 16 frame. (Default: h07)
10.7.14 MCC – Multicast Congestion Control
I2C Address: h0B7, Serial Interface Address: h50D
Accessed by serial interface and I2C (R/W)
7
0
FC reaction prd
Multicast congest threshold
Bit [3:0]:
In multiples of two. Used for triggering MC flow control when destination
port’s best effort queue reaches MCC threshold.
(Default 5’h08)
Bit [4]:
Must be 0
Bit [7:5]:
Flow control reaction period. ([7:5] *4)+3 usec (Default 3’h2).
10.7.15 PRG – Port Reservation for Giga ports
I2C Address: h0B9, Serial Interface Address h50F
Accessed by serial interface and I2C (R/W)
7
4
Buffer low thd
Bit [3:0]:
3
0
Per source buffer Reservation
Per source buffer reservation. Define the space in the FDB reserved for each
port. Expressed in multiples of 16 packets. For each packet 1536 bytes are
reserved in the memory.
Default: 4’hA for 4MB memory
4’h6 for 2MB memory
4’h3 for 1MB memory
52
SEMICMF.019
MVTX2803AG
Data Sheet
Bits [7:4]:
Expressed in multiples of 16 packets. Threshold for dropping all best effort
frames when destination port best effort queues reach UCC threshold and
shared pool is all used and source port reservation is at or below the
PRG[7:4] level. Also the threshold for initiating UC flow control.
Default: 4’h6 for 4MB memory
4’h2 for 2MB memory
4’h1 for 1MB memory
FCB Reservation
10.7.16 SFCB – Share FCB Size
I2C Address: h04E, Serial Interface Address h510
Accessed by serial interface and I2C (R/W)
7
0
Shared buffer size
Bits [7:0]:
•
Expressed in multiples of 8. Buffer reservation for shared pool.
(Default 4G & 4M = 8’d62)
(Default 4G & 2M = 8’d20)
(Default 4G & 1M = 8'd08)
(Default 8G & 4M = 8’d150)
(Default 8G & 2M = 8’d55)
(Default 8G & 1M = 8'd25)
10.7.17 C2RS – Class 2 Reserved Size
I2C Address: h04F, Serial Interface Address h511
Accessed by serial interface and I2C (R/W)
7
0
Class 2 FCB Reservation
Bits [7:0]:
•
Buffer reservation for class 2 (third lowest priority). Granularity 2.
(Default 8’h00)
10.7.18 C3RS – Class 3 Reserved Size
I2C Address: h050, Serial Interface Address h512
Accessed by serial interface and I2C (R/W)
7
0
Class 3 FCB Reservation
SEMICMF.019
53
MVTX2803AG
Bits [7:0]:
Data Sheet
•
Buffer reservation for class 3. Granularity 2.
(Default 8’h00)
10.7.19 C4RS – Class 4 Reserved Size
I2C Address: h051, Serial Interface Address h513
Accessed by serial interface and I2C (R/W)
7
0
Class 4 FCB Reservation
Bits [7:0]:
•
Buffer reservation for class 4. Granularity 2.
(Default 8’h00)
10.7.20 C5RS – Class 5 Reserved Size
I2C Address: h052; Serial Interface Address: h514
Accessed by serial interface and I2C (R/W)
7
0
Class 5 FCB Reservation
Bits [7:0]:
•
Buffer reservation for class 5. Granularity 2.
(Default 8’h00)
10.7.21 C6RS – Class 6 Reserved Size
I2C Address: h053; Serial Interface Address: h515
Accessed by serial interface and I2C (R/W)
7
0
Class 6 FCB Reservation
Bits [7:0]:
•
Buffer reservation for class 6 (second highest priority). Granularity 2.
(Default 8’h00)
10.7.22 C7RS – Class 7 Reserved Size
I2C Address: h054; Serial Interface Address: h516
Accessed by serial interface and I2C (R/W)
7
0
Class 7 FCB Reservation
54
SEMICMF.019
MVTX2803AG
Data Sheet
Bits [7:0]:
•
Buffer reservation for class 7 (highest priority). Granularity 2.
(Default 8’h00)
Classes Byte Gigabit Port 0
10.7.23 QOSC00 – BYTE_C2_G0
I2C Address: h055, Serial Interface Address: h517
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
10.7.24 QOSC01 – BYTE_C3_G0
I2C Address: h056, Serial Interface Address: h518
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
512byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
10.7.25 QOSC02 – BYTE_C4_G0
I2C Address: h057, Serial Interface Address: h519
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
10.7.26 QOSC03 – BYTE_C5_G0
I2C Address: h058, Serial Interface Address: h51A
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
10.7.27 QOSC04 – BYTE_C6_G0
I2C Address: h059, Serial Interface Address: h51B
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
SEMICMF.019
55
MVTX2803AG
Data Sheet
10.7.28 QOSC05 – BYTE_C7_G0
I2C Address: h05A, Serial Interface Address: h51C
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
QOSC00 through QOSC05 represent the values F-A in Table 3 for Gigabit port 0. They are per-queue byte
thresholds for weighted random early drop (WRED). QOSC05 represents A, and QOSC00 represents F.
Classes Byte Gigabit Port 1
10.7.29 QOSC06 – BYTE_C2_G1
I2C Address: h05B, Serial Interface Address: h51D
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
10.7.30 QOSC07 – BYTE_C3_G1
I2C Address: h05C, Serial Interface Address: h51E
Bits [7:0]
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.31 QOSC08 – BYTE_C4_G1
I2C Address: h05D, Serial Interface Address: h51F
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024byte/unit when WFQ is used)
10.7.32 QOSC09 – BYTE_C5_G1
I2C Address: h05E, Serial Interface Address: h520
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
56
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.33 QOSC0A – BYTE_C6_G1
I2C Address: h05F, Serial Interface Address: h521
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.34 QOSC0B – BYTE_C7_G1
I2C Address: h060, Serial Interface Address: h522
Bits [7:0]:
Byte count threshold for C7 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC06 through QOSC0B represent the values F-A in Table 3. They are per-queue byte thresholds for
random early drop. QOSC0B represents A, and QOSC06 represents F.
Classes Byte Gigabit Port 2
10.7.35 QOSC0C – BYTE_C2_G2
I2C Address: h061, Serial Interface Address: h523
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.36 QOSC0D – BYTE_C3_G2
I2C Address: h062, Serial Interface Address: h524
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.37 QOSC0E – BYTE_C4_G2
I2C Address: h063, Serial Interface Address: h525
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
SEMICMF.019
57
MVTX2803AG
Data Sheet
10.7.38 OSC0F – BYTE_C5_G2
I2C Address: h064, Serial Interface Address: h526
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.39 QOSC10 – BYTE_C6_G2
I2C Address: h065, Serial Interface Address: h27
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.40 QOSC11 – BYTE_C7_G2
I2C Address: h066, Serial Interface Address: h528
Bits [7:0]:
Byte count threshold for C7 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC0C through QOSC11 represent the values F-A in Table 3 for Gigabit port 2. They are per-queue byte
thresholds for random early drop. QOSC11 represents A, and QOSC0C represents F.
Classes Byte Gigabit Port 3
10.7.41 QOSC12 – BYTE_C2_G3
I2C Address: h067, Serial Interface Address: h529
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
58
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.42 QOSC13 – BYTE_C3_G3
I2C Address: h068, Serial Interface Address: h52A
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.43 QOSC14 – BYTE_C4_G3
I2C Address: h069, Serial Interface Address: h52B
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.44 QOSC15 – BYTE_C5_G3
I2C Address: h06A, Serial Interface Address: h52C
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.45 QOSC16 – BYTE_C6_G3
I2C Address: h06B, Serial Interface Address: h52D
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.46 QOSC17 – BYTE_C7_G3
I2C Address: h06C, Serial Interface Address: h52E
Bits [7:0]:
Byte count threshold for C7 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC12 through QOSC17 represent the values F-A in Table 3 for Gigabit port 3. They are per-queue byte
thresholds for random early drop. QOSC17 represents A, and QOSC12 represents F.
SEMICMF.019
59
MVTX2803AG
Data Sheet
Classes Byte Gigabit Port 4
10.7.47 QOSC18 – BYTE_C2_G4
I2C Address: h06D, Serial Interface Address:h 52F
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.48 QOSC019 – BYTE_C3_G4
I2C Address: h06E, Serial Interface Address: h530
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.49 QOSC1A – BYTE_C4_G4
I2C Address: h06F, Serial Interface Address: h531
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.50 QOSC1B – BYTE_C5_G4
I2C Address: h070, Serial Interface Address: h532
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.51 QOSC1C – BYTE_C6_G4
I2C Address: h071, Serial Interface Address: h533
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h28)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
60
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.52 QOSC1D– BYTE_C7_G4
I 2C Address: h072, Serial Interface Address: h534
Bits [7:0]:
Byte count threshold for C7 queue WRED (Default 8’h28)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC18 through QOSC1D represent the values F-A in Table 3 for Gigabit port 4. They are per-queue byte
thresholds for random early drop. QOSC1D represents A, and QOSC18 represents F.
Classes Byte Gigabit Port 5
10.7.53 QOSC1E– BYTE_C2_G5
I2C Address: h073, Serial Interface Address: h535
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.54 QOSC1F – BYTE_C3_G5
I2C Address: h074, Serial Interface Address: h536
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.55 QOSC20 – BYTE_C4_G5
I2C Address: h075, Serial Interface Address: h537
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.56 QOSC21 – BYTE_C5_G5
I2C Address: h076, Serial Interface Address: h538
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
SEMICMF.019
61
MVTX2803AG
Data Sheet
10.7.57 QOSC22 – BYTE_C6_G5
I2C Address: h077, Serial Interface Address: h539
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.58 QOSC23 – BYTE_C7_G5
I2C Address: h078, Serial Interface Address: h53A
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC1E through QOSC23 represent the values F-A in Table 3 for Gigabit port 5. They are per-queue byte
thresholds for random early drop. QOSC23 represents A, and QOSC1E represents F.
Classes Byte Gigabit Port 6
10.7.59 QOSC24 – BYTE_C2_G6
I2C Address: h079, Serial Interface Address: h53B
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.60 QOSC25 – BYTE_C3_G6
I2C Address: h07A, Serial Interface Address: h53C
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
62
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.61 QOSC26 – BYTE_C4_G6
I2C Address: h07B, Serial Interface Address: h53D
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.62 QOSC27 – BYTE_C5_G6
I 2C Address: h07C, Serial Interface Address: h53E
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.63 QOSC28 – BYTE_C6_G6
I2C Address: h07D, Serial Interface Address: h53F
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.64 QOSC29 – BYTE_C7_G6
I2C Address: h07E, Serial Interface Address:h 540
Bits [7:0]:
Byte count threshold for C7 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC24 through QOSC29 represent the values F-A in Table 3 for Gigabit port 6. They are per-queue byte
thresholds for random early drop. QOSC29 represents A, and QOSC24 represents F.
Classes Byte Gigabit Port 7
10.7.65 QOSC2A – BYTE_C2_G7
I2C Address: h07F, Serial Interface Address: h541
Bits [7:0]:
Byte count threshold for C2 queue WRED (Default 8’h28)
(1024 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
SEMICMF.019
63
MVTX2803AG
Data Sheet
10.7.66 QOSC2B – BYTE_C3_G7
I2C Address: h080, Serial Interface Address: h542
Bits [7:0]:
Byte count threshold for C3 queue WRED (Default 8’h28)
(512 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.67 QOSC2C – BYTE_C4_G7
I2C Address: h081, Serial Interface Address: h543
Bits [7:0]:
Byte count threshold for C4 queue WRED (Default 8’h28)
(256 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.68 QOSC2D – BYTE_C5_G7
I2C Address: h082, Serial Interface Address: h544
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h28)
(128 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.69 QOSC2E – BYTE_C6_G7
I2C Address: h083, Serial Interface Address: h545
Bits [7:0]:
Byte count threshold for C6 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
10.7.70 QOSC2F – BYTE_C7_G7
I2C Address: h084, Serial Interface Address: h546
Bits [7:0]:
Byte count threshold for C5 queue WRED (Default 8’h50)
(64 byte/unit when Delay Bound is used)
(1024 byte/unit when WFQ is used)
QOSC00 through QOSC05 represent the values F-A in Table 3 for Gigabit port 7. They are per-queue byte
thresholds for random early drop. QOSC05 represents A, and QOSC00 represents F.
64
SEMICMF.019
MVTX2803AG
Data Sheet
Classes Byte Limit CPU
10.7.71 QOSC30 – BYTE_C01
Serial Interface Address: h547
Bits [7:0]:
Reserved
10.7.72 QOSC31 – BYTE_C02
Serial Interface Address: h548
Bits [7:0]:
Reserved
10.7.73 QOSC32 – BYTE_C03
Serial Interface Address: h549
Bits [7:0]:
Reserved
Classes WFQ Credit Set 0
10.7.74 QOSC33 – CREDIT_C0_G0
Serial Interface Address: h54A
Bits [5:0]:
Bits [7:6]:
W0 - Credit register for WFQ. (Default 6’h04)
•
Priority type. Define one of the four QoS mode of operation for port 0
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
SEMICMF.019
65
MVTX2803AG
Data Sheet
See table below
Queue
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
10.7.75 QOSC34 – CREDIT_C1_G0
Serial Interface Address: h54B
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
0= DO NOT send any frames if the XOFF is on.
1= the P7-P2 frames can be sent even the XOFF is ON
Bits [5:0]
Fc_allow
•
W1 - Credit register. (Default 4’h04)
Fc_be_only
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
10.7.76 QOSC35 – CREDIT_C2_G0
Serial Interface Address: h54C
66
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.77 QOSC36 – CREDIT_C3_G0
Serial Interface Address: h54D
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.78 QOSC37 – CREDIT_C4_G0
Serial Interface Address: h54E
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.79 QOSC38 – CREDIT_C5_G0
Serial Interface Address: h54F
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.80 QOSC39– CREDIT_C6_G0
Serial Interface Address: h550
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.81 QOSC3A– CREDIT_C7_G0
Serial Interface Address: h551
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC33 through QOSC3Arepresents the set of WFQ parameters (see section 7.5) for Gigabit port 0. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC33 corresponds to W0, and
QOSC3A corresponds to W7. In the 2G trunk configuration, the sum of all values QOSC33 through QOSC3A
must be equal to 128.
Classes WFQ Credit Port G1
10.7.82 QOSC3B – CREDIT_C0_G1
Serial Interface Address: h552
Bits [5:0]:
SEMICMF.019
W0 - Credit register for WFQ. (Default 6’h04)
67
MVTX2803AG
Bits [7:6]:
Data Sheet
•
Priority type. Define one of the four QoS mode of operation for port 1
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
See table below:
Queue
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
10.7.83 QOSC3C – CREDIT_C1_G1
Serial Interface Address: h54B
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
0= DO NOT send any frames if the XOFF is on.
1= the P7-P2 frames can be sent even the XOFF is ON
Bits [5:0]
Fc_allow
Fc_be_only
• W1 - Credit register. (Default 4’h04)
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
68
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.84 QOSC3D – CREDIT_C2_G1
Serial Interface Address: h553
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.85 QOSC3E – CREDIT_C3_G1
Serial Interface Address: h554
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.86 QOSC3F – CREDIT_C4_G1
Serial Interface Address: h555
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.87 QOSC40 – CREDIT_C5_G1
Serial Interface Address: h556
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.88 QOSC41– CREDIT_C6_G1
Serial Interface Address: h557
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.89 QOSC42– CREDIT_C7_G1
Serial Interface Address: h558
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC3B through QOSC42 represents the set of WFQ parameters (see section 7.5) for Gigabit port 1. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC3B corresponds to W0, and
QOSC42 corresponds to W7.
SEMICMF.019
69
MVTX2803AG
Data Sheet
Classes WFQ Credit Port G2
10.7.90 QOSC43 – CREDIT_C0_G2
Serial Interface Address: h55A
Bits [5:0]:
Bits [7:6]:
W0 - Credit register for WFQ. (Default 6’h04)
•
Priority type. Define one of the four QoS mode of operation for port 2
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
See table below:
Queue
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
10.7.91 QOSC44 – CREDIT_C1_G2
Serial Interface Address: h55B
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
Flow control BE Queue only. (Default 1’b1)
0= DO NOT send any frames if the XOFF is on.
1= the P7-P2 frames can be sent even the XOFF is ON
Bits [5:0]
70
W1 - Credit register. (Default 4’h04)
SEMICMF.019
MVTX2803AG
Data Sheet
Fc_allow
Fc_be_only
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise
Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise
BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
10.7.92 QOSC45 – CREDIT_C2_G2
Serial Interface Address: h55C
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.93 QOSC46 – CREDIT_C3_G2
Serial Interface Address: h55D
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.94 QOSC47 – CREDIT_C4_G2
Serial Interface Address: h55E
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.95 QOSC48 – CREDIT_C5_G2
Serial Interface Address: h55F
SEMICMF.019
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
71
MVTX2803AG
Data Sheet
10.7.96 QOSC49– CREDIT_C6_G2
Serial Interface Address: h560
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.97 QOSC4A– CREDIT_C7_G2
Serial Interface Address: h561
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC43 through QOSC4Arepresents the set of WFQ parameters (see section 7.5) for Gigabit port 2. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC43 corresponds to W0, and
QOSC4A corresponds to W7. In the 2G trunk configuration, the sum of all values QOSC43 through QOSC4A
must equal 128.
Classes WFQ Credit Port G3
10.7.98 QOSC4B – CREDIT_C0_G3
Serial Interface Address: h562
Bits [5:0]:
W0 - Credit register for WFQ. (Default 6’h04)
Bits [7:6]:
Priority type. Define one of the four QoS mode of operation for port 3
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
See table below:
Queue
72
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.99 QOSC4 – CREDIT_C1_G3
Serial Interface Address: h563
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
(0= DO NOT send any frames if the XOFF is on.
(1= the P7-P2 frames can be sent even the XOFF is ON)
Bits [5:0]
Fc_allow
W1 - Credit register. (Default 4’h04)
Fc_be_only
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise
Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise
BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
10.7.100 QOSC4D – CREDIT_C2_G3
Serial Interface Address: h564
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.101 QOSC4E – CREDIT_C3_G3
Serial Interface Address: h565
SEMICMF.019
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
73
MVTX2803AG
Data Sheet
10.7.102 QOSC4F – CREDIT_C4_G3
Serial Interface Address: h566
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.103 QOSC50 – CREDIT_C5_G3
Serial Interface Address: h567
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.104 QOSC51– CREDIT_C6_G3
Serial Interface Address: h568
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.105 QOSC52– CREDIT_C7_G3
Serial Interface Address: h569
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC4B through QOSC52 represents the set of WFQ parameters (see section 7.5) for Gigabit port 3. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC4B corresponds to W0, and
QOSC52 corresponds to W7.
Classes WFQ Credit Port G4
10.7.106 QOSC53 – CREDIT_C0_G4
Serial Interface Address: h56A
Bits [5:0]:
Bits [7:6]:
W0 - Credit register for WFQ. (Default 6’h04)
•
Priority type. Define one of the four QoS mode of operation for port 4
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
74
SEMICMF.019
MVTX2803AG
Data Sheet
See table below:
Queue
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
10.7.107 QOSC54 – CREDIT_C1_G4
Serial Interface Address: h56B
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
(0= DO NOT send any frames if the XOFF is on.
(1= the P7-P2 frames can be sent even the XOFF is ON)
Bits [5:0]
Fc_allow
Fc_be_only
W1 -Credit register. (Default 4’h04)
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
SEMICMF.019
75
MVTX2803AG
Data Sheet
10.7.108 QOSC55 – CREDIT_C2_G4
Serial Interface Address: h56C
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.109 QOSC56 – CREDIT_C3_G4
Serial Interface Address: h56D
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.110 QOSC57 – CREDIT_C4_G4
Serial Interface Address: h56E
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.111 QOSC58 – CREDIT_C5_G4
Serial Interface Address: h56F
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.112 QOSC59– CREDIT_C6_G4
Serial Interface Address: h570
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.113 QOSC5A– CREDIT_C7_G4
Serial Interface Address: h571
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC53 through QOSC5A represents the set of WFQ parameters (see section 7.5) for Gigabit port 4. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC53 corresponds to W0, and
QOSC5A corresponds to W7. In the 2G trunk configuration, the sum of all values QOSC53 through QOSC5A
must equal 128.
76
SEMICMF.019
MVTX2803AG
Data Sheet
Classes WFQ Credit Port G5
10.7.114 QOSC5B – CREDIT_C0_G5
Serial Interface Address: h572
Bits [5:0]:
Bits [7:6]:
W0 - Credit register for WFQ. (Default 6’h04)
•
Priority type. Define one of the four QoS mode of operation for port 5
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
See table below:
Queue
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
10.7.115 QOSC5C – CREDIT_C1_G5
Serial Interface Address: h573
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
(0= DO NOT send any frames if the XOFF is on.
(1= the P7-P2 frames can be sent even the XOFF is ON)
Bits [5:0]
SEMICMF.019
W1 - Credit register. (Default 4’h04)
77
MVTX2803AG
Fc_allow
Data Sheet
Fc_be_only
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
10.7.116 QOSC5D – CREDIT_C2_G5
Serial Interface Address: h574
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.117 QOSC5E – CREDIT_C3_G5
Serial Interface Address: h575
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.118 QOSC5F – CREDIT_C4_G5
Serial Interface Address: h576
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.119 QOSC60 – CREDIT_C5_G5
Serial Interface Address: h577
78
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.120 QOSC61– CREDIT_C6_G5
Serial Interface Address: h578
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.121 QOSC62– CREDIT_C7_G5
Serial Interface Address: h579
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC5B through QOSC62 represents the set of WFQ parameters (see section 7.5) for Gigabit port 5. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC5B corresponds to W0, and
QOSC62 corresponds to W7.
Classes WFQ Credit Port G6
10.7.122 QOSC63 – CREDIT_C0_G6
Serial Interface Address: h57A
Bits [5:0]:
Bits [7:6]:
W0 - Credit register for WFQ. (Default 6’h04)
•
Priority type. Define one of the four QoS mode of operation for port 6
(Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
See table below:
Queue
SEMICMF.019
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
79
MVTX2803AG
Data Sheet
10.7.123 QOSC64 – CREDIT_C1_G6
Serial Interface Address: h57B
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
(0= DO NOT send any frames if the XOFF is on.
(1= the P7-P2 frames can be sent even the XOFF is ON)
Bits [5:0]
Fc_allow
W1 - Credit register. (Default 4’h04)
Fc_be_only
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise
Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
10.7.124 QOSC65 – CREDIT_C2_G6
Serial Interface Address: h57C
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.125 QOSC66 – CREDIT_C3_G6
Serial Interface Address: h57D
80
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.126 QOSC67 – CREDIT_C4_G6
Serial Interface Address: h57E
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.127 QOSC68 – CREDIT_C5_G6
Serial Interface Address: h57F
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.128 QOSC69– CREDIT_C6_G6
Serial Interface Address: h580
Bits [5:0]
W6 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
10.7.129 QOSC6A– CREDIT_C7_G6
Serial Interface Address: h581
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC63 through QOSC6A represents the set of WFQ parameters (see section 7.5) for Gigabit port 6. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC63 corresponds to W0, and
QOSC6A corresponds to W7. In the 2G trunk configuration, the sum of all values QOSC63 through QOSC6A
must equal 128.
SEMICMF.019
81
MVTX2803AG
Data Sheet
Classes WFQ Credit Port G7
10.7.130 QOSC6B – CREDIT_C0_G7
Serial Interface Address: h582
Bits [5:0]:
Bits [7:6]:
W0 - Credit register for WFQ. (Default 6’h04)
•
Priority type. Define one of the four QoS mode of operation for
port 7 (Default 2’00)
00 : Option 1
01: Option 2
10: Option 3
11: Option 4
Queue
P7
P6
P5
P4
P3
P2
P1
Option 1 Bit [7:6] = 2’B00
DELAY BOUND
BE
Option 2 Bit [7:6] = 2’B01
SP
DELAY BOUND
BE
Option 3 Bit [7:6] = 2’B10
SP
WFQ
Opition 4 Bit [7:6] = 2’B11
WFQ
Credit for WFQ – Bit [5:0]
W
7
W
6
W
5
W
4
W
3
W
2
W
1
P0
W
0
10.7.131 QOSC6C – CREDIT_C1_G7
Serial Interface Address: h583
Bits [7]:
•
Flow control allow during WFQ scheme. (Default 1’b1)
0 = Not support QoS when the Source port Flow control status is on.
1= Always support QoS)
Bits [6]:
•
Flow control BE Queue only. (Default 1’b1)
(0= DO NOT send any frames if the XOFF is on.
(1= the P7-P2 frames can be sent even the XOFF is ON)
Bits [5:0]
82
W1 - Credit register. (Default 4’h04)
SEMICMF.019
MVTX2803AG
Data Sheet
Fc_allow
Fc_be_only
Lost_ok
Egress- for dest fc_status
Ingress- for src
fc status
0
0
0
Go to BE Queue if (Src FC or Des FC on) otherwise
Normal
0
0
1
Go to BE Queue if (Dest FC on) otherwise Normal
1
0
0
(WFQ only) Go to BE Queue if (Src FC on) otherwise
BAD
1
0
1
(WFQ only)
Always Normal
X
1
0
Go to BE Queue if (Src FC on)
X
1
1
Always Normal
10.7.132 QOSC6D – CREDIT_C2_G7
Serial Interface Address: h584
Bits [5:0]
W2 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.133 QOSC6E – CREDIT_C3_G7
Serial Interface Address: h585
Bits [5:0]
W3 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.134 QOSC6F – CREDIT_C4_G7
Serial Interface Address: h586
Bits [5:0]
W4 - Credit register. (Default 4’h04)
Bits [7:6]:
Reserved
10.7.135 QOSC70 – CREDIT_C5_G7
Serial Interface Address: h587
SEMICMF.019
Bits [5:0]
W5 - Credit register. (Default 5’h8)
Bits [7:6]:
Reserved
83
MVTX2803AG
Data Sheet
10.7.136 QOSC71– CREDIT_C6_G7
Serial Interface Address: h588
Bits [5:0]
W6 - Credit register. (Default 5’h8)
10.7.137 QOSC72– CREDIT_C7_G7
Serial Interface Address: h589
Bits [5:0]
W7 - Credit register. (Default 5’h10)
Bits [7:6]:
Reserved
QOSC6B through QOSC72 represents the set of WFQ parameters (see section 7.5) for Gigabit port 7. The
granularity of the numbers (bits [5:0]) is 1, and their sum must be 64. QOSC6B corresponds to W0, and
QOSC72 corresponds to W7.
Class 6 Shaper Control Port G0
10.7.138 QOSC73 – TOKEN_RATE_G0
Serial Interface Address: h58A
Bits [7:0]
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
10.7.139 QOSC74 – TOKEN_LIMIT_G0
Serial Interface Address: h58B
1Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC73 and QOSC74 correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC73 is an
integer less than 64, with granularity 1. QOSC74 is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC73 and QOSC74 apply to Gigabit port 0. Register
QOSC39-CREDIT_C6_G0 programs the peak rate. See QoS application note for more information.
Class 6 Shaper Control Port G1
10.7.140 QOSC75 – TOKEN_RATE_G1
Serial Interface Address: h58C
Bits [7:0]
84
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
SEMICMF.019
MVTX2803AG
Data Sheet
10.7.141 QOSC76 – TOKEN_LIMIT_G1
Serial Interface Address: h58D
Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC75 and QOSC76 correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC75 is an
integer less than 64, with granularity 1. QOSC76 is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC75 and QOSC76 apply to Gigabit port 1.
Register QOSC41-CREDIT_C6_G1 programs the peak rate. See QoS application note for more information.
Class 6 Shaper Control Port G2
10.7.142 QOSC77 – TOKEN_RATE_G2
Serial Interface Address: h58E
Bits [7:0]
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
10.7.143 QOSC78 – TOKEN_LIMIT_G2
Serial Interface Address: h58F
Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC77 and QOSC78 correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC77 is an
integer less than 64, with granularity 1. QOSC78 is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC77 and QOSC78 apply to Gigabit port 2.
Register QOSC49-CREDIT_C6_G2 programs the peak rate. See QoS application note for more information.
Class 6 Shaper Control Port G3
10.7.144 QOSC79 – TOKEN_RATE_G3
Serial Interface Address: h590
Bits [7:0]
SEMICMF.019
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
85
MVTX2803AG
Data Sheet
10.7.145 QOSC7A – TOKEN_LIMIT_G3
Serial Interface Address: h591
Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC79 and QOSC7A correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC79 is an
integer less than 64, with granularity 1. QOSC7A is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC79 and QOSC7A apply to Gigabit port 3.
Register QOSC51-CREDIT_C6_G3 programs the peak rate. See QoS application note for more information.
Class 6 Shaper Control Port G4
10.7.146 QOSC7B – TOKEN_RATE_G4
Serial Interface Address: h592
Bits [7:0]
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
10.7.147 QOSC7C – TOKEN_LIMIT_G4
Serial Interface Address: h593
Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC7B and QOSC7C correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC7B is an
integer less than 64, with granularity 1. QOSC7C is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC7B and QOSC7C apply to Gigabit port 4.
Register QOSC59-CREDIT_C6_G4 programs the peak rate. See QoS application note for more information.
Class 6 Shaper Control Port G5
10.7.148 QOSC7D – TOKEN_RATE_G5
Serial Interface Address: h594
Bits [7:0]
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
10.7.149 QOSC7E – TOKEN_LIMIT_G5
Serial Interface Address: h595
Bits [7:0]
86
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
SEMICMF.019
MVTX2803AG
Data Sheet
QOSC7D and QOSC7E correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC7D is
an integer less than 64, with granularity 1. QOSC7E is the programmed maximum value of the counter
(maximum burst size). This value is expressed in multiples of 16. QOSC7D and QOSC7E apply to Gigabit
port 5. Register QOSC60-CREDIT_C6_G5 programs the peak rate. See QoS application note for more
information.
Class 6 Shaper Control Port G6
10.7.150 QOSC7F – TOKEN_RATE_G6
Serial Interface Address: h596
Bits [7:0]
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
10.7.151 QOSC80 – TOKEN_LIMIT_G6
Serial Interface Address: h597
Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC7F and QOSC80 correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC7F is an
integer less than 64, with granularity 1. QOSC80 is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC7F and QOSC80 apply to Gigabit port 6.
Register QOSC69-CREDIT_C6_G6 programs the peak rate. See QoS application note for more information.
Class 6 Shaper Control Port G7
10.7.152 QOSC81 – TOKEN_RATE_G7
Serial Interface Address: h598
Bits [7:0]
Bytes allow to transmit every frame time (0.512usec) when regulated
by Shaper logic. (Default: 8’h08)
10.7.153 QOSC82 – TOKEN_LIMIT_G7
Serial Interface Address: h599
Bits [7:0]
Bytes allow to continue transmit out when regulated by Shaper logic.
(16byte/unit) (Default: 8’hC0)
QOSC81 and QOSC82 correspond to parameters from section 7.6 on the shaper for EF traffic. QOSC81 is an
integer less than 64, with granularity 1. QOSC82 is the programmed maximum value of the counter (maximum
burst size). This value is expressed in multiples of 16. QOSC81 and QOSC82 apply to Gigabit port 7.
Register QOSC6F-CREDIT_C6_G7 programs the peak rate. See QoS application note for more information
SEMICMF.019
87
MVTX2803AG
Data Sheet
10.7.154 RDRC0 – WRED Rate Control 0
I2C Address: h085, Serial Interface Address: h59A
Accessed by Serial Interface and I2C (R/W)
7
0
X Rate
Y Rate
Bits [7:4]:
Corresponds to the percentage X% in Chapter 7. Used for random
early drop. Granularity 6.25%. (Default: 4’h8)
Bits[3:0]:
Corresponds to the percentage Y% in Chapter 7. Used for random
early drop. Granularity 6.25%.(Default: 4’hE)
10.7.155 RDRC1 – WRED Rate Control 1
I2C Address: h086, Serial Interface Address: h59B
Accessed by Serial Interface and I2C (R/W)
7
0
Z Rate
B Rate
Bits [7:4]:
Corresponds to the percentage Z% in Chapter 7. Used for random
early drop. Granularity 6.25%.%. (Default: 4’h6)
Bits[3:0]:
Corresponds to the best effort frame drop percentage B%, when
shared pool is all in use and destination port best effort queue reaches
UCC. Used for random early drop. Granularity 6.25%.%. (Default:
4’h8)
10.8
Group 6 Address - MISC Group
10.8.1
MII_OP0 – MII Register Option 0
I2C Address: h0B1, Serial Interface Address: h600
Accessed by serial interface and I2C (R/W)
7
6
5
4
Hfc
1prst
NP
Vendor Spc. Reg Addr
Bit [7]:
•
0
Half duplex flow control no default enable (Do not use half duplex
mode)
0 = Half duplex flow control always enable
1 = Half duplex flow control by negotiation
Bit[6]:
88
Link partner reset auto-negotiate disable
SEMICMF.019
MVTX2803AG
Data Sheet
Bit [5]
•
Next page enable
1: enable
0: disable
Bit[4:0]:
10.8.2
Vendor specified link status register address (null value means don’t
use it) (Default 00)
MII_OP1 – MII Register Option 1
I2C Address: h0B2, Serial Interface Address: h601
Accessed by serial interface and I2C (R/W)
7
4
3
Speed bit location
10.8.3
0
Duplex bit location
Bits[3:0]:
Duplex bit location in vendor specified register
Bits [7:4]:
Speed bit location in vendor specified register
(Default 00)
FEN – Feature Register
I2C Address: h0B3, Serial Interface Address: h602
Accessed by serial interface and I2C (R/W)
7
DML
0
MII
Rp
IP Mul
Bits [0]:
Reserved
Bits[1]:
Reserved
Bit [2]:
•
V-Sp
DS
RC
SC
Support DS EF Code. (Default 0)
0 – Disable
1 – Enable (all ports)
When 101110 is detected in DS field (TOS[7:2]), the frame priority is
set for 110 and drop is set for 0.
Bit [3]:
Reserved
Bit [4]:
Reserved
Bit [5]:
Reserved
Bit [6]:
0: Enable MII Management State Machine (Default 0)
1: Disable MII Management State Machine
Bit [7]:
0: Enable using MCT Link List structure
1: Disable using MCT Link List structure
SEMICMF.019
89
MVTX2803AG
10.8.4
Data Sheet
MIIC0 – MII Command Register 0
Serial Interface Address:h603
Accessed by serial interface (R/W)
Bit [7:0] MII Data [7:0]
Note: Before programming MII command: set FEN[6], check MIIC3, making sure no RDY, and no VALID; then
program MII command.
10.8.5
MIIC1 – MII Command Register 1
Serial Interface Address:h604
Accessed by serial interface (R/W)
Bit [7:0] MII Data [15:8]
Note: Before programming MII command: set FEN[6], check MIIC3, making sure no RDY and no VALID; then
program MII command.
10.8.6
MIIC2 – MII Command Register 2
Serial Interface Address:h605
Accessed by serial interface (R/W)
7
0
Mii OP
Register address
Bits [4:0]:
REG_AD – Register PHY Address
Bit [6:5]
OP – Operation code “10” for read command and “01” for write command
Note: Before programming MII command: set FEN[6], check MIIC3, making sure no RDY and no VALID; then
program MII command.
10.8.7
MIIC3 – MII Command Register 3
Serial Interface Address:h606
Accessed by serial interface (R/W)
7
Rdy
0
Valid
PHY address
Bits [4:0]:
PHY_AD – 5 Bit PHY Address
Bit [6]
VALID – Data Valid from PHY (Read Only)
Bit [7]
RDY – Data is returned from PHY (Ready Only)
Note: Before programming MII command: set FEN[6], check MIIC3, making sure no RDY and no VALID; then
program MII command.
90
SEMICMF.019
MVTX2803AG
Data Sheet
10.8.8
MIID0 – MII Data Register 0
Serial Interface Address:h607
Accessed by serial interface (RO)
Bit [7:0] MII Data [7:0]
10.8.9
MIID1 – MII Data Register 0
Serial Interface Address:h608
Accessed by serial interface (RO)
Bit [7:0] MII Data [15:8]
10.8.10 LED Mode – LED Control
I2C Address:h0B4; Serial Interface Address:h609
Accessed by serial interface and I2C (R/W)
7
lpbk
Bit[1:0]
0
Elpbk
•
Clock rate
Hold Time
Se
Sample hold time (Default 2’b00)
2’b00- 8 msec
2’b01- 16 msec
2’b10- 32 msec
2’b11- 64 msec
Bit[3:2]
•
LED clock speed (serial mode) (Default 2’b10)
2’b00- sclk/128 2’b01- sclk/256
2’b10- sclk/1024 2’b11- sclk/2048
•
LED clock speed (parallel mode) (Default 2’b10)
2’b00- sclk/1024 2’b01- sclk/4096
2’b10- sclk/2048 2’b11- sclk/8192
SEMICMF.019
91
MVTX2803AG
Bit[5:4]
Data Sheet
LED indicator out pattern (Default 2’b11)
2’b00- Normal output, LED signals go straight out, no logical combination
2’b01- 4 bi-color LED mode
2’b10- 3 bi-color LED mode
2’b11- programmable mode
1. Normal mode:
LED_BYTEOUT_[7]:Collision (COL)
LED_BYTEOUT_[6]:Full duplex (FDX)
LED_BYTEOUT_[5]:Speed[1] (SP1)
LED_BYTEOUT_[4]:Speed[0] (SP0)
LED_BYTEOUT_[3]:Link (LNK)
LED_BYTEOUT_[2]:Rx (RXD)
LED_BYTEOUT_[1]:Tx (TXD)
LED_BYTEOUT_[0]:Flow Control (FC)
2. 4 bi-color LED mode
LED_BYTEOUT_[7]:COL
LED_BYTEOUT_[6]:1000FDX
LED_BYTEOUT_[5]:1000HDX
LED_BYTEOUT_[4]:100FDX
LED_BYTEOUT_[3]:100HDX
LED_BYTEOUT_[2]:10FDX
LED_BYTEOUT_[1]:10HDX
LED_BYTEOUT_[0]:ACT
Note: All output qualified by Link signal
92
SEMICMF.019
MVTX2803AG
Data Sheet
3. 3 bi-color LED mode:
LED_BYTEOUT_[7]:COL
LED_BYTEOUT_[6]:LNK
LED_BYTEOUT_[5]:FC
LED_BYTEOUT_[4]:SPD1000
LED_BYTEOUT_[3]:SPD100
LED_BYTEOUT_[2]:FDX
LED_BYTEOUT_[1]:HDX
LED_BYTEOUT_[0]:ACT
Note: All output qualified by Link signal
4. Programmable mode:
LED_BYTEOUT_[7]:Link
LED_BYTEOUT_[6:0]:Defined by the LEDSIG6 ~ LEDSIG0 programmable registers.
Note: All output qualified by Link signal
Bit[6]:
Reserved. Must be '0'
Bit[7]:
Enable internal loop back. When this bit is set to '1' all ports work in
internal loop back mode. For normal operation must be '0'.
10.8.11 DEVICE Mode
I2C Address h0B5; Serial Interface Address:h60a
Accessed by serial interface and I2C (R/W)
7
3
2
0
Device ID
Bit[2:0]:
Reserved
Bit [7:3]:
DEVICE ID (Default 0). This is for stacking operation. This is the stack
ID for loop topology.
10.8.12 CHECKSUM - EEPROM Checksum
I2C Address h0C5, Serial Interface Address:h60B
Accessed by serial interface and I2C (R/W)
Bit [7:0]:
SEMICMF.019
(Default 00)
93
MVTX2803AG
Data Sheet
Before requesting that the MVTX2603AG updates the EEPROM
device, the correct checksum needs to be calculated and written into
this checksum register. The checksum formula is:
FF
Σ i2C register = 0
i=0
After booting cicle the MVTX2603AG calculates the checksum. If the
checksum is not zeroed the MVTX2803AG does not start.
10.8.13 LED User
10.8.14 LEDUSER0
I2C Address h0BB, Serial Interface Address:h60C
Accessed by serial interface and I2C (R/W)
7
0
LED USER0
Bit [7:0]:
(Default 00)
Content will send out by LED serial logic
10.8.15 LEDUSER1
I2C Address h0BC, Serial Interface Address:h60D
Accessed by serial interface and I2C (R/W)
7
0
LED USER1
Bit [7:0]:
(Default 00)
Content will send out by LED serial logic
94
SEMICMF.019
MVTX2803AG
Data Sheet
10.8.16 LEDUSER2/LEDSIG2
I2C Address h0BD, Serial Interface Address:h60E
Accessed by serial interface and I2C (R/W)
In serial mode:
7
0
LED USER2
Bit [7:0]:
(Default 00)
Content will be sent out by LED serial shift logic
In parallel mode: this register is used for programming the LED pin – led_byteout_[2]
7
COL
Bit [3:0]:
FDX
SP1
4
3
0
SP0
COL
FDX
SP1
SP0
(Default 4’H0)
Signal polarity: 0: not invert polarity (high true)
1: invert polarity
Bit [7:4]
(Default 4’H8)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[2] = AND (all selected bits)
10.8.17 EDUSER3/LEDSIG3
I2C Address:h0BE, Serial Interface Address:h60F
Access by CPU, serial interface (R/W)
In serial mode:
0
7
LED USER3
Bit [7:0]:
(Default 8’H33)
Content will be sent out by LED serial shift logic.
In parallel mode: this register is used for programming the LED pin - led_byteout_[3]
7
COL
SEMICMF.019
FDX
SP1
4
3
SP0
COL
0
FDX
SP1
SP0
95
MVTX2803AG
Data Sheet
Bit [3:0]:
(Default 4’H3)
Signal polarity: 0: not invert polarity (high true)
1: invert polarity
Bit [7:4]
(Default 4’H3)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[3] = AND (all selected bits)
10.8.18 LEDUSER4/LEDSIG4
I2C Address:h0BF, Serial Interface Address:h610
Access by CPU, serial interface (R/W)
0
7
LED USER4
Bit [7:0]
(Default 8’H32)
Content will be sent out by LED serial shift logic.
In parallel mode: this register is used for programming the LED pin - led_byteout_[4]
7
COL
FDX
Bit [3:0]
SP1
4
3
SP0
COL
0
FDX
SP1
SP0
(Default 4’H2)
Signal polarity: 0: not invert polarity (high true)
1: invert polarity
Bit [7:4]
(Default 4’H3)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[4] = AND (all selected bits)
96
SEMICMF.019
MVTX2803AG
Data Sheet
10.8.19 LEDUSER5/LEDSIG5
I 2C Address:h0C0, Serial Interface Address:h611
Access by CPU, serial interface (R/W)
0
7
LED USER5
Bit [7:0]
(Default 8’H20)
Content will be sent out by LED serial shift logic.
In parallel mode: this register is used for programming the LED pin - led_byteout_[5]
7
COL
FDX
Bit [3:0]
SP1
4
3
SP0
COL
0
FDX
SP1
SP0
(Default 4’H0)
Signal polarity: 0: not invert polarity (high true)
1: invert polarity
Bit [7:4]
(Default 4’H2)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[5] = AND (all selected bits)
10.8.20 LEDUSER6/LEDSIG6
I2C Address:h0C1, Serial Interface Address:h612
Access by CPU, serial interface (R/W)
0
7
LED USER6
Bit [7:0]
(Default 8’H40)
Content will be sent out by LED serial shift logic.
In parallel mode: this register is used for programming the LED pin - led_byteout_[6]
7
COL
SEMICMF.019
FDX
SP1
4
3
SP0
COL
0
FDX
SP1
SP0
97
MVTX2803AG
Bit [3:0]
Data Sheet
(Default 4’B0000)
Signal polarity: 0: not invert polarity (high true)
1: invert polarity
Bit [7:4]
(Default 4’b0100)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[6] = AND (all selected bits),
or the polarity of led_byteout_[6] is controlled by LEDSIG1_0[3]
10.8.21 LEDUSER7/LEDSIG1_0
I2C Address:h0C2, Serial Interface Address:h613
Access by CPU, serial interface (R/W)
0
7
LED USER7
Bit [7:0]
(Default 8’H61)
Content will be sent out by LED serial shift logic.
In parallel mode: this register is used for programming the LED pin - led_byteout_[2]
7
GP
RX
TX
Bit [7]
4
3
FC
P6
0
RX
TX
FC
(Default 1’B0)
•
Global output polarity: this bit controls the output polarity of all
led_byteout_ and led_port_sel pins.
0: no invert polarity - (led_byteout_[7:0] are high activated,
led_port_sel[9:0] are low activated)
1: invert polarity - (led_byteout_[7:0] are low activated,
led_port_sel[9:0] are high activated)
Bit [6:4]
(Default 3’B110)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[6] = OR (all selected bits)
Bit[3]
(Default 1’B0)
Polarity control of led_byteout_[6]
0: not invert
1: invert
98
SEMICMF.019
MVTX2803AG
Data Sheet
Bit [2:0]
(Default 3’b001)
Signal Select: 0: not select
1: select the corresponding bit
When bits get selected, the led_byteout_[0] = OR (all selected bits)
10.8.22 MIINP0 – MII Next Page Data Register 0
I2C Address:h0C3, Serial Interface Address:h614
Access by CPU and serial interface only (R/W)
Bit [7:0]
MII next page Data [7:0]
10.8.23 MIINP1 – MII Next Page Data Register 1
I2C Address:h0C4, Serial Interface Address:h615
Access by CPU and serial interface only (R/W)
Bit [7:0]
MII next page Data [15:8]
10.9
Group F Address - CPU Access Group
10.9.1
GCR-Global Control Register
Serial Interface Address: hF00
Accessed by serial interface. (R/W)
7
0
Init
Bit [0]:
Reset
Bist
SR
SC
Store configuration (Default = 0)
Write ‘1’ followed by ‘0’ to store configuration into external EEPROM
Bit[1]:
Store configuration and reset (Default = 0)
Write ‘1’ to store configuration into external EEPROM and reset chip
Bit[2]:
Start BIST (Default = 0)
Write ‘1’ followed by ‘0’ to start the device’s built-in self-test. The result
is found in the DCR register.
Bit[3]:
Soft Reset (Default = 0)
Write ‘1’ to reset the chip
SEMICMF.019
Bit[4]:
Reserved
Bit[5:7]:
Reserved
99
MVTX2803AG
10.9.2
Data Sheet
DCR-Device Status and Signature Register
Serial Interface Address: hF01
Accessed by serial interface. (RO)
7
Revision
Bit [0]:
0
Signature
RE
BinP
BR
BW
1 - Busy writing configuration to I2C
0 – Not Busy writing configuration to I2C
Bit[1]:
1 - Busy reading configuration from I2C
0 – Not Busy reading configuration from I2C
Bit[2]:
1 - BIST in progress
0 - BIST not running
Bit[3]:
1 - RAM Error
0 – RAM OK
Bit[5:4]:
Device Signature
00 – 4 Ports Device, non-management mode
01 – 8 Ports Device, non-management mode
10 – 4 Ports Device, management mode possible (need to install CPU)
11 - 8 Ports Device, management mode possible (need to install CPU)
Bit [7:6]:
10.9.3
Revision
DCR01-Giga port status
Serial Interface Address: hF02
Accessed by serial interface. (RO)
7
3
CIC
GIGA1
Bit [1:0]:
2
1
0
GIGA0
Giga port 0 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
100
SEMICMF.019
MVTX2803AG
Data Sheet
Bit[3:2]
Giga port 1 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit [7]
Chip initialization completed
Note: DCR01[7], DCR23[7], DCR45[7] and DCR67[7] have the same
function.
10.9.4
DCR23-Giga port status
Serial Interface Address: hF03
Accessed by CPU and serial interface. (RO)
7
3
CIC
GIGA3
Bit [1:0]:
2
1
0
GIGA2
Giga port 2 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit[3:2]
Giga port 3 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit [7]
10.9.5
Chip initialization completed
DCR45-Giga port status
Serial Interface Address: hF04
Accessed by CPU and serial interface. (RO)
SEMICMF.019
7
3
CIC
GIGA5
2
1
0
GIGA4
101
MVTX2803AG
Bit [1:0]:
Data Sheet
Giga port 4 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit[3:2]
Giga port 5 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit [7]
10.9.6
Chip initialization completed
DCR67-Giga port status
Serial Interface Address: hF05
Accessed by CPU and serial interface. (RO)
7
3
CIC
GIGA7
Bit [1:0]:
2
1
0
GIGA6
Giga port 6 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit[3:2]
Giga port 7 strap option
00 – 100Mb MII mode
01 – 2G mode
10 – GMII
11 – PCS
Bit [7]
102
Chip initialization completed
SEMICMF.019
MVTX2803AG
Data Sheet
10.9.7
DPST – Device Port Status Register
Serial Interface Address:hF06
Accessed by CPU and serial interface (R/W)
Bit[2:0]:
Read back index register. This is used for selecting what to read back
from DTST. (Default 00)
3’B000 - Port 0 Operating mode and Negotiation status
3’B001 - Port 1 Operating mode and Negotiation status
3’B010 - Port 2 Operating mode and Negotiation status
3’B011 - Port 3 Operating mode and Negotiation status
3’B100 - Port 4 Operating mode and Negotiation status
3’B101 - Port 5 Operating mode and Negotiation status
3’B110 - Port 6 Operating mode and Negotiation status
3’B111 - Port 7 Operating mode and Negotiation status
10.9.8
DTST – Data Read Back Register
Serial Interface Address: hF07
Accessed by CPU and serial interface (RO)
0
7
MD
InfoDet
SigDet
Giga
lnkdn
FE
Fdpx
Fc_en
This register provides various internal information as selected in DPST bit[2:0]
Bit[0]:
Flow control enabled
Bit[1]:
Full duplex port
Bit[2]:
Fast ethernet port (if not giga)
Bit[3]:
Link is down
Bit[4]:
GIGA port
Bit[5]:
Signal detect (when PCS interface mode)
Bit[6]:
Pipe signal detected (pipe mode only)
Bit[7]:
Module detected (for hot swap purpose)
SEMICMF.019
103
MVTX2803AG
Data Sheet
11.0
BGA and Ball Signal Description
11.1
BGA Views
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
AVD NC9 SCA LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D S_CL LB_D LB_A LB_A LB_A LB_A B_A[ B_A[ B_A[ B_A[ B_OE B_D[ B_D[ NC4 NC3
D
N EN [0]
[4]
[5]
[10] [16] [19] [26] [31] [32] [36] [40] [45] K
[60] [3]
[7]
[11] [15] 16] 12] 7]
2]
#
27] 26]
DEV_ LA_D NC7 LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_C LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A B_A[ B_A[ B_A[ B_A[ B_W B_D[ DEV_ NC5 B_D[2
CF[0] [0]
[1]
[3]
[6]
[12] [17] [20] [28] S0# [33] [37] [41] [47] [54] [58] [62] [6]
[10] [13] 17] 13] 8]
3]
E#
30] CFG[
5]
LA_D LA_C LA_D NC6 LB_D LB_D LB_D LB_D LB_D LB_D LB_R LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A B_A[ B_A[ B_A[ B_A[ B_A[ B_D[ AVD B_CL B_D[2
[1]
LK
[3]
[2]
[8]
[15] [18] [21] [29] W # [34] [39] [43] [48] [52] [57] [61] [4]
[8]
[12] 18] 14] 11] 5]
4]
28] D
K
2]
LA_D LA_D LA_D NC8 LB_C LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A LB_A B_A[ B_A[ B_AD NC2 B_D[ B_D[ B_D[ B_D[2
[2]
[5]
[9]
LK
[9]
[13] [23] [22] [24] [25] [35] [42] [44] [50] [51] [55] [63] [14] [18] [16] [19] 9]
10] SC#
29] 24]
18] 1]
LA_D LA_D LA_D LA_D AGN LB_D LB_D LB_D LB_D LB_D LB_C LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A LB_A B_A[ B_A[ B_D[ AGN B_D[ B_D[ B_D[ B_D[ B_D[1
[8]
[7]
[6]
[4]
D
[7]
[14] [11] [27] [30] S1# [38] [46] [49] [53] [56] [59] [5]
[9]
[17] [20] 15] 6]
31] D
17] 23] 19]
16] 4]
LA_D LA_D LA_D LA_D LA_D VSS VSS
[10] [11] [12] [13] [14]
VDD VDD
VD33 VD33 VD33 VSS VSS VD33 VD33 VD33
VDD VDD
LA_D LA_D LA_D LA_D LA_D VDD
[15] [16] [19] [18] [17]
VDD B_D[ B_D[ B_D[ B_D[ B_D[7]
20] 4]
3]
6]
LA_D LA_D LA_D LA_D LA_D
[20] [21] [22] [29] [24]
L
VSS VSS NC1 B_D[ B_D[ B_D[ B_D[1
9]
10]
11] 2]
B_D[ B_D[ P_IN B_D[ B_D[2]
15] 8]
T#
1]
LA_D LA_D LA_D LA_D LA_D VDD
[23] [25] [26] [27] [31]
VDD B_D[ P_A[ P_A[ P_W P_RD#
13] 1]
2]
E#
LA_D LA_D LA_C LA_D LA_D VDD
[28] [30] S0# [37] [33]
VDD B_D[ P_D[ P_D[ P_D[ P_D[1
5]
15] 11]
12] 3]
LA_C LA_R LA_D LA_D LA_D
S1# W # [32] [46] [41]
P_CS P_D[ P_D[ P_D[ P_D[1
#
14] 7]
8]
0]
LA_D LA_D LA_D LA_D LA_D VD33
[34] [35] [36] [53] [48]
VD33 P_A[ B_D[ P_D[ P_D[ P_D[5]
0]
0]
3]
4]
LA_D LA_D LA_D LA_D LA_D VD33
[38] [40] [42] [61] [56]
VSS VSS VSS VSS VSS VSS
VD33 P_D[ P_D[ P_D[ P_D[ P_D[2]
6]
9]
0]
1]
LA_D LA_D LA_D LA_A LA_D VD33
[43] [44] [45] [4]
[39]
VSS VSS VSS VSS VSS VSS
VD33 T_D[ T_D[ T_D[ T_D[ T_D[14
15] 11] 12]
13] ]
LA_D LA_D LA_D LA_D LA_D VSS
[49] [50] [51] [52] [47]
VSS VSS VSS VSS VSS VSS
VSS T_D[ T_D[ T_D[ T_D[ T_D[9]
10] 5]
7]
8]
LA_D LA_D LA_D LA_D LA_A VSS
[58] [57] [55] [54] [7]
VSS VSS VSS VSS VSS VSS
VSS T_D[ T_D[ T_D[ T_D[ T_D[0]
6]
4]
2]
1]
LA_D LA_D LA_D LA_D LA_A VD33
[63] [62] [60] [59] [11]
VSS VSS VSS VSS VSS VSS
VD33 S_R T_D[ TMO TMO RESO
ST# 3]
DE[1] DE[0] UT#
LA_A LA_A LA_A LA_A LA_A VD33
[6]
[5]
[3]
[14] [18]
VSS VSS VSS VSS VSS VSS
VD33 G7_ G7_R LESY LE_C LE_DO
RXD[ X ER NO# LK0
LA_A LA_A LA_A LA_A G0_T VD33
[10] [9]
[8]
[20] XD[1]
VD33 G7_ G7_R G7_R G7_R G7_RX
RXD[ XD[1] X DV XD[6] D[5]
LA_A LA_A LA_A G0_C G0_T
[15] [13] [12] RS/L XD[4]
G7_T G7_T G7_R G7_R G7_RX
XD[6] X EN XD[4] XD[2] D[0]
LA_A LA_A LA_A GRE G0_T VDD
[19] [17] [16] FC[0] XD[7]
VDD G7_T G7_T G7_C G7_R MIITX
XD[0] XD[3] OL
XCLK CK[7]
MIITX G0_T G0_T G0_T G0_T VDD
CK[0] XD[2] XD[0] XCLK X E
VDD G6_ G7_T G7_T G7_T G7_TX
RXD[ X ER XD[7] XD[5] D[4]
G0_R G0_T G0_T G0_R G0_R
XCLK XD[5] XD[3] XD[2] XD[6]
G0_R G0_T G0_C G0_T G0_
XD[0] X EN OL
XD[6] RX
G6_R G6_R G7_T G7_T G7_C
XD[2] XD[4] XD[2] XD[1] RS/L
VSS
VDD G6_ G6_R G7_T GRE G6_RX
RXD[ X ER XCLK FC[7] DV
G0_R G0_R G0_R G0_R G1_T VSS VDD
XD[5] XD[4] XD[3] XD[1] XD[0]
VDD VDD
VD33 VD33 VD33 VSS VSS VD33 VD33 VD33
VDD VDD
VSS VSS G6_T G6_R G6_R G6_R G6_RX
XD[7] XD[6] XD[5] XD[3] D[1]
G0_R G0_R GRE G1_R G1_R G1_R G2_T G2_T G2_R G2_R G2_R G3_T G3_T G3_C G3_R G3_R IND_ G3_R G3_R G4_T G4_R G4_R G5_T G5_T G5_T G5_R G6_R G6_T G6_C G6_TX
XD[7] X ER FC[1] XD[2] XD[5] XD[7] XD[0] XD[7] XD[2] XD[4] XD[5] XD[1] XD[6] OL
XD[3] XD[6] CM XD[4] X ER XD[3] XD[1] XD[4] XD[2] XD[4] X ER XD[5] XCLK XD[6] OL
ER
G1_T G1_T G1C G1_T G2_T G1_R G2_T G2_T G2_R G2_R G2_R G2_R G3_T G3_R G3_R G3_R GRE M_M G4_T G4_R G4_R G4_R G5_C G5_T MIITX G5_R G6_T G6_T G6_T G6_TX
XD[1] XCLK RS/L XD[7] XCLK XD[4] XD[4] XD[3] XD[3] XCLK XD[7] X ER X EN XD[0] XD[5] XD[7] FC[4] DIO XD[1] XD[5] XD[6] XD[7] RS/L XD[5] CK[5] XD[1] XD[3] XD[4] X EN D[5]
G1_T G1_T MIITX G1_R G1_R G2C MIITX G2_T G2_R G2_R G3_T G3_T G3_T G3_R G3_R G3_R G4_T G4_T G4_T G4_T G4_R G4_R G4_R G5_T G5_T G5_R G5_R G6_T G6_T G6_TX
XD[2] XD[3] CK[1] XD[0] XCLK RS/L CK[2] X EN XD[1] X DV XCLK XD[3] XD[5] XCLK XD[2] X DV XCLK XD[4] XD[6] X ER XCLK X DV X ER XD[3] X EN XD[3] XD[6] XD[1] XD[2] CLK
G1_T G1_T G1_T G1_C G1_R GRE G2_T G2_T G2_R G2_R GRE G3_T MIITX G3_T G3_R M_M G4_T G4_T G4_T G4_R G4_C GRE G5_T G5_T G5_R G5_C G5_R G5_R G6_C G6_TX
XD[5] XD[4] X ER OL
XD[6] FC[2] XD[2] XD[6] XD[0] XD[6] FC[3] XD[2] CK[3] X ER XD[1] DC XD[0] XD[5] XD[7] XD[0] OL
FC[5] XD[0] XD[6] XD[0] OL
XD[4] X ER RS/L D[0]
AK G1_T G1_T G1_R G1_R G1_R G1_R G2_T G2_T G2_T G2_C G3_C G3_T G3_T G3_T CM_ G4C G4_T MIITX G4_T G4_R G4_R G5_T G5_T G5_T G5_R G5_R G5_R G5_R MIITX GREF
XD[6] X EN XD[1] XD[3] X DV X ER XD[1] XD[5] X ER OL
RS/L XD[0] XD[4] XD[7] CLK RS/L XD[2] CK[4] X EN XD[2] XD[3] XCLK XD[1] XD[7] XD[2] XCLK XD[7] X DV CK[6] C[6]
1
104
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
SEMICMF.019
MVTX2803AG
Data Sheet
11.2
Power and Ground Distribution
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
AVDD NC9 SCA LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D S_CL LB_D LB_A LB_A LB_A LB_A B_A[ B_A[ B_A[ B_A[ B_OE B_D[ B_D[ NC4 NC3
N EN [0]
[4]
[5]
[10] [16] [19] [26] [31] [32] [36] [40] [45] K
[60] [3]
[7]
[11] [15] 16] 12] 7]
2]
#
27] 26]
DEV_C LA_D NC7 LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_C LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A B_A[ B_A[ B_A[ B_A[ B_W B_D[ DEV_ NC5 B_D[
F[0]
[0]
[1]
[3]
[6]
[12] [17] [20] [28] S0# [33] [37] [41] [47] [54] [58] [62] [6]
[10] [13] 17] 13] 8]
3]
E# 30] CFG[
25]
LA_D[1] LA_C LA_D NC6 LB_D LB_D LB_D LB_D LB_D LB_D LB_R LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A B_A[ B_A[ B_A[ B_A[ B_A[ B_D[ AVD B_CL B_D[
LK [3]
[2]
[8]
[15] [18] [21] [29] W# [34] [39] [43] [48] [52] [57] [61] [4]
[8]
[12] 18] 14] 11] 5]
4]
28] D
K
22]
LA_D[2] LA_D LA_D NC8 LB_C LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A LB_A B_A[ B_A[ B_AD NC2 B_D[ B_D[ B_D[ B_D[
[5]
[9]
LK [9]
[13] [23] [22] [24] [25] [35] [42] [44] [50] [51] [55] [63] [14] [18] [16] [19] 9]
10] SC#
29] 24] 18] 21]
LA_D[8] LA_D LA_D LA_D AGN LB_D LB_D LB_D LB_D LB_D LB_C LB_D LB_D LB_D LB_D LB_D LB_D LB_A LB_A LB_A LB_A B_A[ B_A[ B_D[ AGN B_D[ B_D[ B_D[ B_D[ B_D[
[7]
[6]
[4]
D
[7]
[14] [11] [27] [30] S1# [38] [46] [49] [53] [56] [59] [5]
[9]
[17] [20] 15] 6]
31] D
17] 23] 19] 16] 14]
LA_D[1 LA_D LA_D LA_D LA_D VSS VSS
0]
[11] [12] [13] [14]
VDD VDD
VD33 VD33 VD33 VSS VSS VD33 VD33 VD33
VDD VDD
LA_D[1 LA_D LA_D LA_D LA_D VDD
5]
[16] [19] [18] [17]
VDD B_D[ B_D[ B_D[ B_D[ B_D[
20] 4]
3]
6]
7]
LA_D[2 LA_D LA_D LA_D LA_D
0]
[21] [22] [29] [24]
L
VSS VSS NC1 B_D[ B_D[ B_D[ B_D[
9]
10] 11] 12]
B_D[ B_D[ P_IN B_D[ B_D[
15] 8]
T# 1]
2]
LA_D[2 LA_D LA_D LA_D LA_D VDD
3]
[25] [26] [27] [31]
VDD B_D[ P_A[ P_A[ P_W P_RD
13] 1]
2]
E# #
LA_D[2 LA_D LA_C LA_D LA_D VDD
8]
[30] S0# [37] [33]
VDD B_D[ P_D[ P_D[ P_D[ P_D[
5]
15] 11] 12] 13]
LA_CS LA_R LA_D LA_D LA_D
1#
W# [32] [46] [41]
P_CS P_D[ P_D[ P_D[ P_D[
#
14] 7]
8]
10]
LA_D[3 LA_D LA_D LA_D LA_D VD33
4]
[35] [36] [53] [48]
VD33 P_A[ B_D[ P_D[ P_D[ P_D[
0]
0]
3]
4]
5]
LA_D[3 LA_D LA_D LA_D LA_D VD33
8]
[40] [42] [61] [56]
VSS VSS VSS VSS VSS VSS
VD33 P_D[ P_D[ P_D[ P_D[ P_D[
6]
9]
0]
1]
2]
LA_D[4 LA_D LA_D LA_A LA_D VD33
3]
[44] [45] [4]
[39]
VSS VSS VSS VSS VSS VSS
VD33 T_D[ T_D[ T_D[ T_D[ T_D[
15] 11] 12] 13] 14]
LA_D[4 LA_D LA_D LA_D LA_D VSS
9]
[50] [51] [52] [47]
VSS VSS VSS VSS VSS VSS
VSS T_D[ T_D[ T_D[ T_D[ T_D[
10] 5]
7]
8]
9]
LA_D[5 LA_D LA_D LA_D LA_A VSS
8]
[57] [55] [54] [7]
VSS VSS VSS VSS VSS VSS
VSS T_D[ T_D[ T_D[ T_D[ T_D[
6]
4]
2]
1]
0]
LA_D[6 LA_D LA_D LA_D LA_A VD33
3]
[62] [60] [59] [11]
VSS VSS VSS VSS VSS VSS
VD33 S_RS T_D[ TMO TMO RES
T# 3]
DE[1] DE[0] OUT#
LA_A[6] LA_A LA_A LA_A LA_A VD33
[5]
[3]
[14] [18]
VSS VSS VSS VSS VSS VSS
VD33 G7_R G7_R LESY LE_C LE_D
XD[7] X ER NO# LK0 O
LA_A[1 LA_A LA_A LA_A G0_T VD33
0]
[9]
[8]
[20] XD[1]
VD33 G7_R G7_R G7_R G7_R G7_R
XD[3] XD[1] X DV XD[6] XD[5]
LA_A[1 LA_A LA_A G0_C G0_T
5]
[13] [12] RS/L XD[4]
G7_T G7_T G7_R G7_R G7_R
XD[6] X EN XD[4] XD[2] XD[0]
LA_A[1 LA_A LA_A GRE G0_T VDD
9]
[17] [16] FC[0] XD[7]
VDD G7_T G7_T G7_C G7_R MIITX
XD[0] XD[3] OL XCLK CK[7]
MIITXC G0_T G0_T G0_T G0_T VDD
K[0]
XD[2] XD[0] XCLK X ER
VDD G6_R G7_T G7_T G7_T G7_T
XD[7] X ER XD[7] XD[5] XD[4]
G0_RX G0_T G0_T G0_R G0_R
CLK
XD[5] XD[3] XD[2] XD[6]
G6_R G6_R G7_T G7_T G7_C
XD[2] XD[4] XD[2] XD[1] RS/L
G0_RX G0_T G0_C G0_T G0_R VSS
D[0]
X EN OL XD[6] X DV
VDD G6_R G6_R G7_T GRE G6_R
XD[0] X ER XCLK FC[7] X DV
G0_RX G0_R G0_R G0_R G1_T VSS VDD
D[5]
XD[4] XD[3] XD[1] XD[0]
VDD VDD
VD33 VD33 VD33 VSS VSS VD33 VD33 VD33
VDD VDD
VSS VSS G6_T G6_R G6_R G6_R G6_R
XD[7] XD[6] XD[5] XD[3] XD[1]
G0_RX G0_R GRE G1_R G1_R G1_R G2_T G2_T G2_R G2_R G2_R G3_T G3_T G3_C G3_R G3_R IND_ G3_R G3_R G4_T G4_R G4_R G5_T G5_T G5_T G5_R G6_R G6_T G6_C G6_T
D[7]
X ER FC[1] XD[2] XD[5] XD[7] XD[0] XD[7] XD[2] XD[4] XD[5] XD[1] XD[6] OL XD[3] XD[6] CM XD[4] X ER XD[3] XD[1] XD[4] XD[2] XD[4] X ER XD[5] XCLK XD[6] OL X ER
G1_TX G1_T G1C G1_T G2_T G1_R G2_T G2_T G2_R G2_R G2_R G2_R G3_T G3_R G3_R G3_R GRE M_M G4_T G4_R G4_R G4_R G5_C G5_T MIITX G5_R G6_T G6_T G6_T G6_T
D[1]
XCLK RS/L XD[7] XCLK XD[4] XD[4] XD[3] XD[3] XCLK XD[7] X ER X EN XD[0] XD[5] XD[7] FC[4] DIO XD[1] XD[5] XD[6] XD[7] RS/L XD[5] CK[5] XD[1] XD[3] XD[4] X EN XD[5]
G1_TX G1_T MIITX G1_R G1_R G2C MIITX G2_T G2_R G2_R G3_T G3_T G3_T G3_R G3_R G3_R G4_T G4_T G4_T G4_T G4_R G4_R G4_R G5_T G5_T G5_R G5_R G6_T G6_T G6_T
D[2]
XD[3] CK[1] XD[0] XCLK RS/L CK[2] X EN XD[1] X DV XCLK XD[3] XD[5] XCLK XD[2] X DV XCLK XD[4] XD[6] X ER XCLK X DV X ER XD[3] X EN XD[3] XD[6] XD[1] XD[2] XCLK
G1_TX G1_T G1_T G1_C G1_R GRE G2_T G2_T G2_R G2_R GRE G3_T MIITX G3_T G3_R M_M G4_T G4_T G4_T G4_R G4_C GRE G5_T G5_T G5_R G5_C G5_R G5_R G6_C G6_T
D[5]
XD[4] X ER OL XD[6] FC[2] XD[2] XD[6] XD[0] XD[6] FC[3] XD[2] CK[3] X ER XD[1] DC XD[0] XD[5] XD[7] XD[0] OL FC[5] XD[0] XD[6] XD[0] OL XD[4] X ER RS/L XD[0]
AK
G1_TX G1_T G1_R G1_R G1_R G1_R G2_T G2_T G2_T G2_C G3_C G3_T G3_T G3_T CM_ G4C G4_T MIITX G4_T G4_R G4_R G5_T G5_T G5_T G5_R G5_R G5_R G5_R MIITX GRE
D[6]
X EN XD[1] XD[3] X DV X ER XD[1] XD[5] X ER OL RS/L XD[0] XD[4] XD[7] CLK RS/L XD[2] CK[4] X EN XD[2] XD[3] XCLK XD[1] XD[7] XD[2] XCLK XD[7] X DV CK[6] FC[6]
1
SEMICMF.019
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
105
MVTX2803AG
11.3
Data Sheet
Ball- Signal Descriptions
All pins are CMOS type; all Input pins are 5 Volt tolerance, and all Output pins are 3.3 CMOS drive.
Ball No(s)
Symbol
I/O
Description
K27, L27, K30, K29, K28
P_DATA[15:11]
I/O-TS with pull up
Not used – leave unconnected
L30
P_DATA[10]
I/O – TS with pull up
Trunk enable
External pull up or
unconnected– disable trunk
group 0 and 1
External pull down – enable trunk
group 0 and 1
See register TRUNK0_MODE for
port selection and trunk enable.
N27
P_DATA[9]
I/O – TS with pull up
Trunk enable
External pull up or unconnected –
disable trunk group 2 and 3
External pull down – enable trunk
group 2 and 3
See register TRUNK1_MODE for
port selection and trunk enable.
L29, L28, N26, M30, M29,
M28, N30, N29, N28
P_DATA[8:0]
I/O – TS with pull up
Bootstrap function – See
bootstrap section
J28
P_A[2]
Input
Not used – leave unconnected
H28
P_INT#
Output
Not used – leave unconnected
I2C Interface (0) Note: In unmanaged mode, Use I2C and Serial control interface to configure the system
J27
SCL
Output
I2C Data Clock
M26
SDA
I/O-TS with pull up
I2C Data I/O
J29
PS_STROBE
Input with weak
internal pull up
Serial Strobe Pin
L26
PS_DO
Input with weak
internal pull up
Serial Data Input
J30
PS_DI
(AUTOFD)
Output with pull up
Serial Data Output (AutoFD)
Serial Control Interface
Frame Buffer Interface
U1, U2, N4, U3, U4, T1, T2,
N5, T3, T4, M4, R4, R3, R2,
R1, M5, R5, L4, P3, P2, P1,
N3, L5, N2, P5, N1, K4, M3,
M2, M1, K5, L3, J5, K2, H4,
K1, J4, J3, J2, H5, J1, H3,
H2, H1, G3, G4, G5, G2,
G1, F5, F4, F3, F2, F1, D3,
E1, E2, E3, D2., E4, C3,
D1, C1, B2
106
LA_D[63:0]
I/O-TS with pull up
Frame Bank A– Data Bit [63:0]
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No(s)
Symbol
I/O
Description
AA1, V5, AA2, AA3, Y1, V4,
Y2, Y3, U5, W1, W2, W3,
T5, V1, V2, P4, V3
LA_A[19:3]
Output
Frame Bank A – Address Bit
[19:3]
W4
LA_A[20]
Output with pull up
Frame Bank A – Address Bit [20]
C2
LA_CLK
Output
Frame Bank A Clock Input
K3
LA_CS0#
Output with pull up
Frame Bank A Low Portion Chip
Selection
L1
LA_CS1#
Output with pull up
Frame Bank A High Portion Chip
Selection
L2
LA_RW#
Output with pull up
Frame Bank A Read/Write
D18, B18, C18, A17, E17,
B17, C17, E16, D17, B16,
E15, C16, D16, D15, E14,
C15, B15, E13, A15, D14,
C14, D13, B14, A14, C13,
E12, B13, A13, D12, C12,
B12, A12, A11, E10, C10,
B10, E9, A10, D11, D10,
D8, D9, C9, B9, A9, C8, B8,
A8, C7, E7, D7, B7, E8, A7,
D6, C6, E6, B6, A6, A5, B5,
C5, B4,A4
LB_D[63:0]
I/O-TS with pull up.
Frame Bank B– Data Bit [63:0]
D22, D20, E20, D21, A21,
D19, B21, C21, A20, B20,
E19, C20, A19, B19, E18,
C19, A18
LB_A[19:3]
Output
Frame Bank B – Address Bit
[19:3]
E21
LB_A[20]
Output with pull up
Frame Bank B – Address Bit [20]
D5
LB_CLK
Output
Frame Bank B Clock Input
B11
LB_CS0#
Output with pull up
Frame Bank B Low Portion Chip
Selection
E11
LB_CS1#
Output with pull up
Frame Bank B High Portion Chip
Selection
C11
LB_RW#
Output with pull up
Frame Bank B Read/Write
Switch Database Interface
SEMICMF.019
107
MVTX2803AG
Ball No(s)
Data Sheet
Symbol
I/O
Description
E24,B27, D27, C27, A27,
A28, B30, D28, E27, C30,
D30, G26, E28, D29, E26,
E29, H26, E30, J26, F30,
F29, F28, F27, H27, G30,
G29, K26, G27, G28, H30,
H29, M27
B_D[31:0]
I/O-TS with pull up
Switch Database Domain
– Data Bit [31:0]
C22, B22, A22, E22, C23,
B23, A23, C24, D24, D23,
B24, A24, E23, C25, C26,
B25, A25
B_A[18:2]
Output
Switch Database Address (512K)
– Address Bit [18:2]
C29
B_CLK
Output
Switch Database Clock Input
D25
B_ADSC#
Output with pull up
Switch Database Address Status
Control
B26
B_WE#
Output with pull up
Switch Database Write Chip
Select
A26
B_OE#
Output with pull up
Switch Database Read Chip
Select
AJ16
M_MDC
Output
MII Management Data Clock –
(common for all MII Ports [7:0])
AG18
M_MDIO
I/O-TS with pull up
MII Management Data I/O –
(common for all MII Ports –[7:0]))
2.5Mhz
MII Management Interface
GMII / MII Interface (193) Gigabit Ethernet Access Port
AD29, AK30, AJ22, AG17,
AJ11, AJ6, AF3,AA4
GREF_CLK [7:0]
Input w/ pull up
Gigabit Reference Clock
AK15
CM_CLK
Input w/ pull up
Common Clock shared by port
G[7:0]
AF17
IND/CM
Input w/ pull up
1: select GREF_CLK[7:0] as
clock
0: select CM_CLK as clock for all
ports
AA30, AK29, AG25, AK18,
AJ13, AH7, AH3, AB1
MII TX CLK[7:0]
Input w/ pull up
108
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No(s)
Symbol
I/O
Description
V26, W29, W30, Y28, W26,
Y29, W27, Y30
AB26, AE27, AE28, AC27,
AE29, AC26, AE30, AD26
AK27, AH27, AF26, AJ27,
AH26, AK25, AG26, AJ25
AG22, AG21, AG20, AF22,
AK21, AK20, AF21, AJ20
AG16, AF16, AG15, AF18,
AF15, AH15, AJ15, AG14
AG11, AJ10, AF11, AF10,
AG9, AF9, AH9, AJ9
AF6, AJ5, AF5, AG6, AK4,
AF4, AK3, AH4
AF1, AC5, AE1, AE2, AE3,
AC4, AE4, AD1
G7_RXD[7:0]
G6_RXD[7:0]
G5_RXD[7:0]
G4_RXD[7:0]
G3_RXD[7:0]
G2_RXD[7:0]
G1_RXD[7:0]
G0_RXD[7:0]
Input w/ pull up
G[7:0] port – Receive Data Bit
[7:0]
W28, AD30, AK28, AH22,
AH16, AH10, AK5, AD5
G[7:0]_RX_DV
Input w/ pull down
G[7:0]port – Receive Data Valid
V27, AD27, AJ28, AH23,
AF19, AG12, AK6, AF2
G[7:0]_RX_ER
Input w/ pull up
G[7:0]port – Receive Error
AC30, AJ29, AG23, AK16,
AK11, AH6, AG3, Y4
G[7:0]_CRS/LIN
K
Input w/ pull down
G[7:0]port – Carrier Sense
AA28, AF29, AJ26, AJ21,
AF14, AK10, AJ4, AD3
G[7:0]_COL
Input w/ pull up
G[7:0]port – Collision Detected
AA29, AF27, AK26, AH21,
AH14, AG10, AH5, AC1
G[7:0]_RXCLK
Input w/ pull up
G[7:0]port – Receive Clock
AB28, Y26, AB29, AB30,
AA27, AC28, AC29, AA26
AE26, AF28, AG30, AG28,
AG27, AH29, AH28, AJ30
AK24, AJ24, AG24, AF24,
AH24, AF23, AK23, AJ23
AJ19, AH19, AJ18, AH18,
AF20, AK17, AG19, AJ17
AK14, AF13, AH13, AK13,
AH12, AJ12, AF12, AK12
AF8, AJ8, AK8, AG7, AG8,
AJ7, AK7, AF7
AG4, AK1, AJ1, AJ2, AH2,
AH1, AG1, AE5
AA5, AD4, AC2, Y5, AC3,
AB2, W5, AB3
G7_TXD[7:0]
G6_TXD[7:0]
G5_TXD[7:0]
G4_TXD[7:0]
G3_TXD[7:0]
G2_TXD[7:0]
G1_TXD[7:0]
G0_TXD[7:0]
Output
G[7:0]port – Transmit Data Bit
[7:0]
Y27, AG29, AH25, AK19,
AG13, AH8, AK2, AD2
G[7:0]_TX_EN
Output w/ pull up
G[7:0]port – Transmit Data
Enable
AB27, AF30, AF25, AH20,
AJ14, AK9, AJ3, AB5
G[7:0]_TX_ER
Output w/ pull up
G[7:0]port – Transmit Error
AD28, AH30, AK22, AH17,
AH11, AG5, AG2, AB4
G[7:0]_ TXCLK
Output
G[7:0]port – Gigabit Transmit
Clock
SEMICMF.019
109
MVTX2803AG
Ball No(s)
Data Sheet
Symbol
I/O
Description
PMA Interface (193) Gigabit Ethernet Access Port (PCS)
AD29, AK30, AJ22, AG17,
AJ11, AJ6, AF3,AA4
GREF_CLK [7:0]
Input w/ pull up
Gigabit Reference Clock
AK15
CM_CLK
Input w/ pull up
Common Clock shared by port
G[7:0]
AF17
IND/CM
Input w/ pull up
1: select GREF_CLK[7:0] as
clock
0: select CM_CLK as clock for all
port
V26, W29, W30, Y28, W26,
Y29, W27, Y30
AB26, AE27, AE28, AC27,
AE29, AC26, AE30, AD26
AK27, AH27, AF26, AJ27,
AH26, AK25, AG26, AJ25
AG22, AG21, AG20, AF22,
AK21, AK20, AF21, AJ20
AG16, AF16, AG15, AF18,
AF15, AH15, AJ15, AG14
AG11, AJ10, AF11, AF10,
AG9, AF9, AH9, AJ9
AF6, AJ5, AF5, AG6, AK4,
AF4, AK3, AH4
AF1, AC5, AE1, AE2, AE3,
AC4, AE4, AD1
G7_RXD[7:0]
G6_RXD[7:0]
G5_RXD[7:0]
G4_RXD[7:0]
G3_RXD[7:0]
G2_RXD[7:0]
G1_RXD[7:0]
G0_RXD[7:0]
Input w/ pull up
G[7:0]port – PMA Receive Data
Bit [7:0]
W28, AD30, AK28, AH22,
AH16, AH10, AK5, AD5
G[7:0]_RX_D[8]
Input w/ pull down
G[7:0]port – PMA Receive Data
Bit [8]
V27, AD27, AJ28, AH23,
AF19, AG12, AK6, AF2
G[7:0]_RX_D[9]
Input w/ pull up
G[7:0]port – PMA Receive Data
Bit [9]
AA28, AF29, AJ26, AJ21,
AF14, AK10, AJ4, AD3
G[7:0]_RXCLK1
Input w/ pull up
G[7:0]port – PMA Receive Clock
1
AA29, AF27, AK26, AH21,
AH14, AG10, AH5, AC1
G[7:0]_RXCLK0
Input w/ pull up
G[7:0]port – PMA Receive Clock
0
110
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No(s)
AB28, Y26, AB29, AB30,
AA27, AC28, AC29, AA26
AE26, AF28, AG30, AG28,
AG27, AH29, AH28, AJ30
AK24, AJ24, AG24, AF24,
AH24, AF23, AK23, AJ23
AJ19, AH19, AJ18, AH18,
AF20, AK17, AG19, AJ17
AK14, AF13, AH13, AK13,
AH12, AJ12, AF12, AK12
AF8, AJ8, AK8, AG7, AG8,
AJ7, AK7, AF7
AG4, AK1, AJ1, AJ2, AH2,
AH1, AG1, AE5
AA5, AD4, AC2, Y5, AC3,
AB2, W5, AB3
2Y27, AG29, AH25, AK19,
AG13, AH8, AK2, AD2
Symbol
G7_TXD[7:0]
G6_TXD[7:0]
G5_TXD[7:0]
G4_TXD[7:0]
G3_TXD[7:0]
G2_TXD[7:0]
G1_TXD[7:0]
G0_TXD[7:0]
3G[7:0]_TXD[8]
I/O
Output
4Output w/ pull up
Description
G[7:0]port – PMA Transmit Data
Bit [7:0]
5G[7:0]port – PMA Transmit Data
Bit [8]
AB27, AF30, AF25, AH20,
AJ14, AK9, AJ3, AB5
G[7:0]_TX_D[9]
Output w/ pull up
G[7:0]port – PMA Transmit Data
Bit [9]
AD28, AH30, AK22, AH17,
AH11, AG5, AG2, AB4
G[7:0]_ TXCLK
Output
G[7:0]port – PMA Gigabit
Transmit Clock
U29
T_MODE0
I/O-TS with pull up
Test – Set upon Reset, and
provides NAND Tree test output
during test mode
Use external Pull up for normal
operation
U28
T_MODE1
I/O-TS with pull up
Test – Set upon Reset, and
provides NAND Tree test output
during test mode
Use external Pull up for normal
operation
A3
SCAN_EN
Input with pull down
Enable test mode
For normal operation leave it
unconnected
Test Facility (3)
LED Interface (serial and parallel)
R28, T26, R27, T27, U27,
T28, T29, T30
T_D[7:0]/
LE_PD[7:0]
Output
While resetting, T_D[7,0] are in
input mode and are used as
strapping pins. Internal pull up
LE_PD - Parallel Led data [7:0]
P26, P30, P29, P28, P27,
R26, R30, R29
T_D[15:8]/
LE_PT[7:0]
Output
While resetting, T_D[15:8] are in
input mode and are used as
strapping pins. Internal pull up
LED_PR[7:0] – Parallel Led port
selection [7:0]
SEMICMF.019
111
MVTX2803AG
Data Sheet
Ball No(s)
Symbol
I/O
Description
V29
LE_CLK0/
LE_PT[8]
Output
LE_CLK0 – LED Serial Interface
Output Clock
LE_PT[8] – Parallel Led port sel
[8]
V30
LED_BLINK/
LE_DO/
LE_PT[9]
Output
While resetting, LED-BLINK is in
input mode and is used as
strapping pin. 1: No Blink, 0:
Blink. Internal pull up.
LE_DO - LED Serial Data Output
Stream
LE_PT[9] – Parallel Led port sel
[9]
V28
LED_PM/
LE_SYNCO#
Output with pull up
While resetting, LED_PM is in
input mode and is used as
strapping pin. Internal pull up. 1:
Enable parallel interface, 0:
enable serial interface.
LE_SYNCO# - LED Output Data
Stream Envelop
System Clock, Power, and Ground Pins
A16
S_CLK
Input
System Clock at 133 MHz
U26
S_RST#
Input – ST
Reset Input
U30
RESOUT#
Output
Reset PHY
B1
DEV_CFG[0]
Input w/ pull down
Not used
B28
DEV_CFG[1]
Input w/ pull down
Not used
AE7, AE9, F10, F21, F22,
F9, G25, G6, J25, J6, K25,
K6, AA25, AA6, AB25, AB6,
AD25, AE10, AE21, AE22
VDD
Power core
+2.5 Volt DC Supply
V14, V15, V16, V17, V18,
F16, F24, F25, F6, F7, N13,
N14, N15, N16, N17, N18,
P13, P14, P15, P16, P17,
P18, R13, R14, R15, R16,
R17, R18, R25, R6, T13,
T14, T15, T16, T17, T18,
T25, T6, U13, U14, U15,
U16, U17, U18, V13, AD6,
AE15, AE16, AE24, AE25,
AE6, F15
VSS
Ground
Ground
A1, C28
AVDD
Power
Analog DC Supply
E5, E25
AVSS
Ground
Analog Ground
112
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No(s)
AE12, AE13, AE14, AE17,
AE18, AE19, F12, F13,
F14, F17, F18, F19, M25,
M6, N25, N6, P25, P6, U25,
U6, V25, V6, W25, W6
Symbol
VDD33
I/O
Power I/O
Description
+3.3 Volt DC Supply
Bootstrap Pins (Default= pull up, 1= pull up 0= pull down)
AD2
G0_TX_EN
Default: PCS
AB5
G0_TX_ER
Default: PCS
AK2
G1_TX_EN
Default: PCS
AJ3
G1_TXER
Default: PCS
AH8
G2_TX_EN
Default: PCS
AK9
G2_TX_ER
Default: PCS
AG13
G3_TX_EN
Default: PCS
AJ14
G3_TX_ER
Default: PCS
AK19
G4_TX_EN
Default: PCS
AH20
G4_TX_ER
Default: PCS
SEMICMF.019
Giga0
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
Giga1
Mode: G1_TXEN G1_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
Giga2
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
Giga3
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
Giga4
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
113
MVTX2803AG
Ball No(s)
Data Sheet
Symbol
I/O
AH25
G5_TX_EN
Default: PCS
AF25
G5_TX_ER
Default: PCS
AG29
G6_TX_EN
Default: PCS
AF30
G6_TX_ER
Default: PCS
Y27
G7_TX_EN
Default: PCS
AB27`
G7_TX_ER
Default: PCS
Description
Giga5
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
Giga6
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
Giga7
Mode: G0_TXEN G0_TXER
0
0
MII
0
1
2G
1
0
GMII
1
1
PCS
After reset T_d[15:0] are used by the LED interface
T30
T_d[0]
1
Giga link active status
0 – active low
1 – active high
T29
T_d[1]
1
Power saving
0 – No power saving
1 – Power saving
Stop MAC clock if no MAC
activity.
T28
T_d[2]
1
- Must be 0 (Use external pull
down)
U27
T_d[3]
1
Hot plug port module detection
enable
0 – module detection enable
1 – module detection disable
T27
T_d[4]
1
– Must be 0 ( Use external pull
down)
R27
T_d[5]
1
SRAM memory size
0 – 512K SRAM
1 – 256K SRAM
T26
T_d[6]
1
CPU Port mode
0 – 8 bit cpu data bus
1 – 16 bit cpu data bus
114
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No(s)
R28
Symbol
I/O
Description
T_d[7]
1
FDB memory depth
1– one memory layer
0 – two memory layers
La_a[20],
Lb_a[20]
11
FDB memory size
11 - 2M per bank = 4M total
10 - 1M per bank = 2M total
0x - 512K per bank = 1M total
R29
T_d[8]
1
EEPROM installed
0 – EEPROM is installed
1 – EEPROM is not installed
R30
T_d[9]
1
MCT Aging enable
0 – MCT aging disable
1 – MCT aging enable
R26
T_d[10]
1
FCB handle aging enable
0 – FCB handle aging disable
1 – FCB handle aging enable
P27
T_d[11]
1
Timeout reset enable
0 – timeout reset disable
1 – timeout reset enable
Issue reset if any state machine
did not go back to idle for 5sec.
P28
T_d[12]
1
Speedup test
0 – enable test speed up. DO
NOT USE.
1 – disable test speed up
P29
T_d[13]
1
Enable debounce for strobe
signal
0 – disable debounce on strobe
signal using 1msec clock – DO
NOT USE.
1 – enable debounce on strobe
signal
P30
T_d[14]
1
CPU installed
0 – CPU installed.
1 – CPU is not installed.
P26
T_d[15]
1
External RAM test
0 – Perform the infinite loop of
ZBT RAM BIST. Debug test only
1 – Regular operation.
SEMICMF.019
115
MVTX2803AG
Ball No(s)
Data Sheet
Symbol
I/O
Description
N30, N29, N28
P_d[2:0]
111
ZBT RAM la_clk turning
3’b000 - control by reg.
LCLKCR[2:0]
3’b001 - delay by method # 0
3’b010 - delay by method # 1
3’b011 - delay by method # 2
3’b100 - delay by method # 3
3’b101 - delay by method # 4
3’b110 - delay by method # 5
3’b111 - delay by method # 6 –
USE THIS METHOD
M30, M29, M28
P_d[5:3]
111
ZBT RAM lb_clk turning
3’b000 - control by reg.
LCLKCR[6:4]
3’b001 - delay by method # 0
3’b010 - delay by method # 1
3’b011 - delay by method # 2
3’b100 - delay by method # 3
3’b101 - delay by method # 4
3’b110 - delay by method # 5
3’b111 - delay by method # 6–
USE THIS METHOD
L29, L28, N26
P_d[8:6]
111
SBRAM b_clk turning
3’b000 - control by
BCLKCR[2:0]
3’b001 - delay by method # 0
3’b010 - delay by method # 1
3’b011 - delay by method # 2
3’b100 - delay by method # 3
3’b101 - delay by method # 4
3’b110 - delay by method # 5
3’b111 - delay by method # 6–
USE THIS METHOD
Notes:
# = Active low signal
Input = Input signal
In-ST = Input signal with Schmitt-Trigger
Output = Output signal (Tri-State driver)
Out-OD= Output signal with Open-Drain driver
I/O-TS = Input & Output signal with Tri-State driver
I/O-OD = Input & Output signal with Open-Drain driver
116
SEMICMF.019
MVTX2803AG
Data Sheet
11.4
Ball Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
A1
AVDD
M1
LA_D[34]
Y2
LA_A[13]
B1
DEV_CFG[0]
M2
LA_D[35]
V4
LA_A[14]
B2
LA_D[0]
M3
LA_D[36]
Y1
LA_A[15]
C2
LA_CLK
K4
LA_D[37]
AA3
LA_A[16]
C1
LA_D[1]
N1
LA_D[38]
AA2
LA_A[17]
D1
LA_D[2]
P5
LA_D[39]
V5
LA_A[18]
C3
LA_D[3]
N2
LA_D[40]
AA1
LA_A[19]
E4
LA_D[4]
L5
LA_D[41]
W4
LA_A[20]
D2
LA_D[5]
N3
LA_D[42]
Y4
G0_CRS/LINK
E3
LA_D[6]
P1
LA_D[43]
AA4
GREF_CLK[0]
E2
LA_D[7]
P2
LA_D[44]
AB4
G0_TXCLK
E1
LA_D[8]
P3
LA_D[45]
AB3
G0_TXD[0]
D3
LA_D[9]
L4
LA_D[46]
W5
G0_TXD[1]
F1
LA_D[10]
R5
LA_D[47]
AB2
G0_TXD[2]
F2
LA_D[11]
M5
LA_D[48]
AB1
MII_TX_CLK[0]
F3
LA_D[12]
R1
LA_D[49]
AC3
G0_TXD[3]
F4
LA_D[13]
R2
LA_D[50]
Y5
G0_TXD[4]
F5
LA_D[14]
R3
LA_D[51]
AC2
G0_TXD[5]
G1
LA_D[15]
R4
LA_D[52]
AC1
G0_RXCLK
G2
LA_D[16]
M4
LA_D[53]
AD3
G0_COL
G5
LA_D[17]
T4
LA_D[54]
AD4
G0_TXD[6]
G4
LA_D[18]
T3
LA_D[55]
AA5
G0_TXD[7]
G3
LA_D[19]
N5
LA_D[56]
AD2
G0_TX_EN
H1
LA_D[20]
T2
LA_D[57]
AB5
G0_TX_ER
H2
LA_D[21]
T1
LA_D[58]
AD1
G0_RXD[0]
H3
LA_D[22]
U4
LA_D[59]
AE4
G0_RXD[1]
J1
LA_D[23]
U3
LA_D[60]
AC4
G0_RXD[2]
H5
LA_D[24]
N4
LA_D[61]
AE3
G0_RXD[3]
J2
LA_D[25]
U2
LA_D[62]
AE2
G0_RXD[4]
J3
LA_D[26]
U1
LA_D[63]
AE1
G0_RXD[5]
SEMICMF.019
117
MVTX2803AG
Data Sheet
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
J4
LA_D[27]
V3
LA_A[3]
AC5
G0_RXD[6]
K1
LA_D[28]
P4
LA_A[4]
AF1
G0_RXD[7]
H4
LA_D[29]
V2
LA_A[5]
AD5
G0_RX_DV
K2
LA_D[30]
V1
LA_A[6]
AF2
G0_RX_ER
J5
LA_D[31]
T5
LA_A[7]
AF3
GREF_CLK[1]
K3
LA_CS0#
W3
LA_A[8]
AG2
G1_TXCLK
L1
LA_CS1#
W2
LA_A[9]
AG3
G1_CRS/LINK
L2
LA_RW#
W1
LA_A[10]
AE5
G1_TXD[0]
L3
LA_D[32]
U5
LA_A[11]
AG1
G1_TXD[1]
K5
LA_D[33]
Y3
LA_A[12]
AH1
G1_TXD[2]
AH2
G1_TXD[3]
AG10
G2_RXCLK
AG19
G4_TXD[1]
AJ2
G1_TXD[4]
AK10
G2_COL
AK17
G4_TXD[2]
AJ1
G1_TXD[5]
AJ10
G2_RXD[6]
AF20
G4_TXD[3]
AK1
G1_TXD[6]
AG11
G2_RXD[7]
AH18
G4_TXD[4]
AG4
G1_TXD[7]
AH10
G2_RX_DV
AJ18
G4_TXD[5]
AK2
G1_TX_EN
AG12
G2_RX_ER
AK18
MII_TX_CLK[4]
AH3
MII_TX_CLK[1]
AK11
G3_CRS/LINK
AH19
G4_TXD[6]
AJ3
G1_TX_ER
AJ11
GREF_CLK[3]
AJ19
G4_TXD[7]
AH4
G1_RXD[0]
AH11
G3_TXCLK
AK19
G4_TX_EN
AK3
G1_RXD[1]
AK12
G3_TXD[0]
AH20
G4_TX_ER
AF4
G1_RXD[2]
AF12
G3_TXD[1]
AJ20
G4_RXD[0]
AK4
G1_RXD[3]
AJ12
G3_TXD[2]
AF21
G4_RXD[1]
AH5
G1_RXCLK
AH12
G3_TXD[3]
AK20
G4_RXD[2]
AJ4
G1_COL
AK13
G3_TXD[4]
AH21
G4_RXCLK
AG6
G1_RXD[4]
AJ13
MII_TX_CLK[3]
AJ21
G4_COL
AF5
G1_RXD[5]
AH13
G3_TXD[5]
AK21
G4_RXD[3]
AJ5
G1_RXD[6]
AF13
G3_TXD[6]
AF22
G4_RXD[4]
AF6
G1_RXD[7]
AK14
G3_TXD[7]
AG20
G4_RXD[5]
AK5
G1_RX_DV
AG13
G3_TX_EN
AG21
G4_RXD[6]
AK6
G1_RX_ER
AJ14
G3_TX_ER
AG22
G4_RXD[7]
AJ6
GREF_CLK[2]
AH14
G3_RXCLK
AH22
G4_RX_DV
AG5
G2_TXCLK
AF14
G3_COL
AJ22
GREF_CLK[5]
AH6
G2_CRS/LINK
AG14
G3_RXD[0]
AK22
G5_TXCLK
118
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
AF7
G2_TXD[0]
AK15
CM_CLK
AH23
G4_RX_ER
AK7
G2_TXD[1]
AF17
IND_CM
AG23
G5_CRS/LINK
AJ7
G2_TXD[2]
AJ15
G3_RXD[1]
AJ23
G5_TXD[0]
AG8
G2_TXD[3]
AH15
G3_RXD[2]
AK23
G5_TXD[1]
AG7
G2_TXD[4]
AF15
G3_RXD[3]
AF23
G5_TXD[2]
AH7
MII_TX_CLK[2]
AF18
G3_RXD[4]
AH24
G5_TXD[3]
AK8
G2_TXD[5]
AG15
G3_RXD[5]
AF24
G5_TXD[4]
AJ8
G2_TXD[6]
AF16
G3_RXD[6]
AG24
G5_TXD[5]
AF8
G2_TXD[7]
AG16
G3_RXD[7]
AJ24
G5_TXD[6]
AH8
G2_TX_EN
AH16
G3_RX_DV
AK24
G5_TXD[7]
AK9
G2_TX_ER
AF19
G3_RX_ER
AG25
MII_TX_CLK[5]
AJ9
G2_RXD[0]
AJ16
M_MDC
AH25
G5_TX_EN
AH9
G2_RXD[1]
AG18
M_MDIO
AF25
G5_TX_ER
AF9
G2_RXD[2]
AK16
G4_CRS/LINK
AJ25
G5_RXD[0]
AG9
G2_RXD[3]
AG17
GREF_CLK[4]
AG26
G5_RXD[1]
AF10
G2_RXD[4]
AH17
G4_TXCLK
AK25
G5_RXD[2]
AF11
G2_RXD[5]
AJ17
G4_TXD[0]
AK26
G5_RXCLK
AJ26
G5_COL
AA27
G7_TXD[3]
P29
T_D[13]
AH26
G5_RXD[3]
AB30
G7_TXD[4]
P30
T_D[14]
AJ27
G5_RXD[4]
AB29
G7_TXD[5]
P26
T_D[15]
AF26
G5_RXD[5]
Y26
G7_TXD[6]
N28
P_D[0]
AH27
G5_RXD[6]
AB28
G7_TXD[7]
N29
P_D[1]
AK27
G5_RXD[7]
Y27
G7_TX_EN
N30
P_D[2]
AK28
G5_RX_DV
AB27
G7_TX_ER
M28
P_D[3]
AJ28
G5_RX_ER
AA30
MII_TX_CLK[7]
M29
P_D[4]
AJ29
G6_CRS/LINK
AA29
G7_RXCLK
M30
P_D[5]
AK29
MII_TX_CLK[6]
AA28
G7_COL
N26
P_D[6]
AK30
GREF_CLK[6]
Y30
G7_RXD[0]
L28
P_D[7]
AJ30
G6_TXD[0]
W27
G7_RXD[1]
L29
P_D[8]
AH28
G6_TXD[1]
Y29
G7_RXD[2]
N27
P_D[9]
AH29
G6_TXD[2]
W26
G7_RXD[3]
L30
P_D[10]
AG27
G6_TXD[3]
Y28
G7_RXD[4]
K28
P_D[11]
AG28
G6_TXD[4]
W30
G7_RXD[5]
K29
P_D[12]
SEMICMF.019
119
MVTX2803AG
Data Sheet
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
AH30
G6_TXCLK
W29
G7_RXD[6]
K30
P_D[13]
AG30
G6_TXD[5]
V26
G7_RXD[7]
L27
P_D[14]
AF28
G6_TXD[6]
W28
G7_RX_DV
K27
P_D[15]
AE26
G6_TXD[7]
V27
G7_RX_ER
M26
P_A[0]
AG29
G6_TX_EN
V30
LE_DO
J27
P_A[1]
AF27
G6_RXCLK
V29
LE_CLK0
J28
P_A[2]
AF29
G6_COL
V28
LE_SYNCO#
J29
P_WE#
AF30
G6_TX_ER
U26
S_RST#
J30
P_RD#
AD26
G6_RXD[0]
U30
RESOUT#
L26
P_CS#
AE30
G6_RXD[1]
U29
T_MODE[0]
H28
P_INT#
AC26
G6_RXD[2]
U28
T_MODE[1]
M27
B_D[0]
AE29
G6_RXD[3]
T30
T_D[0]
H29
B_D[1]
AC27
G6_RXD[4]
T29
T_D[1]
H30
B_D[2]
AE28
G6_RXD[5]
T28
T_D[2]
G28
B_D[3]
AE27
G6_RXD[6]
U27
T_D[3]
G27
B_D[4]
AB26
G6_RXD[7]
T27
T_D[4]
K26
B_D[5]
AD30
G6_RX_DV
R27
T_D[5]
G29
B_D[6]
AD29
GREF_CLK[7]
T26
T_D[6]
G30
B_D[7]
AD27
G6_RX_ER
R28
T_D[7]
H27
B_D[8]
AD28
G7_TXCLK
R29
T_D[8]
F27
B_D[9]
AC30
G7_CRS/LINK
R30
T_D[9]
F28
B_D[10]
AA26
G7_TXD[0]
R26
T_D[10]
F29
B_D[11]
AC29
G7_TXD[1]
P27
T_D[11]
F30
B_D[12]
AC28
G7_TXD[2]
P28
T_D[12]
J26
B_D[13]
E30
B_D[14]
A23
B_A[12]
E14
LB_D[49]
H26
B_D[15]
B23
B_A[13]
C15
LB_D[48]
E29
B_D[16]
C23
B_A[14]
B15
LB_D[47]
E26
B_D[17]
E22
B_A[15]
E13
LB_D[46]
D29
B_D[18]
A22
B_A[16]
A15
LB_D[45]
E28
B_D[19]
B22
B_A[17]
D14
LB_D[44]
G26
B_D[20]
C22
B_A[18]
C14
LB_D[43]
D30
B_D[21]
E21
LB_A[20]
D13
LB_D[42]
C30
B_D[22]
D22
LB_A[19]
B14
LB_D[41]
120
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
E27
B_D[23]
D20
LB_A[18]
A14
LB_D[40]
C29
B_CLK
E20
LB_A[17]
C13
LB_D[39]
D28
B_D[24]
D21
LB_A[16]
E12
LB_D[38]
B30
B_D[25]
A21
LB_A[15]
B13
LB_D[37]
F26
NC1
D19
LB_A[14]
A13
LB_D[36]
D26
NC2
B21
LB_A[13]
D12
LB_D[35]
A30
NC3
C21
LB_A[12]
C12
LB_D[34]
A29
NC4
A20
LB_A[11]
B12
LB_D[33]
B29
NC5
B20
LB_A[10]
A12
LB_D[32]
E25
AGND
E19
LB_A[9]
C11
LB_RW#
B28
DEV_CFG[1]
C20
LB_A[8]
E11
LB_CS1#
C28
AVDD
A19
LB_A[7]
B11
LB_CS0#
A28
B_D[26]
B19
LB_A[6]
A11
LB_D[31]
A27
B_D[27]
E18
LB_A[5]
E10
LB_D[30]
C27
B_D[28]
C19
LB_A[4]
C10
LB_D[29]
D27
B_D[29]
A18
LB_A[3]
B10
LB_D[28]
B27
B_D[30]
D18
LB_D[63]
E9
LB_D[27]
E24
B_D[31]
B18
LB_D[62]
A10
LB_D[26]
D25
B_ADSC#
C18
LB_D[61]
D11
LB_D[25]
B26
B_WE#
A17
LB_D[60]
D10
LB_D[24]
A26
B_OE#
E17
LB_D[59]
D8
LB_D[23]
A25
B_A[2]
B17
LB_D[58]
D9
LB_D[22]
B25
B_A[3]
C17
LB_D[57]
C9
LB_D[21]
C26
B_A[4]
E16
LB_D[56]
B9
LB_D[20]
C25
B_A[5]
D17
LB_D[55]
A9
LB_D[19]
E23
B_A[6]
A16
S_CLK
C8
LB_D[18]
A24
B_A[7]
B16
LB_D[54]
B8
LB_D[17]
B24
B_A[8]
E15
LB_D[53]
A8
LB_D[16]
D23
B_A[9]
C16
LB_D[52]
C7
LB_D[15]
D24
B_A[10]
D16
LB_D[51]
E7
LB_D[14]
C24
B_A[11]
D15
LB_D[50]
D7
LB_D[13]
B7
LB_D[12]
P15
VSS
AE7
VDD
E8
LB_D[11]
P16
VSS
AE9
VDD
SEMICMF.019
121
MVTX2803AG
Data Sheet
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
A7
LB_D[10]
P17
VSS
F10
VDD
D6
LB_D[9]
P18
VSS
F21
VDD
C6
LB_D[8]
R13
VSS
F22
VDD
E6
LB_D[7]
R14
VSS
F9
VDD
B6
LB_D[6]
R15
VSS
G25
VDD
A6
LB_D[5]
R16
VSS
G6
VDD
A5
LB_D[4]
R17
VSS
J25
VDD
B5
LB_D[3]
R18
VSS
J6
VDD
C5
LB_D[2]
R25
VSS
K25
VDD
B4
LB_D[1]
R6
VSS
K6
VDD
D5
LB_CLK
T13
VSS
AE12
VD33
A4
LB_D[0]
T14
VSS
AE13
VD33
A3
SCAN_EN
T15
VSS
AE14
VD33
E5
AGND
T16
VSS
AE17
VD33
C4
NC6
T17
VSS
AE18
VD33
B3
NC7
T18
VSS
AE19
VD33
D4
NC8
T25
VSS
F12
VD33
A2
NC9
T6
VSS
F13
VD33
AD6
VSS
U13
VSS
F14
VD33
AE15
VSS
U14
VSS
F17
VD33
AE16
VSS
U15
VSS
F18
VD33
AE24
VSS
U16
VSS
F19
VD33
AE25
VSS
U17
VSS
M25
VD33
AE6
VSS
U18
VSS
M6
VD33
F15
VSS
V13
VSS
N25
VD33
F16
VSS
V14
VSS
N6
VD33
F24
VSS
V15
VSS
P25
VD33
F25
VSS
V16
VSS
P6
VD33
F6
VSS
V17
VSS
U25
VD33
F7
VSS
V18
VSS
U6
VD33
N13
VSS
AA25
VDD
V25
VD33
N14
VSS
AA6
VDD
V6
VD33
N15
VSS
AB25
VDD
W25
VD33
122
SEMICMF.019
MVTX2803AG
Data Sheet
Ball No.
Signal Name
Ball No.
Signal Name
Ball No.
Signal Name
N16
VSS
AB6
VDD
W6
VD33
N17
VSS
AD25
VDD
N18
VSS
AE10
VDD
P13
VSS
AE21
VDD
P14
VSS
AE22
VDD
11.5
AC/DC Timing
11.5.1
Absolute Maximum Ratings
Storage Temperature
-65C to +150C
Operating Temperature
-40°C to +85C
Supply Voltage VDD33 with Respect to VSS
+3.0 V to +3.6 V
Supply Voltage VDD with Respect to VSS
+2.38 V to +2.75 V
Voltage on Input Pins
-0.5 V to (VDD33 + 3.3 V)
Caution: Stress above those listed may damage the device. Exposure to the Absolute Maximum Ratings
for extended periods may affect device reliability. Functionality at or above these limits is not implied.
11.5.2
DC Electrical Characteristics
VDD33 = 3.0 V to 3.6 V (3.3v +/- 10%)TAMBIENT = -40°C to +85°C
VDD = 2.5V +10% - 5%
11.5.3
Recommended Operation Conditions
Preliminary
Symbol
Parameter Description
Unit
Min
Type
Max
fosc
Frequency of Operation
IDD1
Supply Current – @ 133 MHz (3.3V Supply)
720
930
mA
IDD2
Supply Current – @ 133 MHz (2.5V Supply))
1400
1700
mA
VOH
Output High Voltage (CMOS)
VOL
Output Low Voltage (CMOS)
VIH-TTL
Input High Voltage (TTL 5V tolerant)
VIL-TTL
Input Low Voltage (TTL 5V tolerant)
IIH-5VT
Input Leakage Current (0.1 V < VIN < VDD33)
IIL-5VT
Output Leakage Current (0.1 V < VOUT <
VDD33)
CIN
SEMICMF.019
Input Capacitance
133
MHz
VDD33 - 0.5
VDD33 x 70%
V
0.5
V
VDD33 +
2.0
V
VCC x 30%
V
10
µA
µA
5
pF
123
MVTX2803AG
Data Sheet
Preliminary
Symbol
COUT
CI/O
Unit
Parameter Description
Min
Type
Max
Output Capacitance
5
pF
I/O Capacitance
7
pF
11.6
Local Frame Buffer ZBT SRAM Memory Interface
11.6.1
Local ZBT SRAM Memory Interface A:
LA_CLK
L1
L2
LA_D[63:0]
Figure 6 - Local Memory Interface – Input setup and hold timing
LB_CLK
L3-max
L3-min
LB_D[63:0]
L4-max
L4-min
LB_A[20:3]
L6-max
L6-min
LB_CS[1,0]#]
L3-max
L3-min
LB_RW#
Figure 7 - Local Memory Interface - Output valid delay timing
124
SEMICMF.019
MVTX2803AG
Data Sheet
AC Characteristics – Local frame buffer ZBT-SRAM Memory Interface A
(SCLK= 133MHz)
Symbol
Parameter
Min (ns)
Max (ns)
Note:
L1
LA_D[63:0] input set-up time
2.5
L2
LA_D[63:0] input hold time
1
L3
LA_D[63:0] output valid delay
3
5
CL = 25pf
L4
LA_A[20:3] output valid delay
3
5
CL = 30pf
L6
LA_CS[1:0]# output valid delay
3
5
CL = 30pf
L9
LA_WE# output valid delay
3
5
CL = 25pf
Table 6- AC Characteristics – Local frame buffer ZBT-SRAM Memory Interface A
11.6.2
Local ZBT SRAM Memory Interface B:
LB_CLK
L1
L2
LB_D[63:0]
Figure 8 - Local Memory Interface – Input setup and hold timing
LB_CLK
L3-max
L3-min
LB_D[63:0]
L4-max
L4-min
LB_A[20:3]
L6-max
L6-min
LB_CS[1,0]#]
L9-max
L9-min
LB_RW#
Figure 9 - Local Memory Interface - Output valid delay timing
SEMICMF.019
125
MVTX2803AG
Data Sheet
Local frame buffer ZBT-SRAM Memory Interface B
(SCLK= 133MHz)
Symbol
Parameter
Min (ns)
Max (ns)
Note:
L1
LB_D[63:0] input set-up time
2.5
L2
LB_D[63:0] input hold time
1
L3
LB_D[63:0] output valid delay
3
5
CL = 25pf
L4
LB_A[20:3] output valid delay
3
5
CL = 30pf
L6
LB_CS[1:0]# output valid delay
3
5
CL = 30pf
L9
LB_WE# output valid delay
3
5
CL = 25pf
Table 7- Local frame buffer ZBT-SRAM Memory Interface B
11.7
Local Switch Database SBRAM Memory Interface
11.7.1
Local SBRAM Memory Interface:
B_CLK
L1
L2
B_D[31:0]
Figure 10 - Local Memory Interface – Input setup and hold timing
B_CLK
L3-max
L3-min
B_D[31:0]
L4-max
L4-min
B_A[18:2]
L6-max
L6-min
B_ADSC#
L10-max
L10-min
B_WE#
L11-max
L11-min
B_OE#
Figure 11 - Local Memory Interface - Output valid delay timing
126
SEMICMF.019
MVTX2803AG
Data Sheet
AC Characteristics – Local Switch Database SBRAM Memory Interface
(SCLK= 133MHz)
Symbol
Parameter
Min (ns)
Max (ns)
Note:
L1
B_D[63:0] input set-up time
2.5
L2
B_D[63:0] input hold time
1
L3
B_D[63:0] output valid delay
3
5
CL = 25pf
L4
B_A[20:3] output valid delay
3
5
CL = 30pf
L6
B_ADSC# output valid delay
3
5
CL = 30pf
L10
B_WE# output valid delay
3
5
CL = 25pf
L11
B_OE# output valid delay
3
4
CL = 25pf
Table 8- AC Characteristics – Local Switch Database SBRAM Memory Interface
11.8
AC Characteristics
11.8.1
Media Independent Interface
MII_TXCLK[7:0]
M6-max
M6-min
G[7:0]_TXEN
M7-max
M7-min
G[7:0]_TXD[3:0]
Figure 12 - AC Characteristics – Media Independent Interface
G[7:0]_RXCLK
M2
G[7:0]_RXD[3:0]
M4
M3
G[7:0]_CRS_DV
M5
Figure 13 - AC Characteristics – Media Independent Interface
SEMICMF.019
127
MVTX2803AG
Data Sheet
AC Characteristics – Media Independent Interface
(MII_TXCLK &
G_RXCLK = 25MHz)
Symbol
Parameter
Min (ns)
Max (ns)
Note:
M2
G[7:0]_RXD[3:0] Input Setup Time
4
M3
G[7:0]_RXD[3:0] Input Hold Time
1
M4
G[7:0]_CRS_DV Input Setup Time
4
M5
G[7:0]_CRS_DV Input Hold Time
1
M6
G[7:0]_TXEN Output Delay Time
3
11
CL = 20 pF
M7
G[7:0]_TXD[3:0] Output Delay Time
3
11
CL = 20 pF
Table 9- AC Characteristics – Media Independent Interface
11.8.2
Gigabit Media Independent Interface
G[7:0]_TXCLK
G12-max
G12-min
G[7:0]_TXD[7:0]
G13 max
G13-min
G[7:0]_TX_EN
G14-max
G14-min
G[7:0]_TX_ER
Figure 14 - AC Characteristics- GMII
G[7:0]_RXCLK
G1
G2
G[7:0]_RXD[7:0]
G3
G4
G5
G6
G7
G8
G[7:0]_RX_DV
G[7:0]_RX_ER
G[7:0]_RX_CRS
Figure 15 - AC Characteristics – Gigabit Media Independent Interface
128
SEMICMF.019
MVTX2803AG
Data Sheet
AC Characteristics – Gigabit Media Independent Interface
(G_RCLK &
G_REFCLK = 125MHz)
Symbol
Parameter
Min (ns)
Max (ns)
Note:
G1
G[7:0]_RXD[7:0] Input Setup Times
2
G2
G[7:0]_RXD[7:0] Input Hold Times
1
G3
G[7:0]_RX_DV Input Setup Times
2
G4
G[7:0]_RX_DV Input Hold Times
1
G5
G[7:0]_RX_ER Input Setup Times
2
G6
G[7:0]_RX_ER Input Hold Times
1
G7
G[7:0]_CRS Input Setup Times
2
G8
G[7:0]_CRS Input Hold Times
1
G12
G[7:0]_TXD[7:0] Output Delay Times
1
5
CL = 20pf
G13
G[7:0]_TX_EN Output Delay Times
1
5
CL = 20pf
G14
G[7:0]_TX_ER Output Delay Times
1
5
CL = 20pf
Table 10- AC Characteristics – Gigabit Media Independent Interface
11.8.3
PCS Interface
G[7:0]_TXCLK
G30-max
G30-min
G[7:0]_TXD[9:0]
Figure 16 - AC Characteristics – PCS Interface
G[7:0]_RXCLK1
G[7:0]_RXCLK
G21
G22
G23 G24
G[7:0]_RXD[9:0]
G25 G26
G[7:0]_RX+CRS
Figure 17 - AC Characteristics – PCS Interface
SEMICMF.019
129
MVTX2803AG
Data Sheet
AC Characteristics – PCS Interface
(G_RCLK &
G_REFCLK = 125MHz)
Symbol
Parameter
G21
Min (ns)
G[7:0]_RXD[9:0] Input Setup Times ref to
Max (ns)
Note:
5
CL = 20pf
2
G_RXCLK
G22
G[7:0]_RXD[9:0] Input Hold Times ref to
G_RXCLK
1
G23
G[7:0]_RXD[9:0] Input Setup Times ref to
2
G_RXCLK1
G24
G[7:0]_RXD[9:0] Input Hold Times ref to
G_RXCLK1
1
G25
G[7:0]_CRS Input Setup Times
2
G26
G[7:0]_CRS Input Hold Times
1
G30
G[7:0]_TXD[9:0] Output Delay Times
1
Table 11- AC Characteristics – PCS Interface
11.8.4
LED Interface
LED_CLK]
LE5-max
LE5-min
LED_SYN
LE6-max
LE6-min
LED_BIT
Figure 18 - AC Characteristics – LED Interface
AC Characteristics – LED Interface
Variable FREQ.
Symbol
Parameter
Min(ns)
Max (ns)
Note:
LE5
LED_SYN Output Valid Delay
1
7
CL = 30pf
LE6
LED_BIT Output Valid Delay
1
7
CL = 30pf
Table 12- AC Characteristics – LED Interface
130
SEMICMF.019
MVTX2803AG
Data Sheet
11.8.5
MDIO Input Setup and Hold Timing
MDC
D1
D2
MDIO
Figure 19 - MDIO Input Setup and Hold Timing
MDC
D3-max
D3-min
MDIO
Figure 20 - MDIO Output Delay Timing
MDIO Timing
1MHz
Symbol
Parameter
Min (ns)
D1
MDIO input setup time
10
D2
MDIO input hold time
2
D3
MDIO output delay time
1
Max (ns)
Note:
20
CL = 50pf
Table 13- MDIO Timing
11.8.6
I2C Input Setup Timing
SDL
S1
S2
SDA
Figure 21 - I 2 C Input Setup Timing
SCL
S3-max
S3-min
SDA
Figure 22 - I 2 C Output Delay Timing
SEMICMF.019
131
MVTX2803AG
Data Sheet
I2C Timing
500KHz
Symbol
Parameter
Min (ns)
S1
SDA input setup time
20
S2
SDA input hold time
1
S3*
SDA output delay time
1
Max (ns)
Note:
20
CL = 30pf
* Open Drain Output. Low to High transistor is controlled by external pullup resistor.
Table 14- I2C Timing
11.8.7
Serial Interface Setup Timing
D4
STROBE
D1
D5
D2
D1
D2
PS_DI
Figure 23 - Serial Interface Setup Timing
STROBE
D3-max
D3-min
PS_D0
Figure 24 - Serial Interface Output Delay Timing
Serial Interface Timing
(SCLK =133 MHz)
Symbol
Parameter
Min (ns)
D1
PS_DI setup time
20
D2
PS_DI hold time
10
D3
PS_DO output delay time
1
D4
Strobe low time
5µs
D5
Strobe high time
5µs
Max (ns)
Note:
50
CL = 100pf
Table 15- Serial Interface Timing
132
SEMICMF.019
For more information about all Zarlink products
visit our Web Site at
www.zarlink.com
Information relating to products and services furnished herein by Zarlink Semiconductor Inc. trading as Zarlink Semiconductor or its subsidiaries (collectively
“Zarlink”) is believed to be reliable. However, Zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from the
application or use of any such information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may
result from such application or use. Neither the supply of such information or purchase of product or service conveys any license, either express or implied, under
patents or other intellectual property rights owned by Zarlink or licensed from third parties by Zarlink, whatsoever. Purchasers of products are also hereby notified
that the use of product in certain ways or in combination with Zarlink, or non-Zarlink furnished goods or services may infringe patents or other intellectual property
rights owned by Zarlink.
This publication is issued to provide information only and (unless agreed by Zarlink in writing) may not be used, applied or reproduced for any purpose nor form part
of any order or contract nor to be regarded as a representation relating to the products or services concerned. The products, their specifications, services and other
information appearing in this publication are subject to change by Zarlink without notice. No warranty or guarantee express or implied is made regarding the
capability, performance or suitability of any product or service. Information concerning possible methods of use is provided as a guide only and does not constitute
any guarantee that such methods of use will be satisfactory in a specific piece of equipment. It is the user’s responsibility to fully determine the performance and
suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not been superseded. Manufacturing does
not necessarily include testing of all functions or parameters. These products are not suitable for use in any medical products whose failure to perform may result in
significant injury or death to the user. All products and materials are sold and services provided subject to Zarlink’s conditions of sale which are available on request.
Purchase of Zarlink’s I2C components conveys a licence under the Philips I2C Patent rights to use these components in an I2C System, provided that the system
conforms to the I2C Standard Specification as defined by Philips.
Zarlink and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc.
Copyright 2002, Zarlink Semiconductor Inc. All Rights Reserved.
TECHNICAL DOCUMENTATION - NOT FOR RESALE