Applications
MU9C8338 10/100Mb Ethernet Filter Interface
Built-In Routines
The MU9C8338 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 25: 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 26: 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, update time stamp:
5a Long
L
L
H
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 no match is found, learn new address:
5b Long
L
L
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 27: 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
Rev. 1a
19