MU9C8338A 10/100Mb Ethernet Filter Interface
Applications
Built-In Routines
The MU9C8338A contains built-in LANCAM routines
that perform all the necessary LANCAM operations. The
DA and SA search routines are performed automatically
by the device in order to provide the search result and
update the address table. The other routines are invoked as
described in Operational Characteristics: Built-in
Routines.
Notes:
aaaaH = CAM Address value (Hexadecimal)
ddddH = Data value (Hexadecimal)
ppppH = CAM Page Address value (Hexadecimal)
xxxxH = "Don’t Care"
Table 26: Destination Address Search Routine
Line
/CM
H
/W
L
/E Cycle
Short
Short
Short
Long
/EC
H
Mnemonic
DQ(15:0)
xxxxH
Description
1
2
3
4
5
Dummy write to Segment 0
H
L
H
ddddH
ddddH
ddddH
ddddH
Write 1st 16 bits to Segment 1
Write 2nd 16 bits to Segment 2
Write 3rd 16 bits to Segment 3 and compare
Read Associated Data, FFFFH is no match
H
L
H
H
L
L
H
H
Long
H
Table 27: Source Address Search Routine
Line
/CM
H
/W
L
/E Cycle
Short
/EC
H
Mnemonic
DQ(15:0)
xxxxH
Description
1
2
3
4
Dummy write to Segment 0
Write 1st 16 bits to Segment 1
Write 2nd 16 bits to Segment 2
Write 3rd 16 bits to Segment 3 and compare
H
L
Short
H
ddddH
ddddH
ddddH
H
L
Short
H
H
L
Short
L
If a match is found and PCFG_EXT bit 3 = 0, update time stamp:
5a
L
L
Long
H
MOV_HM,
CR,MR1
0368H
Move to Highest match through MR1 to update Time
Stamp and Port ID. This command resides in SSAU
(see System Op-Code Registers).
If a match is found and PCFG_EXT bit 3 = 1, read associated data:
5b
H
H
Long
H
ddddH
0368H
Read associated data to check if Permanent bit is set.
If Permanent bit = 0, then 5c is performed. Otherwise,
the routine is complete.
5c
L
L
Long
H
MOV_HM,
CR,MR1
Move to Highest match through MR1 to update Time
Stamp and Port ID. This command resides in SSAU
(see System Op-Code Registers).
If no match is found, learn new address:
5d Long
L
L
H
MOV_NF,CR,V
0334H
Move SA to Next Free with Time Stamp and Port ID.
This command resides in SSAL (see System Op-Code
Registers).
Table 28: Purge Routine
Line
/CM
L
/W
L
/E Cycle
Short
Long
/EC
H
Mnemonic
DQ(15:0)
0619H
ddddH
043DH
0618H
Description
1
2
3
4
SBR
Select Background Register set
Purge time stamp value and compare
Mark all matching entries “Empty”
Select Foreground Register set
H
L
H
L
L
Long
H
VBC_ALM,E
SFR
L
L
Short
H
20
Rev. 0a