5-3
Preliminary
GigabitCAM KE5BGCA256
5.3 Cascade Connection
5.3.1 Device ID Registration
The device can be cascaded to use a maximum of 32 devices.
A cascaded system can be treated as one device which has
a larger table size. It is necessary to define the Device ID in
the DEVID register in order to identify each device in the
operation of a cascaded system. The procedure for registra-
tion of the Device ID is shown in Fig. 5.3.1.2.
In order to set the Device ID, the devices in a cascaded
system must be moved into the DEVID mode by the
STR_DEVID command as shown in Fig. 5.3.1.1. The
STR_DEVID command enables the user to apply read/write
operations to the DEVID register of the highest (top) device
in the cascaded system. The Device ID is set in the DI<4:0>
of the register. After that, the Device ID of the next device
can be set by the NXT_PR command. The registration
should be repeated down the chain until each device is
given a unique Device ID by repeating these operations. If
the STR_DEVID command is executed among these opera-
tions, it returns to the status where the DEVID register of the
highest (top) device can be read/written.
The Device ID must be a continuous number starting from
the top device. The LD in the Last Device DEVID register
must be set to 1. This bit indicates that the device has the
lowest priority, and it is used to control the data outputs.
The LD bits of all devices except the Last Device must be set
to 0.
After the DEVID registers of all devices are set, the devices
should be moved out of the DEVID mode and into the nor-
mal operation mode by executing the END_DEVID com-
mand. The devices must leave the DEVID mode after all De-
vice IDs are set, because operations like Table Configura-
tion or search cannot be executed correctly in the DEVID
mode. Waiting time is recommended to ensure that the
PMIN and PMON pins become stable.
The Device IDs of all devices are initialized to the same
value of 00000 after device reset. The operations de-
scribed above, from the STR_DEVID command, must be ex-
ecuted after device reset. If only one device is used, the
Device ID registration is not necessary.
Do not register the Device ID in normal operation mode
once the Device ID is set after device reset.
5.3.2 Priority
In a cascaded system, the data buses of the CPU Port and
the Output Port must be connected to all devices. As for the
CPU Port, the same data is written to all devices through
DAT<31:0> and the same Pipeline is executed in all devices.
The output device is automatically determined in the broad-
cast method and the device in which the MEMHHA or the
MEMHEA register is written, or the device in which the
STR_HHA, the STR_HEA, or the STR_AUT command is
executed, is also determined automatically. As for the Out-
put Port, all devices output the search results respectively.
The Output Port must therefore be controlled by the users
logic using the SHON when there is a multi-hit in the system,
when there are many devices with a single hit, or when HEA
is set to be output in a no hit case.
The empty priority is controlled in this device, but the hit
priority is not controlled in order to realize a higher speed.
The HHA as a result of the multi-hit in the device therefore
becomes invalid, and the write operation to the entry desig-
nated by the HHA is not executed. The above-mentioned
priority control is, however, executed in the cascaded sys-
tem including the device in which the multi-hit occurs. It is
also possible not to write, regarding the multi-hit in the sys-
tem as illegal status by the cascade connection method de-
scribed later.