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 /W /E Cycle
/EC
Mnemonic
1
H
L
Short
H
2
H
L
Short
H
3
H
L
Short
H
4
H
L
Long
L
5
H
H
Long
H
DQ(15:0)
xxxxH
ddddH
ddddH
ddddH
ddddH
Description
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
Read Associated Data, FFFFH is no match
Table 27: Source Address Search Routine
Line /CM /W /E Cycle
/EC
Mnemonic
1
H
L
Short
H
2
H
L
Short
H
3
H
L
Short
H
4
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
DQ(15:0)
xxxxH
ddddH
ddddH
ddddH
0368H
If a match is found and PCFG_EXT bit 3 = 1, read associated data:
5b
H
H
Long
H
ddddH
5c
L
L
Long
H
If no match is found, learn new address:
5d
L
L
Long
H
MOV_HM,
CR,MR1
MOV_NF,CR,V
0368H
0334H
Description
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
Move to Highest match through MR1 to update Time
Stamp and Port ID. This command resides in SSAU
(see System Op-Code Registers).
Read associated data to check if Permanent bit is set.
If Permanent bit = 0, then 5c is performed. Otherwise,
the routine is complete.
Move to Highest match through MR1 to update Time
Stamp and Port ID. This command resides in SSAU
(see System Op-Code Registers).
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 /W /E Cycle
/EC
Mnemonic
DQ(15:0) Description
1
L
L
Short
H
SBR
0619H Select Background Register set
2
H
L
Long
H
ddddH Purge time stamp value and compare
3
L
L
Long
H
VBC_ALM,E
043DH Mark all matching entries “Empty”
4
L
L
Short
H
SFR
0618H Select Foreground Register set
20
Rev. 0a