62 / 91 page

IP178C
Preliminary Data Sheet
62/91
October 27, 2005
Copyright © 2004, IC Plus Corp.
IP178C-DS-R09
PHY
MII
ROM
R/W
Description
Default
Tag VLAN register 1
30
13[3]
26[3]
TAG_VLAN_EN. Enable tag VLAN function
1: enable tag VLAN function
0: disable tag VLAN function
1’b0
VID_SEL. VID index selection
Select 4 bits out of 12 bits VID as index of tag VLAN groups.
The 12 bits of VID can’t be all zeros; otherwise, it will be
handled as an un-tagged frame.
000: VID[3:0], 001: VID[4:1], 010: VID[5:2], 011: VID[6:3],
100: VID[7:4], 101: VID[8:5], 110: VID[9:6], 111: VID[10:7]
An example of vid_sel = 3’b000,
VLAN_0
VID[3:0] = 4’b0000
VLAN_1
VID[3:0] = 4’b0001
VLAN_2
VID[3:0] = 4’b0010
VLAN_3
VID[3:0] = 4’b0011
….
….
VLAN_e
VID[3:0] = 4’b1110
30
13[2:0]
26[2:0]
VLAN_f
VID[3:0] = 4’b1111
3’b000