No license is granted, implied or otherwise, under any patent or patent rights of VIA
Technologies. VIA Technologies makes no warranties, implied or otherwise, in regard to this
document and to the products described in this document. The information provided by this
document is believed to be accurate and reliable to the publication date of this document.
However, VIA Technologies assumes no responsibility for any errors in this document.
Furthermore, VIA Technologies assumes no responsibility for the use or misuse of the
information in this document and for any patent infringements that may arise from the use of
this document. The information and product specifications within this document are subject to
change at any time, without notice and without obligation to notify any person of such change.
VIA Technologies, Inc.Preliminary VT6508 Datasheet
TABLE OF CONTENTS
TABLE OF CONTENTS................................................................................................................................3
FIGURES AND TABLES ...............................................................................................................................4
REVERSION HISTORY ................................................................................................................................5
FEATURES ................................................................................................................................................6
VIA Technologies, Inc.Preliminary VT6508 Datasheet
REVERSION HISTORY
ReversionDateReason for changeBy
V0.0111/23/1999First release versionMurphy Chen
5
VIA Technologies, Inc.Preliminary VT6508 Datasheet
FEATURES
l Single chip 8 ports 10/100Mbps Ethernet switch controller
- Highly integrated single chip shared memory switch engine
- Supports 8 RMII (Reduced Media Independent Interface) ports
- Non-blocking layer 2 switch, 148,810 packets/sec on each 100Mbps Ethernet port
l Media Access Control (MAC)
- Dual 64-byte FIFO’s per port for receiving and transmitting
l Auto-sensing 10/100Mbps media speed, full/half -duplex mode, and flow-control
capability
l Two switching mechanisms
- Supports ‘store and forward’ switching with filtering CRC-bad packets
- Supports ‘cut through’ switching subject to long packets of length over 64 bytes
l Packet buffering
- Glueless 32-bit interface to SSRAM as a packet buffer pool
- 64 packet buffers for 32Kx32 SSRAM, 149 packet buffers for 64Kx32 SSRAM
- 1536 bytes for each packet buffer
l Storing control data (forwarding table and packet link entries) in external SSRAM
- Buffer status is stored in the internal free-buffer bit map registers
- Shared forwarding table of 2K entries (or 4K slots) to support multiple (up to 4K)
Mac addresses per port
l Efficient address recognition, self learning, and auto-aging mechanism
- Two-slot hashing algorithm to prevent hash collision
- Two optional hashing algorithms, CRC-map and direct-map
l Advanced congestion control mechanism
- IEEE 802.3X compliant flow control for full duplex ports
- Backpressure for half duplex ports
- Drop control for full duplex ports without flow control capability
- Incorporating with the output private buffering scheme to prevent HOL (head of line)
blocking
l Supports port mirroring (Sniffer feature)
l By-pass VLAN packets
l Support port-based trunking
- Support two individual trunk groups, each of 2 member ports
- Load balance according to DMAC address and source port number
l Support chip initialization through EEPROM or by strapping only
- Supports I2C EEPROM interface for customized configuration
- Supports LED serial-out in the strapping-only initialization mode
l 50MHz internal reference clock rate
l 83~100MHz SSRAM clock rate, typically 83MHz
l Single +3.3V supply, 0.3µm TSMC CMOS technology
l 128-pin PQFP package
6
VIA Technologies, Inc.Preliminary VT6508 Datasheet
7
VIA Technologies, Inc.Preliminary VT6508 Datasheet
BLOCK DIAGRAM
VT6508
SRAM
Control
32-bit SRAM bus
8-bit
IDE bus
CPU Interface
Buffer Control
(fully bit-map
management)
Input
Input Control
Control
Ethernet
RMAC
RMAC
(flow control)
Output
Control
Ethernet
TMAC
RMII interface x 8
Queue
Control
CPU IO
Control
EEPROM
Control
(eeprom init)
PHY Control
(auto polling)
Scheduler
MII
interface
Forwarding
Table Control
(drop control)
RMII2MII
Translator
LED
Serial-Out
Control
LED
serial-out
bus
Figure 1: Function Block Diagram of VT6508. (Note that some interface signals are only
available in VT6509 of 208-pin PQFP package.)
Serial
EEPROM
interface
MII
management
interface
99/12/099
VIA Technologies, Inc.Preliminary VT6508 Datasheet
VIA Technologies, Inc.Preliminary VT6508 Datasheet
SOE
SWE
SADS
RESET
PIN DESCRIPTIONS
No.NameTypeDescription
RMII interface
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
CSDV[7:0]ICarries sense and data valid from port 7 to port 0 :
RXD0[7:0]IReceive data zero from port 7 to port 0 :
RXD1[7:0]IReceive data one from port 7 to port 0 :
TXEN[7:0]OTransmit enable from port 7 to port 0 :
TXD0[7:0]OTransmit data zero from port 7 to port 0 :
TXD1[7:0]OTransmit data one from port 7 to port 0 :
SRAM Interface
SA[15:1]O
SRAM Address Bus:
15-bit SDRAM data bus. These signals connect directly to the address
input of the SDRAM devices.
O
Output Enable
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
See Fig. 2
O
O
SD[31:0]I/O
EEC/LEDCO
EEIO/LEDIOI/O
MDCO
MDIOI/O
RCLK50I
SCLKI
I
SRAM Write Enable
Synchronous Processor Address Status
SRAM Data:
32-bit SRAM data bus. These signals connect directly to the data
input/output pins of the SRAM devices.
Miscellaneous Interface
Serial EEPROM Interface Clock (if strapping SD25 is default high)
The on-board EEPROM device address must be 1010 001 XXXXXXXX.
Serial LED Serial-Out Clock (if strapping SD25 is low)
The LEDC is 1MHz and has a burst per 50ms.
Serial EEPROM Interface Data (if strapping SD25 is default high)
Serial LED Serial-Out Data Output (if strapping SD25 is low)
Management Interface (MI) Clock Output
Management Interface (MI) Data I/O
50MHz Main Reference Clock
SRAM Reference Clock
The suggested clock rate is 83MHz or more high for non-blocking
requirement.
SYSTEM RESET
Power Supply & Ground
See Fig. 2
See Fig. 2
VDDPPositive 3.3V supply to the core digital logic.
VCCPPositive 3.3V supply to all I/O pads.
-11-
VIA Technologies, Inc.Preliminary VT6508 Datasheet
See Fig. 2
See Fig. 2
GNDGGround supply to the core digital logic.
VSSGGround supply to all I/O pads.
DEFINITION OF VT6508BSTRAPPING PINS
SD[31:0]:*Note that the default strapping bit value is “1”.
PinDescription
SD[0]
SD[1]
SD[2]
Broadcast or Drop BPDU Packets:
BCAST_BPDU == 1’ b1 => broadcast BPDU packet if CPU_FWD_CFG[1] == 0
(default)
BCAST_BPDU == 1’ b0 => drop BPDU packet if CPU_FWD_CFG[1] == 0
Note that BPDU packets will be forwarded to CPU port if CPU_FWD_CFG[1] == 1
without regard to the value of BCAST_BPDU.
LED Display Combination of Link Activity Status with RX/TX Event:
Note that the LED bit sequence [10:1] is used originally to display link activity status. By
setting combination with RX/TX event, it will indicate both the link activity status and
RX/TX events so that required LED number can be reduced.
Enable Drop Control for Private Buffer Reservation:
Note that drop control has a lower priority than flow control and backpressure.
If it is disabled, all TMACs will not make the drop window signals to Forwarding Control.
If it is enabled and the flow control/backpressure mechanism is not enabled, all TMACs
will make the drop window signals to Forwarding Control.
If it is enabled and the flow control mechanism is also enabled, but the full-duplex party
has no flow control capability, TMAC will make the drop window signal to Forwarding
Control.
CHIP_INIT[1:0] == 2’ b11 => Chip Initialization via strapping only (default)
CHIP_INIT[1:0] == 2’ b10 => Chip Initialization via EEPROM
CHIP_INIT[1:0] == 2’ b01 => Chip Initialization via CPU
CHIP_INIT[1:0] == 2’ b00 => Chip Initialization via EEPROM in speedup mode
In none speedup mode, EEC = 78.125K Hz, LED period = 50ms.
In speedup mode for testing, EEC = 2.778MHz, LED period = 1ms without one-second
flash.
-12-
VIA Technologies, Inc.Preliminary VT6508 Datasheet
SD[7:6]
SD[15:8]
SD[17,16]
SD[18]
SD[20:19]
SD[23:21]
Number of Tries of Excessive Collisions Before Dropping:
Internally, retry_no = RETRY_EXCE_COLL, or infinite if it is zero.
By default, after 3 tries (i.e. 3 turns of (excessive) 16 collisions), the outgoing packet will
be dropped.
(reserved with default value “pull-high”)
Trunking Mode:
SD16 == 1, port (0,1) no trunking (default)
0, port (0,1) in trunking mode,
SD17 == 1, port (6,7) no trunking (default)
0, port (6,7) in trunking mode.
To simplify layout, trunk group (6,7) can connect with neighboring (right-side)
VT6508’ s trunk group (0,1) in on-board manner.
Note that on-board trunk ports do not need auto-polling and they must be full-duplex &
100Mbps ports & forced flow control enable mode.
Note that if it is disabled, all TMAC of half-duplex ports will ignore the flow control
XON/XOFF signals from Queue Control.
Enable RMII Port Flow Control:
RMII_PORT_FC_EN[1:0] == 2’ b11 => for RMII ports, set self flow control ability
register bit and detect party’ s flow control ability (default)
RMII_PORT_FC_EN[1:0] == 2’ b10 => for RMII ports, disable self flow control ability
register bit and assume (ignore auto-polling) party has no flow control capability
RMII_PORT_FC_EN[1:0] == 2’ b01 => for RMII ports, enable self flow control ability
register bit and assume (ignore auto-polling) party has flow control capability
RMII_PORT_FC_EN[1:0] == 2’ b00 => same as 2’ b11.
While enabled (RMII_PORT_FC_EN[1:0] == 2’ b11 or 2’ b00), set self each PHY
device’ s flow control ability register bit PHY_ANAR_4.10 as 1, and auto polling
PHY_ANLPAR_5.10 to check whether the party has the flow control capability.
While forced disabling (RMII_PORT_FC_EN[1:0] == 2’ b10), set self PHY devices’
flow control ability register bit PHY_ANAR_4.10 as 0 (no such capability), and does not
need auto polling PHY_ANLPAR_5.10.
While forced disabling (RMII_PORT_FC_EN[1:0] == 2’ b01), set self PHY devices’
flow control ability register bit PHY_ANAR_4.10 as 1 (with flow control capability), and
does not need auto polling PHY_ANLPAR_5.10.
For forced disabling, turn off flow control enable bits of all RMII ports.
For (forced) enabling, turn on flow control enable bits of all RMII ports.
LED Serial-Out Mask for Groups 0,1,2,3 [3:0]:
LED_MASK[0] == 1’ b1 => enable group 0 data out (default)
LED_MASK[1] == 1’ b1 => enable group 1 data out (default)
LED_MASK[2] == 1’ b1 => enable group 2 data out (default)
LED Groups 3,4,5 serial out is always enabled. The time period of LED sequence is
50ms.
-13-
VIA Technologies, Inc.Preliminary VT6508 Datasheet
SD[24]
SD[25]
SD[26]
SD[27]
SD[28]
Hash Algorithm Selection:
HASH_ALG_SEL == 1 => CRC-map with scramble (default)
HASH_ALG_SEL == 0 => Direct-map without scramble
HASH_ALG_SEL == 1 will make the register HASH_ALG[1:0]=0 that is helpful to the
X-Stream test.
HASH_ALG_SEL == 0 will make the register HASH_ALG[1:0]=3 that can get a good
result of 4094 MAC addresses in Address Handling test.
No Swap EEPROM and LED output pins:
NO_SWAP_EEPROM_LED == 1 => The pins 192/193 are used as
EEIO/EEC. (default)
NO_SWAP_EEPROM_LED == 0 => The pins 192/193 are used as
LEDIO/LEDC.
In 128-pin package, we can bond this pin to VSS to select LED output from the original
EEPROM output pins.
Enable Aging:
EN_AGING == 1 => enable aging function (default)
EN_AGING == 0 => disable aging function
Disable Cut Through Enable:
DIS_CUT_THRU == 1 => disable cut-through feature
(default, i.e. store & forward)
DIS_CUT_THRU == 0 => enable cut-through feature
Note that if this feature is enabled, the backoff algorithm for all Ethernet ports is in MBA
mode. By default, the backoff algorithm bits MBA=0 and OFSET=1.
DIS_LATCH_UP_MODE == 1’ b1 => disable Latchup mode (default)
DIS_LATCH_UP_MODE == 1’ b0 => enable Latchup mode, all output only IO PADs
are in tri-state after reset.
-14-
VIA Technologies, Inc.Preliminary VT6508 Datasheet
SECTION I FUNCTIONAL DESCRIPTIONS
1 GENERAL DESCRIPTION
The VT6508 is a low-cost switch engine chip implementation of an 8 ports 10/100Mbps
Ethernet switch system for IEEE 802.3 and IEEE 802.3u networks. Each port can be either
auto-sensing or manually selected via EEPROM configuration to run at 10Mbps or 100Mbps
speed rate, full or half duplex mode.
The VT6508 supports RMII (reduce MII) port interface. There are eight independent MACs
within the VT6508 chip. The MAC controller controls the receiving, transmitting, and
deferring of each individual port, and the MAC controller also provides framing, FCS
checking, error handling, status indication and flow control function. It has wire-speed
performance with forwarding rate of 148,810 packets/sec on each 100Mbps Ethernet port.
The VT6508 can be configured via EEPROM or strapping only.
2 THE VIA ETHER SWITCH ARCHITECTURE
The VT6508 switch engine uses the shared memory architecture. In order to improve the
packet latency, VT6508 provides two methods for packet switching, cut-through and storeand-forwarding.
2.1 Switch initialization procedures
Step_1. Read strapping signal.
Step_2 Write Reg 0619H with WR_DATA = 8’h01 to trigger SRAM_Ctrl module auto-
test.
Step_3. If initialization by Strapping, then go to Step_4.
If initialization by EEPROM, eeprom_ctrl module will download register data
from EEPROM (by internal register bus IOW, CS_*, IO_ADDR, and
IO_WR_DATA).
If EEPROM data download error, then go to step6.
Step_4 After SRAM auto-test completed, write Reg 0304H with WR_DATA = 8’h01 to
trigger Forward_Ctrl module auto aging.
Step_5 Write Reg 0404H with WR_DATA = 8’h08 to trigger PHY_Ctrl module
phy_auto-polling.
Step_6 Write Reg 000aH with WR_DATA = 8’h01 to trigger LED_Ctrl module to
display LED.
Step_7Chip initialization done.
-15-
Loading...
+ 33 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.