
CYNCP80192
Document #: 38-02043 Rev. *B
Page 16 of 42
7.2
Table 7-2
shows the organization of the context descriptor. During normal operation, the network processor Writes in the context
descriptor block (addresses 0–9 within the block) with the command and the appropriate data and Reads the results from the
context descriptor block (addresses 12–15 within the block).
Note
. In 64-bit bus mode, the even and the next odd location are
accessed in the same cycle, and ADR[0] is ignored.
Context Descriptor Organization
Depending on the type of command, the network processor may only need to Write to selected locations of Data 0–3, and may
only need to Read from selected locations of Result Register 0 or 1.
Note
. Addresses 0–9 are Read/Write and addresses 12–15
are Read-only locations.
7.3
This 64-bit word (eight bytes) describes the command to the coprocessor. The contents of each of these eight bytes and a
description of each of these fields are described below in
Table 7-3
.
Context Descriptor Commands
Context ID
. This field contains the context ID that a network processor has assigned to this specific context.
Processor ID
. This field contains the ID number of the network processor that wrote the descriptor.
Global Mask Index
. This field is used only for Search, Write, Move, and Swap commands to the NSE(s). This field selects one
of the eight global mask register (GMR) pairs from the NSE bank for Search, Write, Move and Swap commands. In the case of
a 272-bit search, two pairs of GMRs are used. These two pairs include one that is specified in the command and other is
a subsequent pair. For example, if the GMR pair 7 is specified, the GMR pair 0 will be used as the subsequent pair for 272-bit-
wide searches.
Search Successful Register Index
. The search successful register (SSR) index field is used only for Search and Write opera-
tions to the NSEs. Up to eight search successful indexes are stored in each of the NSEs. This field selects one of those eight
registers for the Search and indirect Write operations to the NSEs. (Refer to the data sheet specifications of the CYNSE70XXX
devices for further information.)
Comparand Register Index
. This field is used only for Search and Learn operations. This field specifies the comparand register
in each of the NSEs that will store the comparands (as they are searched). A subsequent Learn instruction can insert the stored
comparands in a table residing in the NSE(s). (Refer to the data sheet specifications of CYNSE70XXX devices for further
information.)
Table 7-2. Context Descriptor Organization
ADR
0–1
2–3
4–5
6–7
8–9
10–11
12–13
14–15
Context Descriptor Organization
Command Descriptor
Data 0
Data 1
Data 2
Data 3
Reserved
Result Register 0
Result Register 1
Access
R/W
R/W
R/W
R/W
R/W
—
R
R
Table 7-3. Descriptor Command
Bit Positions
Field Description
4
7
6
5
3
2
1
0
63–56
55–48
47–40
39–32
31–24
23–16
15–8
7–0
Reserved
Reserved
Search Successful Register Index
SSRAM Address Prefix
Reserved
Direct/Indirect
Layer Attribute/Valid Bit for Data 3
Layer Attribute/Valid Bit for Data 1
Context ID
Processor ID
Reserved
Reserved
Reserved
Global Mask Index
Comparand Register Index
Search Size
Layer Attribute/Valid Bit for Data 2
Layer Attribute/Valid Bit for Data 0
Access Location
Start
Command